Forum

Problems exporting and importing comments to xfdf

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

Moderators: Tracker Support, Lesya - Tracker, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Tracker Supp-Stefan, Ivan - Tracker Software

Problems exporting and importing comments to xfdf

Postby martin2 on Tue Mar 30, 2010 8:30 am

Hi,

we have a problem in exporting and importing XFDFs. Sometimes comments disappear when importing an XFDF that was exported before. I added a sample of a simple pdf (sample.pdf). I added 3 comments (sampleAnnotated.pdf) and exported the comments into sampleAnnotated.xfdf. If you now re-import these annotations into sample.pdf you can see the difference:
- the gesture disappears completely - but you can find it, its size is only a few pixels
- the text boxes have frames again, although they were removed in the original annotation
- I saw another text box in a commented doc that had the same problem as the gesture above. It seemed that its rectangle was to small. If you double klicked the (invisible) comment, then the rectangle was resized by the viewer and then everything worked fine.

In another situation (unfortunately I do no longer have the xfdf), an annotation disappeared and was marked as "hidden" in the xfdf. It is still visible in the comments list but no longer in the document. I did not find a way to reproduce this effect and did not find a way to "un-hide" the comment.

We are using PDF-XChange Viewer Version 2.0 Build 44.0 embedded into our application and import/export comments using the API.

Martin
Attachments
sample.zip
ZIP containing example PDFs / XFDF
(26.24 KiB) Downloaded 184 times
martin2
User
 
Posts: 29
Joined: Thu May 29, 2008 9:06 am

Re: Problems exporting and importing comments to xfdf

Postby Tracker Supp-Stefan on Tue Mar 30, 2010 2:51 pm

Hello Martin,

This problem has been fixed with the latest build 2.0.49.
Please update your Viewer SDK and you will find it corrected.

Kind Regards,
Stefan
Tracker Supp-Stefan
Site Admin
 
Posts: 8381
Joined: Mon Jan 12, 2009 8:07 am
Location: London

Re: Problems exporting and importing comments to xfdf

Postby martin2 on Wed Mar 31, 2010 1:33 pm

Hi Stefan,

I cannot really approve that it is fixed. I just downloaded the 2.049 SDK and standalone viewer and tested with both:

- Took my sample.pdf and commented with gesture and textboxes
- Saved the PDF a sampleAnnotated.pdf
- Exported the comments as FDF and XFDF
- Imported XFDF into sample.pdf again.
-> The gesture is lost again. As before it exists but is no longer visible as its rectangle seems to be to small
-> The textboxes have visible frames again
- Imported FDF into sample.pdf
-> The gesture is there
-> The textboxes have visible frames again

Unfortunately we actually have to store the comments outside the PDF document for business reasons and cannot keep them in the PDF, i.e. import/export are crucial for our system.

Martin

PS: Attached PDF/FDF/XFDF again which I exported with 2.049 using the export dialog of the PDF-XChange Viewer - I did not integrate the new version in our application so far.
Attachments
sample.zip
New testdata
(28.39 KiB) Downloaded 186 times
martin2
User
 
Posts: 29
Joined: Thu May 29, 2008 9:06 am

Re: Problems exporting and importing comments to xfdf

Postby Vasyl-Tracker Dev Team on Thu Apr 01, 2010 8:56 am

Hi, Martin.

We managed to reproduce this issue and will fix in the next build.
Thanks for your sample files.

Best
Regards.
Vasyl Yaremyn
Tracker Software Products
Project Developer

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Vasyl-Tracker Dev Team
Site Admin
 
Posts: 1535
Joined: Thu Jun 30, 2005 4:11 pm
Location: Ukraine

Re: Problems exporting and importing comments to xfdf

Postby RudolfErnst on Wed May 05, 2010 11:30 am

Hello Vasyl,

is the problem with the hidden annotations already fixed? We are using Version 2.0 Build 50.0 and it seems still to be there.

Best regards
Rudi
RudolfErnst
User
 
Posts: 71
Joined: Tue Oct 14, 2008 2:14 pm
Location: Munich, Germany

Re: Problems exporting and importing comments to xfdf

Postby Vasyl-Tracker Dev Team on Wed May 05, 2010 12:18 pm

Hi, Rudi.

This issue will be fixed in the next build (upcoming).

Best
Regards.
Vasyl Yaremyn
Tracker Software Products
Project Developer

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Vasyl-Tracker Dev Team
Site Admin
 
Posts: 1535
Joined: Thu Jun 30, 2005 4:11 pm
Location: Ukraine

Re: Problems exporting and importing comments to xfdf

Postby RudolfErnst on Wed Jun 30, 2010 10:31 am

Hi Vasyl,

I found another problem regarding this topic:

When I make a rectangle annotation with fill color in Blend Mode (Multiply) it works as expected. In my case I see a red rectangle and the underlying pdf is shining through. When I now export this annotation as xfdf and import it again the Blend Mode get lost and the red color is completely hiding the text.

This would be a very useful feature for my clients if it works. They want to mark a bigger area of text with a transparent colorful rectangle. I know there are other ways to do this, but the client ... you know.

Kind regards
Rudi
RudolfErnst
User
 
Posts: 71
Joined: Tue Oct 14, 2008 2:14 pm
Location: Munich, Germany

Re: Problems exporting and importing comments to xfdf

Postby Ivan - Tracker Software on Wed Jun 30, 2010 4:27 pm

Implemented in build 2.0.54.
Tracker Software (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
Ivan - Tracker Software
Site Admin
 
Posts: 3120
Joined: Thu Jul 08, 2004 10:36 pm
Location: Vancouver Island - Canada


Return to PDF-XChange Viewer SDK

Who is online

Users browsing this forum: No registered users and 3 guests