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
- Author:
- Maksim Bezrukov
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class org.verapdf.gf.model.impl.pd.images.GFPDXObject
OPI, resourcesHandler, X_OBJECT_TYPEFields inherited from class org.verapdf.gf.model.impl.pd.GFPDResource
RESOURCE_TYPEFields inherited from class org.verapdf.gf.model.impl.pd.GFPDObject
contentStream, document, id, MAX_NUMBER_OF_ELEMENTS, pdcMap, pdFont, simpleCOSObject, simplePDObjectFields inherited from class org.verapdf.model.GenericModelObject
contextDependent -
Constructor Summary
ConstructorsConstructorDescriptionGFPDXForm(PDXForm simplePDObject, PDResourcesHandler resourcesHandler, GraphicState inheritedGraphicState, String parentStructureTag, String parentsTags) -
Method Summary
Modifier and TypeMethodDescriptionbooleantrue if the form XObjct dictionary contains PS entrytrue if the form XObject dictionary contains Ref keygetID()false, if Form XObject contains MCIDs and is referenced more than oncegetLinkedObjects(String link) value of the Subtype2 keyMethods inherited from class org.verapdf.gf.model.impl.pd.images.GFPDXObject
getcontainsOPI, getcontainsSMask, getSubtype, getTypedPDXObjectMethods inherited from class org.verapdf.gf.model.impl.pd.GFPDResource
getisInheritedMethods inherited from class org.verapdf.gf.model.impl.pd.GFPDObject
getentriesMethods inherited from class org.verapdf.model.GenericModelObject
getContext, getExtraContext, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.verapdf.model.baselayer.Object
getContext, getExtraContext, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependentMethods inherited from interface org.verapdf.model.pdlayer.PDObject
getentriesMethods inherited from interface org.verapdf.model.pdlayer.PDResource
getisInheritedMethods inherited from interface org.verapdf.model.pdlayer.PDXObject
getcontainsOPI, getcontainsSMask, getSubtype
-
Field Details
-
X_FORM_TYPE
- See Also:
-
GROUP
- See Also:
-
CONTENT_STREAM
- See Also:
-
TRANSPARENCY_COLOR_SPACE
- See Also:
-
PARENT_TRANSPARENCY_COLOR_SPACE
- See Also:
-
-
Constructor Details
-
GFPDXForm
public GFPDXForm(PDXForm simplePDObject, PDResourcesHandler resourcesHandler, GraphicState inheritedGraphicState, String parentStructureTag, String parentsTags)
-
-
Method Details
-
getSubtype2
Description copied from interface:PDXFormvalue of the Subtype2 key- Specified by:
getSubtype2in interfacePDXForm
-
getLinkedObjects
- Specified by:
getLinkedObjectsin interfaceObject- Overrides:
getLinkedObjectsin classGenericModelObject- Parameters:
link- - the name of a link- Returns:
- List of objects with the given link
-
getBlendingColorSpace
-
getcontainsPS
Description copied from interface:PDXFormtrue if the form XObjct dictionary contains PS entry- Specified by:
getcontainsPSin interfacePDXForm
-
getcontainsRef
Description copied from interface:PDXFormtrue if the form XObject dictionary contains Ref key- Specified by:
getcontainsRefin interfacePDXForm
-
getisUniqueSemanticParent
Description copied from interface:PDXFormfalse, if Form XObject contains MCIDs and is referenced more than once- Specified by:
getisUniqueSemanticParentin interfacePDXForm
-
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
-