Javascript: this.flattenPages appears to crash viewer cntrl

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

nphaingdy
User
Posts: 25
Joined: Tue Nov 11, 2008 12:04 am

Javascript: this.flattenPages appears to crash viewer cntrl

Post by nphaingdy »

Hi, I notice that when I call the javascript: this.flattenPages, it often times crashes the viewer control. Also, is there another way to flatten PDF without using javascript.Thanks.
nphaingdy
User
Posts: 25
Joined: Tue Nov 11, 2008 12:04 am

Re: Javascript: this.flattenPages appears to crash viewer cntrl

Post by nphaingdy »

It appears to be crashing if the form document has a combo box field.

Environment:

Adobe Pro. 9.0 (to generate form)
Form contains: text fields, combo box [can be empty]

Steps (to replicate without going through javascript):

1. Load form (drag drop file into control/viewer).
2. Click "Flatten Comments" from "Comments" menu.
3. [control crashes here]
User avatar
John - Tracker Supp
Site Admin
Posts: 5223
Joined: Tue Jun 29, 2004 10:34 am

Re: Javascript: this.flattenPages appears to crash viewer cntrl

Post by John - Tracker Supp »

Could you supply a sample document please (if attaching here - please zip) or use the Viewer -

Help -Report a Problem

option - Thanks.
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com
nphaingdy
User
Posts: 25
Joined: Tue Nov 11, 2008 12:04 am

Re: Javascript: this.flattenPages appears to crash viewer cntrl

Post by nphaingdy »

File sent via viewer. Thanks.
nphaingdy
User
Posts: 25
Joined: Tue Nov 11, 2008 12:04 am

Re: Javascript: this.flattenPages appears to crash viewer cntrl

Post by nphaingdy »

Hi, FYI, this issue appears to still be occurring the the March 2009 release of the PDF Viewer SDK which I just downloaded and tested. Will this be fix in the next release? If so, when could we expect the release. Thanks.
nphaingdy
User
Posts: 25
Joined: Tue Nov 11, 2008 12:04 am

Re: Javascript: this.flattenPages appears to crash viewer cntrl

Post by nphaingdy »

Update, I just downloaded the PDF Viewer (not the SDK set) and flattening does not crash now. It appears the Viewer and Viewer SDK binary sets on the website may be out of sync. Thanks.
User avatar
John - Tracker Supp
Site Admin
Posts: 5223
Joined: Tue Jun 29, 2004 10:34 am

Re: Javascript: this.flattenPages appears to crash viewer cntrl

Post by John - Tracker Supp »

Starnge - new builds of all products now available :

https://www.pdf-xchange.com/downloads/dev/
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com
nphaingdy
User
Posts: 25
Joined: Tue Nov 11, 2008 12:04 am

Re: Javascript: this.flattenPages appears to crash viewer cntrl

Post by nphaingdy »

Excellent! Thanks.
User avatar
John - Tracker Supp
Site Admin
Posts: 5223
Joined: Tue Jun 29, 2004 10:34 am

Re: Javascript: this.flattenPages appears to crash viewer cntrl

Post by John - Tracker Supp »

pleasure :)
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com