public class PDFXTable extends RMObject
Constructor and Description |
---|
PDFXTable()
Creates an empty xref table.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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.
|
java.lang.Object |
getEntry(int anIndex)
Returns the specific entry at the given index.
|
int |
getEntryCount()
Returns the number of entries in xref table.
|
java.lang.String |
getRefString(int index)
Returns a reference string for the entry object at the given index.
|
java.lang.String |
getRefString(java.lang.Object anObj)
Returns a reference string for the given entry object.
|
java.lang.String |
getRefStringForName(java.lang.String aName)
Returns a reference string for the given entry object name.
|
int |
indexOfEntry(java.lang.Object obj)
Returns the index of a given entry object.
|
void |
setNameForObject(java.lang.String aName,
java.lang.Object anObj)
Sets the name for a given entry object.
|
clone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
public int getEntryCount()
public java.lang.Object getEntry(int anIndex)
public java.lang.String addObject(java.lang.Object anObj)
public java.lang.String addObject(java.lang.Object anObj, boolean definitelyIsNew)
public int indexOfEntry(java.lang.Object obj)
public void setNameForObject(java.lang.String aName, java.lang.Object anObj)
public java.lang.String getRefString(int index) throws RMException
RMException
public java.lang.String getRefString(java.lang.Object anObj) throws RMException
RMException
public java.lang.String getRefStringForName(java.lang.String aName)