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
Problems exporting and importing comments to xfdf
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
-
- User
- Posts: 29
- Joined: Thu May 29, 2008 9:06 am
Problems exporting and importing comments to xfdf
You do not have the required permissions to view the files attached to this post.
-
- Site Admin
- Posts: 17960
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
Re: Problems exporting and importing comments to xfdf
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
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
-
- User
- Posts: 29
- Joined: Thu May 29, 2008 9:06 am
Re: Problems exporting and importing comments to xfdf
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.
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.
You do not have the required permissions to view the files attached to this post.
-
- Site Admin
- Posts: 2353
- Joined: Thu Jun 30, 2005 4:11 pm
- Location: Canada
Re: Problems exporting and importing comments to xfdf
Hi, Martin.
We managed to reproduce this issue and will fix in the next build.
Thanks for your sample files.
Best
Regards.
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.
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.
-
- User
- Posts: 73
- Joined: Tue Oct 14, 2008 2:14 pm
- Location: Munich, Germany
Re: Problems exporting and importing comments to xfdf
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
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
-
- Site Admin
- Posts: 2353
- Joined: Thu Jun 30, 2005 4:11 pm
- Location: Canada
Re: Problems exporting and importing comments to xfdf
Hi, Rudi.
This issue will be fixed in the next build (upcoming).
Best
Regards.
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.
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.
-
- User
- Posts: 73
- Joined: Tue Oct 14, 2008 2:14 pm
- Location: Munich, Germany
Re: Problems exporting and importing comments to xfdf
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
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
-
- Site Admin
- Posts: 3554
- Joined: Thu Jul 08, 2004 10:36 pm
- Location: Vancouver Island - Canada
Re: Problems exporting and importing comments to xfdf
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.
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.