I am uploading a new version again.
This time it is Outlines:
Outlines are like Tree control of the PDF pages. It is easy for navigation and arrangement of the whole doc.
Outlines can be achieved using the following two commands:
1. SET HPDFDOC ROOTOUTLINE TITLE <cTitle> NAME <cName> [ PARENT <cParent> ]
2 SET HPDFDOC PAGEOUTLINE TITLE <cTitle> [ NAME <cName> ] [ PARENT <cParent> ]
- It shall be used to create a simple ROOT.
- It will not point/refer any page in the PDF doc.
- NAME clause should be used to refer the name of the root in the future.
- If you omit PARENT, the outline will be a ROOT node otherwise, it will be a sub-root of a parent root/node.
- It shall be used to create the outline reference of the current page in the doc.
- If the PARENT clause is omitted, the current page will be placed as a root.
- Use PARENT clause to make the current page reference to be inside a root. The root can be a ROOTOUTLINE or a PAGEOUTLINE referenced by its NAME.
- If you specify NAME clause, the page reference can be used as a ROOT and can be parent of other ROOTOUTLINE or PAGEOUTLINE.
- The current page can be referred in multiple outlines also. (as in the example, Page 5 is referred in two places)
If you omit both the commands, the page will not be referenced in the outline.
See the demo:
Note: Please set character encoding before, if you want to use the character encoding in the outline titles. Please check whether the character encoding for the titles are applied properly.