Class GFPDXObject
- java.lang.Object
-
- org.verapdf.model.GenericModelObject
-
- org.verapdf.gf.model.impl.pd.GFPDObject
-
- org.verapdf.gf.model.impl.pd.GFPDResource
-
- org.verapdf.gf.model.impl.pd.images.GFPDXObject
-
- All Implemented Interfaces:
Object,PDObject,PDResource,PDXObject
- Direct Known Subclasses:
GFPDXForm,GFPDXImage
public class GFPDXObject extends GFPDResource implements PDXObject
- Author:
- Maksim Bezrukov
-
-
Field Summary
Fields Modifier and Type Field Description static StringOPIprotected PDResourcesHandlerresourcesHandlerstatic StringX_OBJECT_TYPE-
Fields inherited from class org.verapdf.gf.model.impl.pd.GFPDResource
RESOURCE_TYPE
-
Fields inherited from class org.verapdf.gf.model.impl.pd.GFPDObject
contentStream, document, id, MAX_NUMBER_OF_ELEMENTS, pdcMap, pdFont, simpleCOSObject, simplePDObject
-
Fields inherited from class org.verapdf.model.GenericModelObject
contextDependent
-
-
Constructor Summary
Constructors Modifier Constructor Description GFPDXObject(PDXObject simplePDObject, PDResourcesHandler resourcesHandler)protectedGFPDXObject(PDXObject simplePDObject, PDResourcesHandler resourcesHandler, String type)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleangetcontainsOPI()true if the XObject dictionary contains OPI entryBooleangetcontainsSMask()but ISO 19005-1:2005/Cor.2:2011 forbids SMask key for all XObject dictionariesStringgetSubtype()subtype of the XObject resource (Image, Form, PS)static PDXObjectgetTypedPDXObject(PDXObject xObject, PDResourcesHandler resources, GraphicState inheritedGraphicState, String parentStructureTag, String parentsTags)-
Methods inherited from class org.verapdf.gf.model.impl.pd.GFPDResource
getisInherited
-
Methods inherited from class org.verapdf.gf.model.impl.pd.GFPDObject
getentries, getID
-
Methods inherited from class org.verapdf.model.GenericModelObject
getContext, getExtraContext, getLinkedObjects, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.verapdf.model.baselayer.Object
getContext, getExtraContext, getID, getLinkedObjects, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependent
-
Methods inherited from interface org.verapdf.model.pdlayer.PDObject
getentries
-
Methods inherited from interface org.verapdf.model.pdlayer.PDResource
getisInherited
-
-
-
-
Field Detail
-
X_OBJECT_TYPE
public static final String X_OBJECT_TYPE
- See Also:
- Constant Field Values
-
OPI
public static final String OPI
- See Also:
- Constant Field Values
-
resourcesHandler
protected final PDResourcesHandler resourcesHandler
-
-
Constructor Detail
-
GFPDXObject
public GFPDXObject(PDXObject simplePDObject, PDResourcesHandler resourcesHandler)
-
GFPDXObject
protected GFPDXObject(PDXObject simplePDObject, PDResourcesHandler resourcesHandler, String type)
-
-
Method Detail
-
getSubtype
public String getSubtype()
Description copied from interface:PDXObjectsubtype of the XObject resource (Image, Form, PS)- Specified by:
getSubtypein interfacePDXObject
-
getcontainsOPI
public Boolean getcontainsOPI()
Description copied from interface:PDXObjecttrue if the XObject dictionary contains OPI entry- Specified by:
getcontainsOPIin interfacePDXObject
-
getcontainsSMask
public Boolean getcontainsSMask()
Description copied from interface:PDXObjectbut ISO 19005-1:2005/Cor.2:2011 forbids SMask key for all XObject dictionaries- Specified by:
getcontainsSMaskin interfacePDXObject
-
getTypedPDXObject
public static PDXObject getTypedPDXObject(PDXObject xObject, PDResourcesHandler resources, GraphicState inheritedGraphicState, String parentStructureTag, String parentsTags)
-
-