setParent(PDOutlineNode parent) Set the parent of this object, this is maintained by these objects and should not
be called by any clients of PDFBox code.
protected void
updateParentOpenCount(int amount) The count parameter needs to be updated when you add or remove elements to
the outline.
Get the number of open nodes. Or a negative number if this node
is closed. See PDF Reference for more details. This value
is updated as you append children and siblings.
The Count attribute of the outline dictionary.
Get the parent of this object. This will either be a DocumentOutline or an OutlineItem.
The parent of this object, or null if this is the document outline and thereis no parent.
This will set this node to be open when it is shown in the viewer. By default, when
a new node is created it will be closed.
This will do nothing if the node is already open.
Set the parent of this object, this is maintained by these objects and should not
be called by any clients of PDFBox code.
Parameters: parent - The parent of this object.
The count parameter needs to be updated when you add or remove elements to
the outline. When you add an element at a lower level then you need to
increase all of the parents.
Parameters: amount - The amount to update by.