Am 08.08.2017 um 21:18 schrieb Gary Grosso:
Hi Tilman.

Interesting. I had this:


Yeah I know this effect when you do that.

but it didn't seem to make any difference in how anything looked, and made me 
get the prompt even when the code opened and closed the file without adding any 
actual widgets, whereas without that statement at least it doesn’t result in 
getting the prompt if no widgets are even added. So I commented it out.

It's true that I don't attempt to add an appearance stream except for the case 
where I really do put an image on a button.

Are you saying there's no recourse to avoiding the save prompt other than 
adding appearance streams for everything?

Yes indeed. For some of the field types where we don't have an appearance stream you may have weird effects.

I fear I am not understanding something about appearance streams in general. 
(Reread Rosenthal?)

Like I said... it's tricky. If you know the sizes of your fields, i.e. that these stay the same, you can open the file with Adobe Reader, save, open with PDFDebugger and then copy the structure / contents.



-----Original Message-----
From: Tilman Hausherr []
Sent: Tuesday, August 8, 2017 3:10 PM
Subject: Re: making my PDF not say it's changed when just viewed

Am 08.08.2017 um 21:03 schrieb Gary Grosso:
When I open this PDF file in Acrobat XI or Reader DC (or my colleague opens in 
Acrobat DC) and do nothing, when I try to quit it prompts us to save changes. 
We would like for this prompt not to happen.
You didn't share the relevant code (just "do stuff"), but I suspect you added 
acroform stuff without  appearance streams / set that appearance streams are to be set.

Adding the correct appearance streams is quite tricky... we do it for some 
field types, but not all.


To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to