Export/Import annotation
Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
Export/Import annotation
Hello,
i export annotations using "op.document.exportCommentsAndFields" and imort them with "op.document.importCommentsAndFields" but w have some difference in result.
you find bellow sceenshots of pdf source and pdf destination. Pic1=>Pic2
i export annotations using "op.document.exportCommentsAndFields" and imort them with "op.document.importCommentsAndFields" but w have some difference in result.
you find bellow sceenshots of pdf source and pdf destination. Pic1=>Pic2
- Attachments
-
- pic2.png (9.02 KiB) Viewed 4920 times
-
- pic1.png (9.01 KiB) Viewed 4920 times
- Tracker Supp-Stefan
- Site Admin
- Posts: 17948
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
- Contact:
Re: Export/Import annotation
Hello Audros,
I've moved your topic to the Editor SDK section of our forums, and a colleague from our dev team will comment shortly!
In the mean time - can you please tell us - are the export and import done on the same machine? Or are they performed on separate ones? If it's separate machines - is the same version of our DLLs used, and are the font sets installed similar or does one machine have significantly more fonts than the other?
Regards,
Stefan
I've moved your topic to the Editor SDK section of our forums, and a colleague from our dev team will comment shortly!
In the mean time - can you please tell us - are the export and import done on the same machine? Or are they performed on separate ones? If it's separate machines - is the same version of our DLLs used, and are the font sets installed similar or does one machine have significantly more fonts than the other?
Regards,
Stefan
Re: Export/Import annotation
Hello ,
thanks for answer, the export and import are done on the same machine. can i get link of new topic to follow it? thank you
Regards,
Audros
thanks for answer, the export and import are done on the same machine. can i get link of new topic to follow it? thank you
Regards,
Audros
- Tracker Supp-Stefan
- Site Admin
- Posts: 17948
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
- Contact:
Re: Export/Import annotation
Hi Audros,
This is still the correct topic - I moved the whole of it to the SDK forum!![Smile :)](./images/smilies/icon_smile.gif)
And thanks for the details!
Can we have a sample with the original file with the comment, the exported comment, and a copy of the target file before and after the comment is inserted?
Thanks,
Stefan
This is still the correct topic - I moved the whole of it to the SDK forum!
![Smile :)](./images/smilies/icon_smile.gif)
And thanks for the details!
Can we have a sample with the original file with the comment, the exported comment, and a copy of the target file before and after the comment is inserted?
Thanks,
Stefan
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: Export/Import annotation
Hello Audros,
Does this reoccur when exporting/importing the same comment via the End-User Editor?
Cheers,
Alex
Does this reoccur when exporting/importing the same comment via the End-User Editor?
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Re: Export/Import annotation
Hello Sir,
yes exactlly
best regards
yes exactlly
best regards
Re: Export/Import annotation
Hello,
the problem actualy appear when we open pdf result with adobe acrobat reader, but with pdf xchange editor, they look like each other??
the problem actualy appear when we open pdf result with adobe acrobat reader, but with pdf xchange editor, they look like each other??
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: Export/Import annotation
Hello Audros,
I will forward this to our testers for investigation.
Cheers,
Alex
I will forward this to our testers for investigation.
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: Export/Import annotation
Hello Audros,
When using the import/export operations, the AP dictionary is omitted from the annotation dictionary (by the specification it can be), thus the PDF reader that you are opening the file in will behave like it's programmed to in case when this dictionary is absent. The Editor does render them as you see, the Acrobat renders the appearances slightly different. When using the End-User Editor to import/export the annotations, the appearance dictionary is being created when the appearance is being rebuild after the operation execution, thus it shows the same result in all of the programs. Cheers,
Alex
When using the import/export operations, the AP dictionary is omitted from the annotation dictionary (by the specification it can be), thus the PDF reader that you are opening the file in will behave like it's programmed to in case when this dictionary is absent. The Editor does render them as you see, the Acrobat renders the appearances slightly different. When using the End-User Editor to import/export the annotations, the appearance dictionary is being created when the appearance is being rebuild after the operation execution, thus it shows the same result in all of the programs. Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Re: Export/Import annotation
Hello,
Ok thank you![Smile :)](./images/smilies/icon_smile.gif)
best regard
Ok thank you
![Smile :)](./images/smilies/icon_smile.gif)
best regard
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: Export/Import annotation
Hello,
Is there a way to ensure this import / export while retaining the AP dictionary?
Best regards
Is there a way to ensure this import / export while retaining the AP dictionary?
Best regards
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: Export/Import annotation
Hello Audros,
Just spoke with one of our lead devs - we won't be implementing this in the nearest future.
Cheers,
Alex
Just spoke with one of our lead devs - we won't be implementing this in the nearest future.
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ