Results 1 to 1 of 1
2008-03-07, 13:56 #1
- Join Date
- Nov 2001
- Melbourne, Victoria, Australia
- Thanked 0 Times in 0 Posts
Word DOC to PDF WITH bookmark tree!
I used to have a free app called 5DPDF (now Jaws commercial software) that could do this. The freebie couldn't handle the changes in Office 2000 though. I don't have Office 2007, so don't know what its PDF export capabilities are. Although there are lots of PDF "virtual printer drivers" out there, capable of converting DOC to PDF, I couldn't find a method of producing the expand/ collapse navigation bookmark tree, seen in many PDFs... until now. <img src=/S/grin.gif border=0 alt=grin width=15 height=15> Here's how:
Download the <img src=/S/free.gif border=0 alt=free width=30 height=15> Windows build of HTMLDOC 1.8.24 from Cool Green. You just have to extract the whole archived folder to Program Files (or wherever) - no install routine to run.
Firstly, it's essential to use Word's built-in Heading style names (1 to 9) as the basis of the bookmark tree. It's OK to make a custom template and change the styles to suit, but you MUST use those built-in names.
Create or edit your document on that basis, bearing in mind that the Heading 1 headings will always be visible on the PDF bookmark tree. Heading 2 and beyond are visible or not depending on how the tree is expanded or collapsed.
Save your document as "Web Page" - not any of the other formats available.
Open HTMLDOC (use the program ghtmldoc.exe - the other is a commandline version).
Set the options in the tabs:
- Select your HTML version of the document as the Input file and the Document Type as "Book"
- Type an output filename and select "PDF" as Output Format
- Select PDF Version 1.4
- Play with the TOC tab settings to get the appearance to suit (more in the HTMLDOC help files)
- Click Generate
I've been pretty pleased with the results so far.