Hi Jerry.
As you know bookmarks in MS Word and bookmarks in PDF are completely different terms. In MS Word a bookmark can be placed anywhere in the text, and it has start and end positions. In PDF a bookmark is a paragraph attribute which forces the paragraph to appear in the navigation pane or document map. In both models bookmarks are intended to refer some locations in documents.
When Aspose.Words converts a document to PDF it collects the bookmarks within each paragraph and replaces references to them by paragraph ID. So in PDF there are no original bookmarks. From the user’s point of view his (her) bookmarks are “propagated” to paragraph level.
If Aspose.Pdf team (Tommy) supports IDs at the text run level (Segment.ID) then we will convert bookmarks to these identifiers. From our side it’s not too difficult. But Aspose.Pdf should implement this first.
This subject is not new. I found some threads in the forum which possibly can bring more clarity:
http://www.aspose.com/Community/forums/thread/68991.aspx
http://www.aspose.com/Community/forums/69319/ShowThread.aspx#69319 (referred by Tommy from previous one)
In the further Aspose.Words is going to have its own pagination engine. So obtaining page number of any element will be possible. But we don’t give any time estimate on this.
For support of segment IDs in conversion to PDF I created new issue #3244.
Regards,
Viktor Sazhaev
Software Engineer,
Aspose Auckland Team