PDF as "raw" string from CoreDoc?  SOLVED

PDF-XChange Editor SDK for Developers

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.
Post Reply
zarkogajic
User
Posts: 1370
Joined: Thu Sep 05, 2019 12:35 pm

PDF as "raw" string from CoreDoc?

Post by zarkogajic »

Hi support,

Is there a way to get the full PDFs raw string from the IPXC_Document?

Say I have a CoreDoc open via op.opendoc - I'd like to calculate its MD5/SHA ...


-žarko
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: PDF as "raw" string from CoreDoc?  SOLVED

Post by Sasha - Tracker Dev Team »

Hello žarko,

There is no way of getting the document as string. If you read the document from somewhere - that's where you can get your string. If you have a newly created or modified document then you will need to save it first. If the document was saved two times with no changes - there is no guarantee that the resulting documents will match.

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
zarkogajic
User
Posts: 1370
Joined: Thu Sep 05, 2019 12:35 pm

Re: PDF as "raw" string from CoreDoc?

Post by zarkogajic »

Hi Alex,

Thanks.

p.s.
That would be a nice feature: to save or load from memory (stream).

Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: PDF as "raw" string from CoreDoc?

Post by Sasha - Tracker Dev Team »

:)
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Post Reply