| java.lang.Object org.pdfbox.pdfwriter.COSWriterXRefEntry
COSWriterXRefEntry | public class COSWriterXRefEntry implements Comparable(Code) | | this is en entry in the xref section of the physical pdf document
generated by the COSWriter.
author: Michael Traut version: $Revision: 1.7 $ |
Method Summary | |
public int | compareTo(Object obj) | public COSObjectKey | getKey() This will get the Object key. | public COSBase | getObject() This will get the object. | public long | getOffset() This will get the offset into the document. | public boolean | isFree() Gets the xref 'free' attribute. | public void | setFree(boolean newFree) This will set the free attribute. | public void | setOffset(long newOffset) The offset attribute. |
COSWriterXRefEntry | public COSWriterXRefEntry(long start, COSBase obj, COSObjectKey keyValue)(Code) | | COSWriterXRefEntry constructor comment.
Parameters: start - The start attribute. Parameters: obj - The COS object that this entry represents. Parameters: keyValue - The key to the COS object. |
getObject | public COSBase getObject()(Code) | | This will get the object.
The object. |
getOffset | public long getOffset()(Code) | | This will get the offset into the document.
The offset into the document. |
isFree | public boolean isFree()(Code) | | Gets the xref 'free' attribute.
The free attribute. |
setFree | public void setFree(boolean newFree)(Code) | | This will set the free attribute.
Parameters: newFree - The newly freed attribute. |
setOffset | public void setOffset(long newOffset)(Code) | | The offset attribute.
Parameters: newOffset - The new value for the offset. |
|
|