When I convert a word document with bookmarks to pdf I do not get any bookmarks in the PDF document. The converter spreadsheet at http://www.aspose.com/Products/Aspose.Words/Aspose.Words.Converters.xls states that bookmarks are converted but are anchored at paragraph start, not the exact position.
The Aspose.pdf wiki states that bookmarks are added at "Headings". [ http://www.aspose.com/Wiki/default.aspx/Aspose.Pdf/AddingBookmarksInThePDFDocument.html ]. I see no heading nodes in the pdf-xml and applying a Word heading style to a paragraph in the document does not result in pdf bookmarks being created either.
Can you please clarify what I need to do to get bookmarks in my PDF document when converting a Word document? I'm using the following code:
pdf.IsBookmarked = True
pdf.BookMarkLevel = 0
doc.Save(xmlOutFilePath, Aspose.Words.SaveFormat.FormatAsposePdf)
pdf.BindXML(xmlOutFilePath, Nothing) 'Read the document in Aspose.Pdf.Xml format into Aspose.Pdf.
pdf.Save(pdfOutFilePath)