Word DOC to PDF conversion - internal links  SOLVED

PDF-XChange Editor SDK for Developers

Moderators: TrackerSupp-Daniel, Tracker Support, Chris - Tracker Supp, Vasyl-Tracker Dev Team, Sean - Tracker, Paul - Tracker Supp, Tracker Supp-Stefan, Ivan - Tracker Software

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: 1052
Joined: Thu Sep 05, 2019 12:35 pm

Word DOC to PDF conversion - internal links

Post by zarkogajic » Thu Dec 31, 2020 9:34 am

Hi Support,

This is related to: https://forum.tracker-software.com/viewtopic.php?f=62&t=35499

With EU Editor and the SDK, the "PDF-XChange Lite" printer is used.

When a DOC is converted to PDF, any external links are converted to URI type links in the resulting PDF. That's great!

Any internal (to Word "bookmarks") links are ignored.

Could you please, pretty please: add/allow/enable conversion of internal "cross-reference" links (to Word style bookmarks) as GoTo type PDF links to SDK (/Lite printer)?

p.s.
I know this is possible with the "Standard Printer" and Word AddOn. I love how the Lite printer / SDK does the conversion, without the need to install more stuff, so having internal links also converted would be great.

-žarko

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

Re: Word DOC to PDF conversion - internal links

Post by Sasha - Tracker Dev Team » Mon Jan 04, 2021 9:49 am

Hello zarkogajic,

If you are using the Word to PDF conversion with the help of the Lite printer, then we have bad news - the external links won't be available either. Though you can try the XPS mode - then they should work.
We will also try to update the printer with the internal links in the XPS mode.

The same thing about the Word to PDF conversion that is being used in the Editor - we make the Word to save the XPS format and then we process it into the resulting PDF file.

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

zarkogajic
User
Posts: 1052
Joined: Thu Sep 05, 2019 12:35 pm

Re: Word DOC to PDF conversion - internal links

Post by zarkogajic » Mon Jan 04, 2021 10:22 am

Hi Alex,

Yes, I am using the "Lite" printer - the one that comes with SDK (and EU Editor).
the external links won't be available either.
But they are! (?). Only Word internal links (to Word style "bookmarks") are ignored.


-žarko

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

Re: Word DOC to PDF conversion - internal links

Post by Sasha - Tracker Dev Team » Mon Jan 04, 2021 11:23 am

Hello zarkogajic,

Are you sure that you are not using the XPS?

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

zarkogajic
User
Posts: 1052
Joined: Thu Sep 05, 2019 12:35 pm

Re: Word DOC to PDF conversion - internal links

Post by zarkogajic » Mon Jan 04, 2021 11:39 am

Alex,

I'm not sure of anything :)

I'm using "op.openDoc" - and the Word Doc gets converted to PDF and external links are preserved (internal ignored).

I do not know what happens behind the scenes :)

-žarko

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

Re: Word DOC to PDF conversion - internal links

Post by Sasha - Tracker Dev Team » Mon Jan 04, 2021 11:47 am

Hello zarkogajic,

Well I wrote exactly about how this works in my previous post.

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

zarkogajic
User
Posts: 1052
Joined: Thu Sep 05, 2019 12:35 pm

Re: Word DOC to PDF conversion - internal links

Post by zarkogajic » Mon Jan 04, 2021 12:02 pm

Hi Alex,

If I understand correctly what you said:
If you are using the Word to PDF conversion with the help of the Lite printer, then we have bad news - the external links won't be available either. Though you can try the XPS mode - then they should work.
This would mean I am using the XPS mode - as external links are converted.
Are you sure that you are not using the XPS?
But, the thing is: I am not setting it programmatically - therefore if XPS mode is used - I am not aware of this, nor I know how to "disable" or "enable" it.

The only thing I do, from code, is "op.openDoc" and DOC gets converted to PDF - I do not know what happens within your internal code.

So, for testing purposes: how do I "on"/"off" XPS mode?

-žarko

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

Re: Word DOC to PDF conversion - internal links

Post by Sasha - Tracker Dev Team » Mon Jan 11, 2021 2:31 pm

Hello zarkogajic,

I don't think that can be tweaked. As I wrote before, we will try to update the printer with the internal links in the XPS mode, so that you will have a desired behavior.

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

User avatar
Paul - Tracker Supp
Site Admin
Posts: 5276
Joined: Wed Mar 25, 2009 10:37 pm
Location: Chemainus, Canada
Contact:

Re: Word DOC to PDF conversion - internal links

Post by Paul - Tracker Supp » Mon Jan 11, 2021 2:53 pm

A quick follow up, we have raised a formal ticket around this.

While for internal user only, referring to RT#5420: Update Driver for converting internal links in the XPS mode will facillitate any support team member looking up the status of this item.

hth
_________________
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

Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com

zarkogajic
User
Posts: 1052
Joined: Thu Sep 05, 2019 12:35 pm

Re: Word DOC to PDF conversion - internal links  SOLVED

Post by zarkogajic » Mon Jan 11, 2021 3:26 pm

Hi Paul, Alex,

Thanks! :)


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

Word DOC to PDF conversion - internal links

Post by Sasha - Tracker Dev Team » Mon Jan 11, 2021 7:30 pm

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

zarkogajic
User
Posts: 1052
Joined: Thu Sep 05, 2019 12:35 pm

Re: Word DOC to PDF conversion - internal links

Post by zarkogajic » Sat Jan 23, 2021 8:31 am

Hi Support,

How do I get notified when "RT#5420" gets done and becomes a part of some future release?


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

Re: Word DOC to PDF conversion - internal links

Post by Sasha - Tracker Dev Team » Mon Jan 25, 2021 10:25 am

Hello zarkogajic,

There are several ways - you can ask the support via mail. Or you look at the Version History of the newest version and see whether that RT was fixed.

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

zarkogajic
User
Posts: 1052
Joined: Thu Sep 05, 2019 12:35 pm

Re: Word DOC to PDF conversion - internal links

Post by zarkogajic » Mon Jan 25, 2021 10:58 am

Hi Alex,

Ok, so nothing automagically :)


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

Re: Word DOC to PDF conversion - internal links

Post by Sasha - Tracker Dev Team » Mon Jan 25, 2021 11:48 am

Hello zarkogajic,

Yup - no automation here :(

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

zarkogajic
User
Posts: 1052
Joined: Thu Sep 05, 2019 12:35 pm

Re: Word DOC to PDF conversion - internal links

Post by zarkogajic » Wed Jul 14, 2021 8:38 am

Hi Support,

:)

9.1.355 does it!

Note: internal GOTO links are created with X,Y destination set to inherit - so only the page number is used.

If an internal link points to the bottom of some page - clicking the created link does not set the needed view: to the bottom of the page (due to Y: inherit), only sets the view to the page.

-žarko

zarkogajic
User
Posts: 1052
Joined: Thu Sep 05, 2019 12:35 pm

Re: Word DOC to PDF conversion - internal links

Post by zarkogajic » Tue Jul 20, 2021 3:14 pm

Hi Support,

Fixed in 9.1.356!

Thanks!!

-žarko

User avatar
Tracker Supp-Stefan
Site Admin
Posts: 14755
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Word DOC to PDF conversion - internal links

Post by Tracker Supp-Stefan » Wed Jul 21, 2021 10:17 am

:)

Post Reply