VBA access to Word Addin?

PDF-XChange Drivers API (only) V4/V5
This Forum is for the use of Software Developers requiring help and assistance for Tracker Software's PDF-XChange Printer Drivers SDK (only) - VERSION 4 & 5 - Please use the PDF-Tools SDK Forum for Library DLL assistance.

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

indalgds
User
Posts: 9
Joined: Fri Jul 17, 2009 7:55 am

VBA access to Word Addin?

Post by indalgds »

We currently use the printer driver com interface and word's PrintOut method to create a pdf file for a Word document. For weblinks that do not show the link target url no link is created in the pdf file. Manually creating a pdf file from the same document using the PDF-XChange word integration (addin), such links are generated as expected.
Additionally there are also some issues with the bookmark creation thru the printer driver. Bookmarks are created for locations that are not formated as headings, but using the same fontname, size and bold/italic-style. Again, if the pdf file is created by thru the word addin, the bookmarks are as expected.

Is it possible to access/use the PDF-XChange Word addin from vba or Word COM interface to create a pdf file for a Word document? To solve the problems, it would be enouph to invoke the pdf creation function passing in the target file name. Of course, to not break the automation, no dialogs must be shown by that function.

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

Re: VBA access to Word Addin?

Post by Tracker Supp-Stefan »

indalgds,

I will have to disappoint you but the office add in is not part of the SDKs, yes it works with the stand alone driver but is not included in the developer kits.

Best Regards,
Stefan
indalgds
User
Posts: 9
Joined: Fri Jul 17, 2009 7:55 am

Re: VBA access to Word Addin?

Post by indalgds »

Just for clarification:
  • We need to create pdf files from a Word document via com automation or command line without any further user interaction.
  • Bookmarks for the pdf file must be created from headings in the Word document. For other texts in the Word document using the same formating (font, size, bold/italic, color) than Word heading styles but are not formated using the Word heading styles NO bookmarks must be created.
  • All internal links, file links and weblinks in the Word document must result in corresponding links in the created pdf file. This must be true even for links that do display the link target (embeded links?).
Is that possible with the PDF-XChange printer driver or tools sdk or the command line?

Until now, it looks like that only the first of the above items is possible via automation. The Word addin handles the other two items but can not be automated in any way, correct?

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

Re: VBA access to Word Addin?

Post by Tracker Supp-Stefan »

Yes indalgds,

I am affraid that unfortunately there is no way to use the office add-in specific features through the SDKs.

Regards,
Stefan