Package com.reportmill.pdf
Class PDFXTable
- java.lang.Object
- 
- com.reportmill.base.RMObject
- 
- com.reportmill.pdf.PDFXTable
 
 
- 
- All Implemented Interfaces:
- RMArchiver.Archiving,- java.lang.Cloneable
 
 public class PDFXTable extends RMObject This class represents a cross reference table in a PDF file.
- 
- 
Constructor SummaryConstructors Constructor Description PDFXTable()Creates an empty xref table.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringaddObject(java.lang.Object anObj)Adds an object and returns the string by which the object can be referenced inside the pdf file.java.lang.StringaddObject(java.lang.Object anObj, boolean definitelyIsNew)Adds an object and returns the string by which the object can be referenced inside the pdf file.java.lang.ObjectgetEntry(int anIndex)Returns the specific entry at the given index.intgetEntryCount()Returns the number of entries in xref table.java.lang.StringgetRefString(int index)Returns a reference string for the entry object at the given index.java.lang.StringgetRefString(java.lang.Object anObj)Returns a reference string for the given entry object.java.lang.StringgetRefStringForName(java.lang.String aName)Returns a reference string for the given entry object name.intindexOfEntry(java.lang.Object obj)Returns the index of a given entry object.voidsetNameForObject(java.lang.String aName, java.lang.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
 
- 
 
- 
- 
- 
Method Detail- 
getEntryCountpublic int getEntryCount() Returns the number of entries in xref table.
 - 
getEntrypublic java.lang.Object getEntry(int anIndex) Returns the specific entry at the given index.
 - 
addObjectpublic java.lang.String addObject(java.lang.Object anObj) Adds an object and returns the string by which the object can be referenced inside the pdf file.
 - 
addObjectpublic java.lang.String addObject(java.lang.Object anObj, boolean definitelyIsNew)Adds an object and returns the string by which the object can be referenced inside the pdf file.
 - 
indexOfEntrypublic int indexOfEntry(java.lang.Object obj) Returns the index of a given entry object.
 - 
setNameForObjectpublic void setNameForObject(java.lang.String aName, java.lang.Object anObj)Sets the name for a given entry object.
 - 
getRefStringpublic java.lang.String getRefString(int index) throws RMExceptionReturns a reference string for the entry object at the given index.- Throws:
- RMException
 
 - 
getRefStringpublic java.lang.String getRefString(java.lang.Object anObj) throws RMExceptionReturns a reference string for the given entry object.- Throws:
- RMException
 
 - 
getRefStringForNamepublic java.lang.String getRefStringForName(java.lang.String aName) Returns a reference string for the given entry object name.
 
- 
 
-