How to save a book as PDF with bookmarks?
I am exporting an open book as PDF using the following script:
var params = GetSaveDefaultParams()
var returnParamsp =new PropVals()
var i = GetPropIndex(params, Constants.FS_FileType)
params[i].propVal.ival =Constants.FV_SaveFmtPdf
file.Save(pdfName, params, returnParamsp)
This works fine but the pdf document does not have bookmarks. I would like to get the same
result as if a selected "Generate PDF bookmarks" (translated from German) on the Bookmars
page of the PDF Settings dialog.
I guess I will have to set some property value, but which one? Is there a place where I can
look it up?
Thanks