Class GFPDXForm
- 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
-
- org.verapdf.gf.model.impl.pd.images.GFPDXForm
-
- All Implemented Interfaces:
Object,PDObject,PDResource,PDXForm,PDXObject
public class GFPDXForm extends GFPDXObject implements PDXForm
- Author:
- Maksim Bezrukov
-
-
Field Summary
Fields Modifier and Type Field Description static StringCONTENT_STREAMstatic StringGROUPstatic StringPARENT_TRANSPARENCY_COLOR_SPACEstatic StringTRANSPARENCY_COLOR_SPACEstatic StringX_FORM_TYPE-
Fields inherited from class org.verapdf.gf.model.impl.pd.images.GFPDXObject
OPI, resourcesHandler, X_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 Constructor Description GFPDXForm(PDXForm simplePDObject, PDResourcesHandler resourcesHandler, GraphicState inheritedGraphicState, String parentStructureTag, String parentsTags)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontainsTransparency()PDColorSpacegetBlendingColorSpace()BooleangetcontainsPS()true if the form XObjct dictionary contains PS entryBooleangetcontainsRef()true if the form XObject dictionary contains Ref keyStringgetID()BooleangetisUniqueSemanticParent()false, if Form XObject contains MCIDs and is referenced more than onceList<? extends Object>getLinkedObjects(String link)StringgetSubtype2()value of the Subtype2 key-
Methods inherited from class org.verapdf.gf.model.impl.pd.images.GFPDXObject
getcontainsOPI, getcontainsSMask, getSubtype, getTypedPDXObject
-
Methods inherited from class org.verapdf.gf.model.impl.pd.GFPDResource
getisInherited
-
Methods inherited from class org.verapdf.gf.model.impl.pd.GFPDObject
getentries
-
Methods inherited from class org.verapdf.model.GenericModelObject
getContext, getExtraContext, 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, 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
-
Methods inherited from interface org.verapdf.model.pdlayer.PDXObject
getcontainsOPI, getcontainsSMask, getSubtype
-
-
-
-
Field Detail
-
X_FORM_TYPE
public static final String X_FORM_TYPE
- See Also:
- Constant Field Values
-
GROUP
public static final String GROUP
- See Also:
- Constant Field Values
-
CONTENT_STREAM
public static final String CONTENT_STREAM
- See Also:
- Constant Field Values
-
TRANSPARENCY_COLOR_SPACE
public static final String TRANSPARENCY_COLOR_SPACE
- See Also:
- Constant Field Values
-
PARENT_TRANSPARENCY_COLOR_SPACE
public static final String PARENT_TRANSPARENCY_COLOR_SPACE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GFPDXForm
public GFPDXForm(PDXForm simplePDObject, PDResourcesHandler resourcesHandler, GraphicState inheritedGraphicState, String parentStructureTag, String parentsTags)
-
-
Method Detail
-
getSubtype2
public String getSubtype2()
Description copied from interface:PDXFormvalue of the Subtype2 key- Specified by:
getSubtype2in interfacePDXForm
-
getLinkedObjects
public List<? extends Object> getLinkedObjects(String link)
- Specified by:
getLinkedObjectsin interfaceObject- Overrides:
getLinkedObjectsin classGenericModelObject- Parameters:
link- - the name of a link- Returns:
- List of objects with the given link
-
getBlendingColorSpace
public PDColorSpace getBlendingColorSpace()
-
getcontainsPS
public Boolean getcontainsPS()
Description copied from interface:PDXFormtrue if the form XObjct dictionary contains PS entry- Specified by:
getcontainsPSin interfacePDXForm
-
getcontainsRef
public Boolean getcontainsRef()
Description copied from interface:PDXFormtrue if the form XObject dictionary contains Ref key- Specified by:
getcontainsRefin interfacePDXForm
-
getisUniqueSemanticParent
public Boolean getisUniqueSemanticParent()
Description copied from interface:PDXFormfalse, if Form XObject contains MCIDs and is referenced more than once- Specified by:
getisUniqueSemanticParentin interfacePDXForm
-
getID
public String getID()
- Specified by:
getIDin interfaceObject- Overrides:
getIDin classGFPDObject- Returns:
- id of the current object
-
containsTransparency
public boolean containsTransparency()
- Returns:
- true if current form object contains transparency group or transparency in its content stream
-
-