public final class PBFeaturesObjectCreator extends Object
| Modifier and Type | Method and Description |
|---|---|
static AnnotationFeaturesObject |
createAnnotFeaturesObject(PDAnnotation annot,
String id,
String popupId,
Set<String> formXObjects)
Creates new PBAnnotationFeaturesObjectAdapter
|
static ColorSpaceFeaturesObject |
createColorSpaceFeaturesObject(PDColorSpace colorSpace,
String id,
String iccProfileChild,
String colorSpaceChild)
Constructs new PBColorSpaceFeaturesObjectAdapter
|
static DocSecurityFeaturesObject |
createDocSecurityFeaturesObject(PDEncryption encryption)
Creates new PBDocSecurityFeaturesObjectAdapter
|
static EmbeddedFileFeaturesObject |
createEmbeddedFileFeaturesObject(PDComplexFileSpecification embFile,
int index)
Creates new PBEmbeddedFileFeaturesObjectAdapter
|
static ExtGStateFeaturesObject |
createExtGStateFeaturesObject(PDExtendedGraphicsState exGState,
String id,
String fontChildID)
Creates new PBExtGStateFeaturesObjectAdapter
|
static FontFeaturesObject |
createFontFeaturesObject(PDFontLike 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 PBFontFeaturesObjectAdapter
|
static FormXObjectFeaturesObject |
createFormXObjectFeaturesObject(PDFormXObject 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 PBFormXObjectFeaturesObjectAdapter
|
static ICCProfileFeaturesObject |
createICCProfileFeaturesObject(COSStream profile,
String id)
Creates new PBICCProfileFeaturesObjectAdapter
|
static ImageXObjectFeaturesObject |
createImageXObjectFeaturesObject(PDImageXObjectProxy imageXObject,
String id,
String colorSpaceChild,
String maskChild,
String sMaskChild,
Set<String> alternatesChild)
Constructs new PBImageXObjectFeaturesObject
|
static InfoDictFeaturesObject |
createInfoDictFeaturesObject(PDDocumentInformation info)
Creates new PBInfoDictFeaturesObjectAdapter
|
static LowLvlInfoFeaturesObject |
createLowLvlInfoFeaturesObject(COSDocument document)
Creates new PBLowLvlInfoFeaturesObjectAdapter
|
static MetadataFeaturesObject |
createMetadataFeaturesObject(PDMetadata metadata)
Creates new PBMetadataFeaturesObjectAdapter
|
static OutlinesFeaturesObject |
createOutlinesFeaturesObject(PDDocumentOutline outlines)
Creates new PBOutlinesFeaturesObjectAdapter
|
static OutputIntentFeaturesObject |
createOutputIntentFeaturesObject(PDOutputIntent outInt,
String iccProfileID)
Creates new PBOutputIntentsFeaturesObjectAdapter
|
static PageFeaturesObject |
createPageFeaturesObject(PDPage page,
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 PBPageFeaturesObjectAdapter
|
static PostScriptFeaturesObject |
createPostScriptXObjectFeaturesObject(String id)
Constructs new PBPostScriptXObjectFeaturesObjectAdapter
|
static PropertiesDictFeaturesObject |
createPropertiesDictFeaturesObject(COSDictionary properties,
String id)
Constructs new PBPropertiesDictFeaturesObjectAdapter
|
static ShadingFeaturesObject |
createShadingFeaturesObject(PDShading shading,
String id,
String colorSpaceChild)
Constructs new PBShadingFeaturesObjectAdapter
|
static ShadingPatternFeaturesObject |
createShadingPatternFeaturesObject(PDShadingPattern shadingPattern,
String id,
String shadingChild,
String extGStateChild)
Constructs new PBShadingPatternFeaturesObjectAdapter
|
static SignatureFeaturesObject |
createSignatureFeaturesObject(PDSignature signature)
Constructs new PBSignatureFeaturesObjectAdapter
|
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 PBTilingPatternFeaturesObjectAdapter
|
public static InfoDictFeaturesObject createInfoDictFeaturesObject(PDDocumentInformation info)
info - PDDocumentInformation class from pdfbox, which represents a document info dictionary for feature reportpublic static MetadataFeaturesObject createMetadataFeaturesObject(PDMetadata metadata)
metadata - PDMetadata class from pdfbox, which represents a metadata for feature reportpublic static DocSecurityFeaturesObject createDocSecurityFeaturesObject(PDEncryption encryption)
encryption - PDEncryption class from pdfbox, which represents an encryption for feature reportpublic static LowLvlInfoFeaturesObject createLowLvlInfoFeaturesObject(COSDocument document)
document - COSDocument class from pdfbox, which represents a document for feature reportpublic static EmbeddedFileFeaturesObject createEmbeddedFileFeaturesObject(PDComplexFileSpecification embFile,
int index)
embFile - PDComplexFileSpecification class from pdfbox, which represents a file specification with embedded
file for feature reportpublic static OutputIntentFeaturesObject createOutputIntentFeaturesObject(PDOutputIntent outInt,
String iccProfileID)
outInt - PDOutputIntent class from pdfbox, which represents an outputIntent for feature reporticcProfileID - id of the icc profile which use in this outputIntentpublic static OutlinesFeaturesObject createOutlinesFeaturesObject(PDDocumentOutline outlines)
outlines - PDPage class from pdfbox, which represents a page for feature reportpublic static AnnotationFeaturesObject createAnnotFeaturesObject(PDAnnotation annot,
String id,
String popupId,
Set<String> formXObjects)
annot - PDAnnotation class from pdfbox, 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 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 - pdfbox 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(COSStream profile,
String id)
profile - COSStream which represents the icc profile for feature reportid - id of the profilepublic static ExtGStateFeaturesObject createExtGStateFeaturesObject(PDExtendedGraphicsState exGState,
String id,
String fontChildID)
exGState - PDExtendedGraphicsState 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(PDImageXObjectProxy imageXObject,
String id,
String colorSpaceChild,
String maskChild,
String sMaskChild,
Set<String> alternatesChild)
imageXObject - PDImageXObject 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(PDFormXObject 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 - PDFormXObject 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(PDFontLike 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 - PDFontLike 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(COSDictionary properties,
String id)
properties - COSDictionary 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 - pdfbox signature objectCopyright © 2015–2017 The veraPDF Consortium. All rights reserved.