public final class GFFeaturesObjectCreator extends Object
| Modifier and Type | Method and Description |
|---|---|
static ActionFeaturesObject |
createActionFeaturesObject(PDAction action,
ActionFeaturesObjectAdapter.Location location) |
static AnnotationFeaturesObject |
createAnnotFeaturesObject(PDAnnotation annot,
String id,
String popupId,
Set<String> formXObjects)
Creates new GFAnnotationFeaturesObjectAdapter
|
static ColorSpaceFeaturesObject |
createColorSpaceFeaturesObject(PDColorSpace colorSpace,
String id,
String iccProfileChild,
String colorSpaceChild)
Constructs new GFColorSpaceFeaturesObjectAdapter
|
static DocSecurityFeaturesObject |
createDocSecurityFeaturesObject(PDEncryption encryption)
Creates new GFDocSecurityFeaturesObjectAdapter
|
static EmbeddedFileFeaturesObject |
createEmbeddedFileFeaturesObject(COSObject embFile,
int index)
Creates new GFEmbeddedFileFeaturesObjectAdapter
|
static ExtGStateFeaturesObject |
createExtGStateFeaturesObject(PDExtGState exGState,
String id,
String fontChildID)
Creates new GFExtGStateFeaturesObjectAdapter
|
static FontFeaturesObject |
createFontFeaturesObject(PDFont fontLike,
String id,
Set<String> extGStateChild,
Set<String> colorSpaceChild,
Set<String> patternChild,
Set<String> shadingChild,
Set<String> xobjectChild,
Set<String> fontChild,
Set<String> propertiesChild)
Constructs new GFFontFeaturesObjectAdapter
|
static FormXObjectFeaturesObject |
createFormXObjectFeaturesObject(PDXForm formXObject,
String id,
String groupChild,
Set<String> extGStateChild,
Set<String> colorSpaceChild,
Set<String> patternChild,
Set<String> shadingChild,
Set<String> xobjectChild,
Set<String> fontChild,
Set<String> propertiesChild)
Constructs new GFFormXObjectFeaturesObjectAdapter
|
static ICCProfileFeaturesObject |
createICCProfileFeaturesObject(ICCProfile profile,
String id)
Creates new GFICCProfileFeaturesObjectAdapter
|
static ImageXObjectFeaturesObject |
createImageXObjectFeaturesObject(PDXImage imageXObject,
String id,
String colorSpaceChild,
String maskChild,
String sMaskChild,
Set<String> alternatesChild)
Constructs new GFImageXObjectFeaturesObject
|
static InfoDictFeaturesObject |
createInfoDictFeaturesObject(COSObject info)
Creates new GFInfoDictFeaturesObjectAdapter
|
static InteractiveFormFieldFeaturesObject |
createInteractiveFormFieldFeaturesObject(PDFormField formField) |
static LowLvlInfoFeaturesObject |
createLowLvlInfoFeaturesObject(COSDocument document)
Creates new LowLvlInfoFeaturesObject
|
static MetadataFeaturesObject |
createMetadataFeaturesObject(PDMetadata metadata)
Creates new GFMetadataFeaturesObjectAdapter
|
static OutlinesFeaturesObject |
createOutlinesFeaturesObject(PDOutlineDictionary outlines)
Creates new GFOutlinesFeaturesObjectAdapter
|
static OutputIntentFeaturesObject |
createOutputIntentFeaturesObject(PDOutputIntent outInt,
String iccProfileID)
Creates new GFOutputIntentsFeaturesObjectAdapter
|
static PageFeaturesObject |
createPageFeaturesObject(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)
Creates new GFPageFeaturesObjectAdapter
|
static PostScriptFeaturesObject |
createPostScriptXObjectFeaturesObject(String id)
Constructs new GFPostScriptXObjectFeaturesObjectAdapter
|
static PropertiesDictFeaturesObject |
createPropertiesDictFeaturesObject(COSObject properties,
String id)
Constructs new GFPropertiesDictFeaturesObjectAdapter
|
static ShadingFeaturesObject |
createShadingFeaturesObject(PDShading shading,
String id,
String colorSpaceChild)
Constructs new GFShadingFeaturesObjectAdapter
|
static ShadingPatternFeaturesObject |
createShadingPatternFeaturesObject(PDShadingPattern shadingPattern,
String id,
String shadingChild,
String extGStateChild)
Constructs new GFShadingPatternFeaturesObjectAdapter
|
static SignatureFeaturesObject |
createSignatureFeaturesObject(PDSignature signature)
Constructs new GFSignatureFeaturesObjectAdapter
|
static TilingPatternFeaturesObject |
createTilingPatternFeaturesObject(PDTilingPattern tilingPattern,
String id,
Set<String> extGStateChild,
Set<String> colorSpaceChild,
Set<String> patternChild,
Set<String> shadingChild,
Set<String> xobjectChild,
Set<String> fontChild,
Set<String> propertiesChild)
Constructs new GFTilingPatternFeaturesObjectAdapter
|
public static InfoDictFeaturesObject createInfoDictFeaturesObject(COSObject info)
info - COSObject class from greenfield, which represents a document info dictionary for feature reportpublic static MetadataFeaturesObject createMetadataFeaturesObject(PDMetadata metadata)
metadata - PDMetadata class from greenfield, which represents a metadata for feature reportpublic static DocSecurityFeaturesObject createDocSecurityFeaturesObject(PDEncryption encryption)
encryption - PDEncryption class from greenfield, which represents an encryption for feature reportpublic static LowLvlInfoFeaturesObject createLowLvlInfoFeaturesObject(COSDocument document)
document - COSDocument class from greenfield, which represents a document for feature reportpublic static EmbeddedFileFeaturesObject createEmbeddedFileFeaturesObject(COSObject embFile, int index)
embFile - COSObject class from greenfield, which represents a file specification with embedded
file for feature reportpublic static OutputIntentFeaturesObject createOutputIntentFeaturesObject(PDOutputIntent outInt, String iccProfileID)
outInt - PDOutputIntent class from greenfield, which represents an outputIntent for feature reporticcProfileID - id of the icc profile which use in this outputIntentpublic static OutlinesFeaturesObject createOutlinesFeaturesObject(PDOutlineDictionary outlines)
outlines - PDPage class from greenfield, which represents a page for feature reportpublic static AnnotationFeaturesObject createAnnotFeaturesObject(PDAnnotation annot, String id, String popupId, Set<String> formXObjects)
annot - PDAnnotation class from greenfield, which represents an annotation for feature reportid - page idpopupId - id of the popup annotation for this annotationformXObjects - set of id of the form XObjects which used in appearance stream of this annotationpublic static PageFeaturesObject createPageFeaturesObject(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)
page - greenfield class represents page objectthumb - thumbnail image idannotsId - set of annotations id which contains in this pageextGStateChild - set of extGState 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 indexpublic static ICCProfileFeaturesObject createICCProfileFeaturesObject(ICCProfile profile, String id)
profile - ICCProfile which represents the icc profile for feature reportid - id of the profilepublic static ExtGStateFeaturesObject createExtGStateFeaturesObject(PDExtGState exGState, String id, String fontChildID)
exGState - PDExtGState which represents extended graphics state for feature reportid - id of the objectfontChildID - id of the font childpublic static ColorSpaceFeaturesObject createColorSpaceFeaturesObject(PDColorSpace colorSpace, String id, String iccProfileChild, String colorSpaceChild)
colorSpace - PDColorSpace which represents colorspace for feature reportid - id of the objecticcProfileChild - id of the iccprofile childcolorSpaceChild - id of the colorspace childpublic static TilingPatternFeaturesObject createTilingPatternFeaturesObject(PDTilingPattern tilingPattern, String id, Set<String> extGStateChild, Set<String> colorSpaceChild, Set<String> patternChild, Set<String> shadingChild, Set<String> xobjectChild, Set<String> fontChild, Set<String> propertiesChild)
tilingPattern - PDTilingPattern which represents tilling pattern for feature reportid - id of the objectextGStateChild - set of external graphics state id which contains in resource dictionary of this patterncolorSpaceChild - set of ColorSpace id which contains in resource dictionary of this patternpatternChild - set of pattern id which contains in resource dictionary of this patternshadingChild - set of shading id which contains in resource dictionary of this patternxobjectChild - set of XObject id which contains in resource dictionary of this patternfontChild - set of font id which contains in resource dictionary of this patternpropertiesChild - set of properties id which contains in resource dictionary of this patternpublic static ShadingPatternFeaturesObject createShadingPatternFeaturesObject(PDShadingPattern shadingPattern, String id, String shadingChild, String extGStateChild)
shadingPattern - PDShadingPattern which represents shading pattern for feature reportid - id of the objectextGStateChild - external graphics state id which contains in this shading patternshadingChild - shading id which contains in this shading patternpublic static ShadingFeaturesObject createShadingFeaturesObject(PDShading shading, String id, String colorSpaceChild)
shading - PDShading which represents shading for feature reportid - id of the objectcolorSpaceChild - colorSpace id which contains in this shading patternpublic static ImageXObjectFeaturesObject createImageXObjectFeaturesObject(PDXImage imageXObject, String id, String colorSpaceChild, String maskChild, String sMaskChild, Set<String> alternatesChild)
imageXObject - PDXImage which represents image xobject for feature reportid - id of the objectcolorSpaceChild - colorSpace id which contains in this image xobjectmaskChild - image xobject id which contains in this image xobject as it's masksMaskChild - image xobject id which contains in this image xobject as it's smaskalternatesChild - set of image xobject ids which contains in this image xobject as alternatespublic static FormXObjectFeaturesObject createFormXObjectFeaturesObject(PDXForm formXObject, String id, String groupChild, Set<String> extGStateChild, Set<String> colorSpaceChild, Set<String> patternChild, Set<String> shadingChild, Set<String> xobjectChild, Set<String> fontChild, Set<String> propertiesChild)
formXObject - PDXForm which represents form xobject for feature reportid - id of the objectgroupChild - id of the group xobject which contains in the given form xobjectextGStateChild - set of external graphics state id which contains in resource dictionary of this xobjectcolorSpaceChild - set of ColorSpace id which contains in resource dictionary of this xobjectpatternChild - set of pattern id which contains in resource dictionary of this xobjectshadingChild - set of shading id which contains in resource dictionary of this xobjectxobjectChild - set of XObject id which contains in resource dictionary of this xobjectfontChild - set of font id which contains in resource dictionary of this patternpropertiesChild - set of properties id which contains in resource dictionary of this xobjectpublic static FontFeaturesObject createFontFeaturesObject(PDFont fontLike, String id, Set<String> extGStateChild, Set<String> colorSpaceChild, Set<String> patternChild, Set<String> shadingChild, Set<String> xobjectChild, Set<String> fontChild, Set<String> propertiesChild)
fontLike - PDFont which represents font for feature reportid - id of the objectextGStateChild - set of external graphics state id which contains in resource dictionary of this fontcolorSpaceChild - set of ColorSpace id which contains in resource dictionary of this fontpatternChild - set of pattern id which contains in resource dictionary of this fontshadingChild - set of shading id which contains in resource dictionary of this fontxobjectChild - set of XObject id which contains in resource dictionary of this fontfontChild - set of font id which contains in resource dictionary of this fontpropertiesChild - set of properties id which contains in resource dictionary of this fontpublic static PropertiesDictFeaturesObject createPropertiesDictFeaturesObject(COSObject properties, String id)
properties - COSObject which represents properties for feature reportid - id of the objectpublic static PostScriptFeaturesObject createPostScriptXObjectFeaturesObject(String id)
id - id of the objectpublic static SignatureFeaturesObject createSignatureFeaturesObject(PDSignature signature)
signature - greenfield signature objectpublic static ActionFeaturesObject createActionFeaturesObject(PDAction action, ActionFeaturesObjectAdapter.Location location)
public static InteractiveFormFieldFeaturesObject createInteractiveFormFieldFeaturesObject(PDFormField formField)
Copyright © 2015–2018 The veraPDF Consortium. All rights reserved.