|
intarsys PDF library API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.intarsys.pdf.cos.COSBasedObject
de.intarsys.pdf.cos.COSTrailer
public class COSTrailer
The document trailer.
Nested Class Summary | |
---|---|
static class |
COSTrailer.MetaClass
The meta class implementation |
Field Summary | |
---|---|
static COSName |
DK_Encrypt
|
static COSName |
DK_ID
|
static COSName |
DK_Info
The well known attribute names |
static COSName |
DK_Prev
|
static COSName |
DK_Root
|
static COSName |
DK_Size
|
static COSName |
DK_XRefStm
|
static COSTrailer.MetaClass |
META
The meta class instance |
Method Summary | |
---|---|
COSDictionary |
cosGetEncryption()
The /Encrypt field of the trailer. |
COSArray |
cosGetID()
The /ID field of the trailer. |
void |
cosSetEncryption(COSDictionary encryption)
Set the /Encrypt field of the trailer. |
COSInfoDict |
getInfoDict()
The COSInfoDict containing metadata. |
int |
getPrev()
|
COSCatalog |
getRoot()
Get the root object (the catalog) for the document. |
int |
getSize()
|
void |
invalidateCaches()
Invalidate all local caches as the base object may have changed. |
void |
setInfoDict(COSInfoDict infoDict)
Set the info dictionary containing metadata. |
void |
setRoot(COSCatalog root)
Set the catalog. |
void |
updateFileID()
Generates a unique file ID array (10.3). |
Methods inherited from class de.intarsys.pdf.cos.COSBasedObject |
---|
changed, cosGetArray, cosGetDict, cosGetDoc, cosGetField, cosGetObject, cosGetStream, cosHasField, cosRemoveField, cosSetField, getAttribute, getFieldBoolean, getFieldDate, getFieldFixed, getFieldFixedArray, getFieldInt, getFieldMLString, getFieldString, removeAttribute, setAttribute, setFieldBoolean, setFieldFixed, setFieldInt, setFieldMLString, setFieldName, setFieldObject, setFieldString, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final COSName DK_Info
public static final COSName DK_Prev
public static final COSName DK_Root
public static final COSName DK_Size
public static final COSName DK_Encrypt
public static final COSName DK_ID
public static final COSName DK_XRefStm
public static final COSTrailer.MetaClass META
Method Detail |
---|
public void setInfoDict(COSInfoDict infoDict)
infoDict
- The info dictionary containing metadata.public COSInfoDict getInfoDict()
COSInfoDict
containing metadata.
COSInfoDict
containing metadata.public int getPrev()
public int getSize()
public void setRoot(COSCatalog root)
root
- The document catalogpublic COSCatalog getRoot()
public COSArray cosGetID()
public void updateFileID()
public void cosSetEncryption(COSDictionary encryption)
encryption
- The new encryption dictionarypublic COSDictionary cosGetEncryption()
public void invalidateCaches()
COSBasedObject
invalidateCaches
in class COSBasedObject
|
intarsys PDF library API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |