Package org.apache.fop.pdf
Class PDFNumberTreeNode
java.lang.Object
org.apache.fop.pdf.PDFObject
org.apache.fop.pdf.PDFDictionary
org.apache.fop.pdf.PDFNumberTreeNode
- All Implemented Interfaces:
PDFWritable
- Direct Known Subclasses:
PDFPageLabels
,PDFParentTree
Class representing a PDF number tree node.
-
Field Summary
Fields inherited from class org.apache.fop.pdf.PDFDictionary
entries, order
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Adds a number and object to the nums array and increases the upper limit should it be required.getKids()
Returns the Kids array.Returns the lower limit value of the Limits array.getNums()
Returns the Nums array.Returns the upper limit value of the Limits array.void
Sets the Kids array.void
setLowerLimit
(Integer key) Sets the lower limit value of the Limits array.void
setNums
(PDFNumsArray nums) Sets the Nums array.void
setUpperLimit
(Integer key) Sets the upper limit value of the Limits array.Methods inherited from class org.apache.fop.pdf.PDFDictionary
containsKey, get, getChildren, getChildren, keySet, output, put, put, remove, writeDictionary
Methods inherited from class org.apache.fop.pdf.PDFObject
contentEquals, encode, encodeBinaryToHexString, encodeString, encodeText, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, getParent, hasObjectNumber, makeReference, outputInline, referencePDF, setDocument, setObjectNumber, setObjectNumber, setObjectNumber, setParent, toPDF, toPDFString
-
Constructor Details
-
PDFNumberTreeNode
public PDFNumberTreeNode()create a named destination
-
-
Method Details
-
setKids
Sets the Kids array.- Parameters:
kids
- the Kids array
-
getKids
Returns the Kids array.- Returns:
- the Kids array
-
setNums
Sets the Nums array.- Parameters:
nums
- the Nums array
-
getNums
Returns the Nums array.- Returns:
- the Nums array
-
setLowerLimit
Sets the lower limit value of the Limits array.- Parameters:
key
- the lower limit value
-
getLowerLimit
Returns the lower limit value of the Limits array.- Returns:
- the lower limit value
-
setUpperLimit
Sets the upper limit value of the Limits array.- Parameters:
key
- the upper limit value
-
getUpperLimit
Returns the upper limit value of the Limits array.- Returns:
- the upper limit value
-
addToNums
Adds a number and object to the nums array and increases the upper limit should it be required.- Parameters:
num
- The unique number identifying the object in the arrayobject
- The object being added
-