public class PdfResources extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
AcroFormObj |
static int |
GlobalResources |
static int |
MarkInfoObj |
static int |
StructTreeRootObj |
| Constructor and Description |
|---|
PdfResources() |
| Modifier and Type | Method and Description |
|---|---|
void |
flush() |
void |
flushObjects() |
PdfFileInformation |
getMetaData(PdfObjectReader currentPdfFile) |
Document |
getOutlineAsXML(PdfObjectReader currentPdfFile) |
OutlineData |
getOutlineData()
provide direct access to outlineData object
|
PdfLayerList |
getPdfLayerList() |
PdfObject |
getPdfObject(int key) |
boolean |
hasOutline()
flag to show if PDF document contains an outline
|
boolean |
isForm() |
void |
setPdfObject(int key,
PdfObject obj) |
void |
setupResources(PdfStreamDecoder current,
boolean alwaysCheck,
PdfObject Resources,
int pageNumber,
PdfObjectReader currentPdfFile)
initialise OC Content and other items before Page decoded but after Resources read
|
void |
setValues(PdfObject pdfObject,
PdfObjectReader currentPdfFile) |
public static final int AcroFormObj
public static final int GlobalResources
public static final int StructTreeRootObj
public static final int MarkInfoObj
public void setupResources(PdfStreamDecoder current, boolean alwaysCheck, PdfObject Resources, int pageNumber, PdfObjectReader currentPdfFile) throws PdfException
current - currentPdfFile - PdfExceptionpublic PdfObject getPdfObject(int key)
public void setPdfObject(int key,
PdfObject obj)
public void flush()
public void flushObjects()
public final boolean hasOutline()
public void setValues(PdfObject pdfObject, PdfObjectReader currentPdfFile)
public OutlineData getOutlineData()
public Document getOutlineAsXML(PdfObjectReader currentPdfFile)
public PdfFileInformation getMetaData(PdfObjectReader currentPdfFile)
public boolean isForm()
public PdfLayerList getPdfLayerList()
Copyright © 2017. All rights reserved.