Welcome Guest Search | Active Topics | Sign In | Register

Avoid save question in Adobe Reader Options
Henning
Posted: Sunday, December 7, 2014 5:36:31 PM
Rank: Member
Groups: Member

Joined: 10/6/2014
Posts: 21
Is it possible to avoid Adobe Reader asking for save after viewing a PDF that is converted from an HTML containing input fields?
eo_support
Posted: Sunday, December 7, 2014 7:36:04 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,196
Hi,

I am not sure if I understand your question correctly. The HTML to PDF converter does not generate input fields. So a PDF file directly converted from HTML will not have any input field.

Also what do you mean by Adobe Reader asking for save? Do you mean when the PDF file is viewed in a browser, then when you close the browser window you will get a message box asking whether you want to save your changes?

Thanks!
Henning
Posted: Monday, December 8, 2014 12:35:21 AM
Rank: Member
Groups: Member

Joined: 10/6/2014
Posts: 21
Yes. There has been no editing/changes, so why does it ask about saving? PDFs genereated by our previous converter product did not get this behaviour.
eo_support
Posted: Monday, December 8, 2014 9:32:06 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,196
Can you send us a test file/project? Also please let us know how you created the input fields since the HTML to PDF converter does not create input fields.

Thanks!
Henning
Posted: Monday, December 8, 2014 2:45:01 PM
Rank: Member
Groups: Member

Joined: 10/6/2014
Posts: 21
Hi. While trying to give you a simple demo I found the bug in our code. We did:

MemoryStream memoryStream = new MemoryStream();
pdfDoc.Save(memoryStream);
return memoryStream.GetBuffer();

But we should have used ToArray() rather than GetBuffer(). Strange that it didn’t make Adobe Reader crash. Sorry about that.
eo_support
Posted: Monday, December 8, 2014 4:18:21 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,196
No problem. Glad that you found out the root of the problem. Please feel free to let us know if there is anything else.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.