Skip to main content
March 30, 2016
質問

Digital Stamp with own information?! (Java Code)

  • March 30, 2016
  • 返信数 2.
  • 757 ビュー

Hi,

I saw a lot of tutroials for how to create a custom digital stamp. For me it wouldnt be a problem toi create a transparent stamp with acutal date. My problem is I need a stamp which asks for informations. i will explain.

I need to put a stamp on a document, with the following information:

Date:

Material:

Acc. No.:

The stamp should be like this if I put it on the pdf, the date should appear, the material and acc no also, but the material and account number should be fields dynamic field which I can edit. I dont know if there is a possibility with java to make a code which asks you for the information. or if I can make right click and then adjust the two fields. I hope there is a possibility.

Best Regards

Lukas

このトピックへの返信は締め切られました。

返信数 2

Legend
March 30, 2016

Not Java, please don't call it Java. It is JavaScript (one word). This is important. Java is something else, but looks similar enough to cause confusion. If you have been looking for example or tutorials in using Java you will get a completely different language that won't help you at all.

Inspiring
March 30, 2016

You have to use JavaScript for this. The problem is it takes more than a few lines of code. The script would present the user with a custom dialog like that shown below and then populate the fields of the dynamic stamp. You cannot change the field values after the stamp has been applied. It might be easiest to find someone to program one for you which you can learn from so you can do your own.

Resulting stamp:

April 1, 2016

Hi George

Could you give me your code and I would customize it to my needs?

Best Regards