Class OperationAddToolboxOutline


  • public class OperationAddToolboxOutline
    extends Object
    Can be used to add entries to the content structure of a PDF document (its bookmarks/outline). The entries need to be specified as a flat list without any nesting. The expected tree structure is produced when the paths specified in the \"item\" elements are resolved. The entries will be generated in line with their order in the \"add\" element. Parent elements that are specified in the path but are not yet found in the content structure will also be added automatically. Nodes already found in the content structure will be updated with the values contained here. The \"add\" element adds new elements to an existing content structure; it does not create an entirely new structure. Accordingly, it is not necessary to specify the existing entries that should not be edited. The element paths are made of the visible names of the entries in the content structure separated with forward slashes (/). If the document does not have a content structure yet, it will be generated with the specified content. This element can have any number of \"item\" elements you want.