Package | Description |
---|---|
edu.harvard.hul.ois.jhove.module |
Contains the main classes for JHOVE modules.
|
edu.harvard.hul.ois.jhove.module.pdf |
Contains supporting classes for the PDF-HUL module.
|
Modifier and Type | Field and Description |
---|---|
protected PdfDictionary |
PdfModule._destsDict |
protected PdfDictionary |
PdfModule._docCatDict |
protected PdfDictionary |
PdfModule._docInfoDict |
protected PdfDictionary |
PdfModule._encryptDict |
protected PdfDictionary |
PdfModule._outlineDict |
protected PdfDictionary |
PdfModule._pageLabelDict |
protected PdfDictionary |
PdfModule._trailerDict |
protected PdfDictionary |
PdfModule._viewPrefDict |
Modifier and Type | Method and Description |
---|---|
PdfDictionary |
PdfModule.getCatalogDict()
Returns the catalog dictionary object.
|
PdfDictionary |
PdfModule.getDocInfo()
Returns the document information dictionary.
|
PdfDictionary |
PdfModule.getEncryptionDict()
Returns the encryption dictionary.
|
PdfDictionary |
PdfModule.getOutlineDict()
Returns the outlines dictionary object.
|
PdfDictionary |
PdfModule.getTrailerDict()
Returns the trailer dictionary object.
|
PdfDictionary |
PdfModule.getViewPrefDict()
Returns the viewer preferences dictionary object.
|
Modifier and Type | Method and Description |
---|---|
protected void |
PdfModule.addDateProperty(PdfDictionary dict,
List<Property> propList,
String key,
String propName)
Add a date property, based on a dictionary entry
with a string value, to a specified List.
|
protected String |
PdfModule.addFontToMap(PdfDictionary font)
Add the font to the appropriate map, and return its subtype.
|
protected void |
PdfModule.addStringProperty(PdfDictionary dict,
List<Property> propList,
String key,
String propName)
Add a string property, based on a dictionary entry
with a string value, to a specified List.
|
protected Property |
PdfModule.buildAnnotProperty(PdfDictionary annot,
RepInfo info) |
protected Property |
PdfModule.buildCIDInfoProperty(PdfDictionary dict) |
protected Property |
PdfModule.buildEncodingDictProperty(PdfDictionary encodingDict) |
protected Property |
PdfModule.buildFontDescriptorProperty(PdfDictionary encodingDict) |
protected Property |
PdfModule.buildMeasureProperty(PdfDictionary meas) |
protected Property |
PdfModule.buildOutlineItemProperty(PdfDictionary dict,
RepInfo info) |
protected Property |
PdfModule.buildOutlinesProperty(PdfDictionary dict,
RepInfo info) |
protected Property |
PdfModule.buildViewPrefProperty(PdfDictionary prefDict) |
protected List<Property> |
PdfModule.oneFontPropList(PdfDictionary dict,
int fontType) |
Modifier and Type | Field and Description |
---|---|
protected PdfDictionary |
PageLabelNode._dict
The dictionary which defines this node.
|
protected PdfDictionary |
NameTreeNode._dict |
protected PdfDictionary |
DocNode._dict
The dictionary which defines this node.
|
Modifier and Type | Method and Description |
---|---|
PdfDictionary |
Filter.getDecodeParms()
Returns the DecodeParms dictionary, or null if there is none.
|
PdfDictionary |
PdfStream.getDict()
Returns the stream's dictionary
|
PdfDictionary |
DocNode.getDict()
Returns the page object or page tree node dictionary from
which this object was constructed.
|
PdfDictionary |
DocNode.getFontResources()
Returns the dictionary of fonts within the node's Resources
dictionary, if both exist.
|
PdfDictionary |
Destination.getPageDest()
Returns the page object dictionary if the destination
is direct.
|
PdfDictionary |
DocNode.getResources()
Get the Resources dictionary.
|
PdfDictionary |
Parser.readDictionary()
Reads a dictionary.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
XProfileBase.extGStateOK(PdfDictionary gs)
Checks if the ExtGState resource meets profile requirements.
|
protected boolean |
XProfileBase.formObjectOK(PdfDictionary fo)
Checks the conformance of a form XObject.
|
protected boolean |
X2Profile.formObjectOK(PdfDictionary xo)
Checks if a Form xobject is valid.
|
protected boolean |
X1Profile.formObjectOK(PdfDictionary xo)
Checks if a Form xobject is valid.
|
protected boolean |
AProfile.formObjectOK(PdfDictionary xo)
Checks if a Form xobject is valid.
|
protected boolean |
XProfileBase.imageObjectOK(PdfDictionary xo)
Checks if a single image XObject fits the profile
|
protected boolean |
AProfile.imageObjectOK(PdfDictionary xo)
Checks if a single image XObject fits the profile
|
void |
Filter.setDecodeParms(PdfDictionary parms)
Stores the DecodeParms or FDecodeParms dictionary
which is associated with this filter.
|
protected boolean |
XProfileBase.xObjectOK(PdfDictionary xo)
Checks a single XObject for xObjectsOK.
|
protected boolean |
X3Profile.xObjectOK(PdfDictionary xo) |
protected boolean |
X1Profile.xObjectOK(PdfDictionary xo) |
protected boolean |
PdfProfile.xObjectOK(PdfDictionary xo)
Checks a single XObject for xObjectsOK.
|
protected boolean |
AProfile.xObjectOK(PdfDictionary xo)
Checks a single XObject for xObjectsOK.
|
protected boolean |
PdfProfile.xObjectsOK(PdfDictionary xos)
This checks the "XObjects" dictionary, which is a dictionary whose
entries have values that are XObjects.
|
Constructor and Description |
---|
DocNode(PdfModule module,
PageTreeNode parent,
PdfDictionary dict)
Superclass constructor.
|
NameTreeNode(PdfModule module,
NameTreeNode parent,
PdfDictionary dict)
Constructor.
|
PageLabelNode(PdfModule module,
PageLabelNode parent,
PdfDictionary dict)
Superclass constructor.
|
PageObject(PdfModule module,
PageTreeNode parent,
PdfDictionary dict)
Superclass constructor.
|
PageTreeNode(PdfModule module,
PageTreeNode parent,
PdfDictionary dict)
Superclass constructor.
|
PdfFlateInputStream(InputStream is,
PdfDictionary parms)
Constructor with specified DecodeParms dictionary
|
PdfStream(PdfDictionary dict,
Stream stream)
Creates a PdfStream.
|
PdfStream(PdfDictionary dict,
Stream stream,
int objNumber,
int genNumber)
Creates a PdfStream
|
StructureElement(PdfDictionary dict,
StructureTree tree)
Constructor.
|
Copyright © 2008–2017 The Open Preservation Foundation. All rights reserved.