public class PBCosDocument extends PBCosObject
| Modifier and Type | Field and Description |
|---|---|
static String |
COS_DOCUMENT_TYPE
Type name for PBCosDocument
|
static String |
DOCUMENT |
static String |
EMBEDDED_FILES |
static String |
ID |
static String |
INDIRECT_OBJECTS |
static String |
REQUIREMENTS |
static String |
TRAILER |
static String |
XREF |
baseObject, MAX_NUMBER_OF_ELEMENTS| Constructor and Description |
|---|
PBCosDocument(COSDocument cosDocument,
PDFAFlavour flavour)
Constructor using pdfbox COSDocument
|
PBCosDocument(PDDocument pdDocument,
PDFAFlavour flavour)
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getdoesInfoMatchXMP() |
String |
getfirstPageID() |
String |
getheader() |
Long |
getheaderByte1() |
Long |
getheaderByte2() |
Long |
getheaderByte3() |
Long |
getheaderByte4() |
Long |
getheaderOffset() |
Boolean |
getisLinearized() |
Boolean |
getisOptionalContentPresent()
true if catalog contain OCProperties key
|
String |
getlastID() |
List<? extends Object> |
getLinkedObjects(String link) |
Boolean |
getMarked() |
Boolean |
getNeedsRendering() |
Long |
getnrIndirects()
Number of indirect objects in the document
|
Long |
getpostEOFDataSize()
EOF must complies PDF/A standard
|
String |
getRequirements() |
Double |
getversion() |
getFromValuepublic static final String COS_DOCUMENT_TYPE
public static final String TRAILER
public static final String XREF
public static final String INDIRECT_OBJECTS
public static final String DOCUMENT
public static final String EMBEDDED_FILES
public static final String ID
public static final String REQUIREMENTS
public PBCosDocument(PDDocument pdDocument,
PDFAFlavour flavour)
pdDocument - pdfbox PDDocumentpublic PBCosDocument(COSDocument cosDocument,
PDFAFlavour flavour)
cosDocument - pdfbox COSDocumentpublic Long getnrIndirects()
public Double getversion()
public Long getheaderOffset()
public String getheader()
public Long getheaderByte1()
public Long getheaderByte2()
public Long getheaderByte3()
public Long getheaderByte4()
public Boolean getisOptionalContentPresent()
public Long getpostEOFDataSize()
public String getfirstPageID()
public String getlastID()
public Boolean getisLinearized()
public Boolean getdoesInfoMatchXMP()
public Boolean getMarked()
public String getRequirements()
public Boolean getNeedsRendering()
NeedsRendering entry contains true valueCopyright © 2015–2017 The veraPDF Consortium. All rights reserved.