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 Map<Integer,PdfObject> |
PdfModule._cid0FontsMap |
protected Map<Integer,PdfObject> |
PdfModule._cid2FontsMap |
protected Map<Integer,PdfObject> |
PdfModule._mmFontsMap |
protected Map<Integer,PdfObject> |
PdfModule._trueTypeFontsMap |
protected Map<Integer,PdfObject> |
PdfModule._type0FontsMap |
protected Map<Integer,PdfObject> |
PdfModule._type1FontsMap |
protected Map<Integer,PdfObject> |
PdfModule._type3FontsMap |
Modifier and Type | Method and Description |
---|---|
protected PdfObject |
PdfModule.getObject(int objIndex,
int recGuard)
Returns an object of a given number.
|
PdfObject |
PdfModule.resolveIndirectObject(PdfObject obj)
If the argument is an indirect object reference,
returns the object it resolves to, otherwise returns
the object itself.
|
Modifier and Type | Method and Description |
---|---|
Map<Integer,PdfObject> |
PdfModule.getFontMap(int selector)
Get a font map.
|
List<Map<Integer,PdfObject>> |
PdfModule.getFontMaps()
Return a List of all the font maps.
|
Modifier and Type | Method and Description |
---|---|
protected void |
PdfModule.addDestination(PdfObject itemObj,
String propName,
List<Property> propList,
RepInfo info) |
PdfObject |
PdfModule.resolveIndirectObject(PdfObject obj)
If the argument is an indirect object reference,
returns the object it resolves to, otherwise returns
the object itself.
|
Modifier and Type | Class and Description |
---|---|
class |
PdfArray
A representation of a PDF array object.
|
class |
PdfArrayEnd
A marker for the parser to return when it encounters the end of
a PDF array.
|
class |
PdfDictionary
A representation of a PDF dictionary object.
|
class |
PdfDictionaryEnd |
class |
PdfIndirectObj
A representation of a PDF indirect object reference.
|
class |
PdfPseudoObject
Pseudo-objects are entities returned by the parser that don't
corresond to objects, such as dictionary and array enders.
|
class |
PdfSimpleObject
A representation of a PDF object which can be represented
by a Token.
|
class |
PdfStream
A representation of a PDF stream object.
|
Modifier and Type | Method and Description |
---|---|
PdfObject |
PageLabelNode._getCurrentValue()
Returns value associated with current key
|
PdfObject |
PdfDictionary.get(String key)
Get the PDFObject whose key has the specified string
value.
|
PdfObject |
DocNode.get(String key,
boolean inheritable)
Get an named property.
|
PdfObject |
NameTreeNode.get(Vector key)
Get the PdfObject which matches the key, or null if there is no match.
|
PdfObject |
PdfIndirectObj.getObject()
Retrieves the object which is referenced.
|
PdfObject |
ObjectStream.getObject(int objnum)
Extracts an object from the stream.
|
PdfObject |
PageLabelNode.getPrevValue()
Returns value associated with key previously obtained
in traversing tree
|
PdfObject |
FileSpecification.getSourceObject()
Returns the PdfObject from which the file specification was created.
|
PdfObject |
Parser.readObject(boolean allowPseudo)
Reads an object.
|
PdfObject |
Parser.readObjectDef()
Reads an object definition, from wherever we are in the stream to
the completion of one full object after the obj keyword.
|
PdfObject |
Parser.readObjectDef(Numeric objNumTok)
Reads an object definition, given the first numeric object, which
has already been read and is passed as an argument.
|
Modifier and Type | Method and Description |
---|---|
Vector<PdfObject> |
PdfArray.getContent()
Return the contents of the array as a Vector.
|
Modifier and Type | Method and Description |
---|---|
void |
PdfArray.add(PdfObject obj)
Adds an object to the array.
|
void |
PdfDictionary.add(String key,
PdfObject value)
Accumulate an entry into the dictionary.
|
protected boolean |
XProfileBase.filterOK(PdfObject filters,
boolean forbidLZW,
boolean forbidJBIG2)
Checks for forbidden filters in a Filters dictionary.
|
protected boolean |
PdfProfile.hasFilters(PdfObject filter,
String[] names)
Returns
true if a Filter object contains a filter name which
matches any of the Strings in the second argument. |
Modifier and Type | Method and Description |
---|---|
void |
Parser.setObjectMap(Map<Long,PdfObject> objectMap)
Set the object map on which the parser will work.
|
Constructor and Description |
---|
Destination(PdfObject destObj,
PdfModule module,
boolean named)
Constructor.
|
FileSpecification(PdfObject obj)
Constructor.
|
Constructor and Description |
---|
PdfIndirectObj(int objNumber,
int genNumber,
Map<Long,PdfObject> objectMap)
Creates a PdfIndirectObj object.
|
Copyright © 2008–2017 The Open Preservation Foundation. All rights reserved.