Word 2 PDF Import Converter - Headings to Bookmarks  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

Word 2 PDF Import Converter - Headings to Bookmarks

Post by zarkogajic »

Hi SDK Support,

This topic request is an extension/override of: https://forum.pdf-xchange.com/viewtopic.php?t=38868

Fairly, what I asked there I'm actually needing in SDK (Office Doc[x] Import Converter to be precise).

Is there a chance you can add to "conv.imp.office.doc" an option like "create bookmarks from headings"?

Why ask: even though there's no setting like IPXV_Inst.Settings["Converters.Import.conv_imp_office_doc.*CreateLinksFromLinks*"] - still Word style links (external and internal) are being parsed and are converted to Link type annotations (when using op.OpenDoc for Doc[x] files for example)

Would it be possible to also add in your converter implementation (at least for SDK), like links, to convert Word Headings to PDF Bookmarks?

-žarko
User avatar
TrackerSupp-Daniel
Site Admin
Posts: 8436
Joined: Wed Jan 03, 2018 6:52 pm

Re: Word 2 PDF Import Converter - Headings to Bookmarks

Post by TrackerSupp-Daniel »

Hello, zarkogajic

Ive spoken with the Dev team on this for you, and much like the reasoning to your post in the End user forum, the situation is the same here. There is no "office addin SDK" that we offer, and so these functions would not accomplish that, the direct office integration is required to handle this properly, the Editor, or Editor SDK, or even PRO SDK simply cannot get that degree of low level access to Word.

The best that we can suggest here is using the "Generate Bookmarks from page text" operation.

Kind regards,
Dan McIntyre - Support Technician
Tracker Software Products (Canada) LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
zarkogajic
User
Posts: 1370
Joined: Thu Sep 05, 2019 12:35 pm

Re: Word 2 PDF Import Converter - Headings to Bookmarks  SOLVED

Post by zarkogajic »

Hi Daniel,

Ok, thanks. Again: it was worth a try :)

p.s.
I need(/ed) this for (IPXC) Core documents. Using op.openDoc and passing a Word Doc[x] - and magically the Core Document is created (along with links which is super magic - thanks for that).
I'm not then passing it to Editor as IPXV document - all is done behind the "visual" scenes - so no way to generate bookmarks from text...

-žarko
User avatar
TrackerSupp-Daniel
Site Admin
Posts: 8436
Joined: Wed Jan 03, 2018 6:52 pm

Re: Word 2 PDF Import Converter - Headings to Bookmarks

Post by TrackerSupp-Daniel »

Hello, zarkogajic

Hi again! A quick update, one of our Office specialized Devs took a closer look at this, and they have a theory that it may actualyl be possible to build a workaround to get this functional. It would not be something that is available in the SDK, unfortunately, but it may be possible to offer it within our End user software, for those using it.

At the moment, this is still only an idea, not a promise, so I cannot guarantee that it will happen, but we are at least going to try and see if it can be made to work.

RT#6108: FR: Convert word headers to bookmarks?

Kind regards,
Dan McIntyre - Support Technician
Tracker Software Products (Canada) LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
zarkogajic
User
Posts: 1370
Joined: Thu Sep 05, 2019 12:35 pm

Re: Word 2 PDF Import Converter - Headings to Bookmarks

Post by zarkogajic »

Hi Daniel,

Thanks, goooood news!

Hopefully devs will also be able to squeeze this implementation into the "conv.imp.office.doc" import converter ;)

-žarko
User avatar
TrackerSupp-Daniel
Site Admin
Posts: 8436
Joined: Wed Jan 03, 2018 6:52 pm

Word 2 PDF Import Converter - Headings to Bookmarks

Post by TrackerSupp-Daniel »

:)
Dan McIntyre - Support Technician
Tracker Software Products (Canada) LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
Post Reply