Package com.reportmill.pdf
Class PDFXTable
java.lang.Object
com.reportmill.base.RMObject
com.reportmill.pdf.PDFXTable
- All Implemented Interfaces:
- RMArchiver.Archiving,- Cloneable
This class represents a cross reference table in a PDF file.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionAdds an object and returns the string by which the object can be referenced inside the pdf file.Adds an object and returns the string by which the object can be referenced inside the pdf file.getEntry(int anIndex) Returns the specific entry at the given index.intReturns the number of entries in xref table.getRefString(int index) Returns a reference string for the entry object at the given index.getRefString(Object anObj) Returns a reference string for the given entry object.getRefStringForName(String aName) Returns a reference string for the given entry object name.intindexOfEntry(Object obj) Returns the index of a given entry object.voidsetNameForObject(String aName, Object anObj) Sets the name for a given entry object.Methods inherited from class com.reportmill.base.RMObjectclone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
- 
Constructor Details- 
PDFXTablepublic PDFXTable()Creates an empty xref table.
 
- 
- 
Method Details- 
getEntryCountpublic int getEntryCount()Returns the number of entries in xref table.
- 
getEntryReturns the specific entry at the given index.
- 
addObjectAdds an object and returns the string by which the object can be referenced inside the pdf file.
- 
addObjectAdds an object and returns the string by which the object can be referenced inside the pdf file.
- 
indexOfEntryReturns the index of a given entry object.
- 
setNameForObjectSets the name for a given entry object.
- 
getRefStringReturns a reference string for the entry object at the given index.- Throws:
- RMException
 
- 
getRefStringReturns a reference string for the given entry object.- Throws:
- RMException
 
- 
getRefStringForNameReturns a reference string for the given entry object name.
 
-