Package org.verapdf.features.gf.objects
Class GFPageFeaturesObjectAdapter
java.lang.Object
org.verapdf.features.gf.objects.GFPageFeaturesObjectAdapter
- All Implemented Interfaces:
FeaturesObjectAdapter,PageFeaturesObjectAdapter
Feature object adapter for page
- Author:
- Maksim Bezrukov
-
Constructor Summary
ConstructorsConstructorDescriptionGFPageFeaturesObjectAdapter(PDPage page, String label, String thumb, Set<String> annotsId, Set<String> extGStateChild, Set<String> colorSpaceChild, Set<String> patternChild, Set<String> shadingChild, Set<String> xobjectChild, Set<String> fontChild, Set<String> propertiesChild, int index) Constructs new Page Feature Object -
Method Summary
-
Constructor Details
-
GFPageFeaturesObjectAdapter
public GFPageFeaturesObjectAdapter(PDPage page, String label, String thumb, Set<String> annotsId, Set<String> extGStateChild, Set<String> colorSpaceChild, Set<String> patternChild, Set<String> shadingChild, Set<String> xobjectChild, Set<String> fontChild, Set<String> propertiesChild, int index) Constructs new Page Feature Object- Parameters:
page- class represents page objectthumb- thumbnail image idannotsId- set of annotations id which contains in this pageextGStateChild- set of external graphics state id which contains in resource dictionary of this pagecolorSpaceChild- set of ColorSpace id which contains in resource dictionary of this pagepatternChild- set of pattern id which contains in resource dictionary of this pageshadingChild- set of shading id which contains in resource dictionary of this pagexobjectChild- set of XObject id which contains in resource dictionary of this pagefontChild- set of font id which contains in resource dictionary of this pagepropertiesChild- set of properties id which contains in resource dictionary of this pageindex- page index
-
-
Method Details
-
getThumb
- Specified by:
getThumbin interfacePageFeaturesObjectAdapter
-
getAnnotsId
- Specified by:
getAnnotsIdin interfacePageFeaturesObjectAdapter
-
getExtGStateChild
- Specified by:
getExtGStateChildin interfacePageFeaturesObjectAdapter
-
getColorSpaceChild
- Specified by:
getColorSpaceChildin interfacePageFeaturesObjectAdapter
-
getPatternChild
- Specified by:
getPatternChildin interfacePageFeaturesObjectAdapter
-
getShadingChild
- Specified by:
getShadingChildin interfacePageFeaturesObjectAdapter
-
getXObjectChild
- Specified by:
getXObjectChildin interfacePageFeaturesObjectAdapter
-
getFontChild
- Specified by:
getFontChildin interfacePageFeaturesObjectAdapter
-
getPropertiesChild
- Specified by:
getPropertiesChildin interfacePageFeaturesObjectAdapter
-
getIndex
public int getIndex()- Specified by:
getIndexin interfacePageFeaturesObjectAdapter
-
getLabel
- Specified by:
getLabelin interfacePageFeaturesObjectAdapter
-
getTransitionStyle
- Specified by:
getTransitionStylein interfacePageFeaturesObjectAdapter
-
getMediaBox
public double[] getMediaBox()- Specified by:
getMediaBoxin interfacePageFeaturesObjectAdapter
-
getCropBox
public double[] getCropBox()- Specified by:
getCropBoxin interfacePageFeaturesObjectAdapter
-
getTrimBox
public double[] getTrimBox()- Specified by:
getTrimBoxin interfacePageFeaturesObjectAdapter
-
getBleedBox
public double[] getBleedBox()- Specified by:
getBleedBoxin interfacePageFeaturesObjectAdapter
-
getArtBox
public double[] getArtBox()- Specified by:
getArtBoxin interfacePageFeaturesObjectAdapter
-
getRotation
- Specified by:
getRotationin interfacePageFeaturesObjectAdapter
-
getScaling
- Specified by:
getScalingin interfacePageFeaturesObjectAdapter
-
getMetadataStream
- Specified by:
getMetadataStreamin interfacePageFeaturesObjectAdapter
-
isPDFObjectPresent
public boolean isPDFObjectPresent()- Specified by:
isPDFObjectPresentin interfaceFeaturesObjectAdapter
-
getErrors
- Specified by:
getErrorsin interfaceFeaturesObjectAdapter
-