Additional to the common PDF Bookmark function Aloaha offers some more powerful bookmark APIs. Those APIs use a BookmarkID as reference.
find_BookmarkID_byTitle
Returns the BookmarkID for an existing bookmark.
StartID=0
BookmarkID = find_BookmarkID_byTitle("Bookmakr to find", StartID)
Please set StartID to 0 to search the document from the beginning.
add_BookmarkByID
This function inserts a bookmark below the given BookmarkID.
ParentID = 0 ' for root level
ParentID = returned by search function
newBookmarkID= add_BookmarkByID(ParentID, "New Bookmark",TargetPage As Long)
set_bookmarkStyle
This function can be used to set a bookmark bold and/or italics.
set_bookmarkStyle(BookMarkID, Bold As Boolean, italic As Boolean) As Boolean
remove_bookmark
As the name suggests this function can be used to remove an existing bookmark.
remove_bookmark(BookMarkID) As Boolean
Please ask...
Although we really tried hard, there are always questions left open. But perhaps somebody else had already put the same question? Please check!
My original word document has words in italics. Whenever I want to change it into pdf-document, the pdf-version has changed the italic written words into the normal font (without italics). Please help
Please make sure that in the settings dialog of Aloaha you have the Option "HiFi" ticked. Should you experience further problems please contact our support at info@aloaha.com
Answered 17.08.2009
If not, please do not hesitate to send us your question. We would be glad to answer it.