public final class PBFeaturesObjectCreator extends Object
| Modifier and Type | Method and Description |
|---|---|
static PBAnnotationFeaturesObject |
createAnnotFeaturesObject(PDAnnotation annot,
String id,
String popupId,
Set<String> formXObjects)
Creates new PBAnnotationFeaturesObject
|
static PBColorSpaceFeaturesObject |
createColorSpaceFeaturesObject(PDColorSpace colorSpace,
String id,
String iccProfileChild,
String colorSpaceChild)
Constructs new PBColorSpaceFeaturesObject
|
static PBDocSecurityFeaturesObject |
createDocSecurityFeaturesObject(PDEncryption encryption)
Creates new PBDocSecurityFeaturesObject
|
static PBEmbeddedFileFeaturesObject |
createEmbeddedFileFeaturesObject(PDComplexFileSpecification embFile,
int index)
Creates new PBEmbeddedFileFeaturesObject
|
static PBExtGStateFeaturesObject |
createExtGStateFeaturesObject(PDExtendedGraphicsState exGState,
String id,
String fontChildID)
Creates new PBExtGStateFeaturesObject
|
static PBFontFeaturesObject |
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 PBFontFeaturesObject
|
static PBFormXObjectFeaturesObject |
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 PBFormXObjectFeaturesObject
|
static PBICCProfileFeaturesObject |
createICCProfileFeaturesObject(COSStream profile,
String id)
Creates new PBICCProfileFeaturesObject
|
static PBImageXObjectFeaturesObject |
createImageXObjectFeaturesObject(PDImageXObjectProxy imageXObject,
String id,
String colorSpaceChild,
String maskChild,
String sMaskChild,
Set<String> alternatesChild)
Constructs new PBImageXObjectFeaturesObject
|
static PBInfoDictFeaturesObject |
createInfoDictFeaturesObject(PDDocumentInformation info)
Creates new PBInfoDictFeaturesObject
|
static PBLowLvlInfoFeaturesObject |
createLowLvlInfoFeaturesObject(COSDocument document)
Creates new PBLowLvlInfoFeaturesObject
|
static PBMetadataFeaturesObject |
createMetadataFeaturesObject(PDMetadata metadata)
Creates new PBMetadataFeaturesObject
|
static PBOutlinesFeaturesObject |
createOutlinesFeaturesObject(PDDocumentOutline outlines)
Creates new PBOutlinesFeaturesObject
|
static PBOutputIntentsFeaturesObject |
createOutputIntentFeaturesObject(PDOutputIntent outInt,
String iccProfileID)
Creates new PBOutputIntentsFeaturesObject
|
static PBPageFeaturesObject |
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 PBPageFeaturesObject
|
static PBPostScriptXObjectFeaturesObject |
createPostScriptXObjectFeaturesObject(String id)
Constructs new PBPostScriptXObjectFeaturesObject
|
static PBPropertiesDictFeaturesObject |
createPropertiesDictFeaturesObject(COSDictionary properties,
String id)
Constructs new PBPropertiesDictFeaturesObject
|
static PBShadingFeaturesObject |
createShadingFeaturesObject(PDShading shading,
String id,
String colorSpaceChild)
Constructs new PBShadingFeaturesObject
|
static PBShadingPatternFeaturesObject |
createShadingPatternFeaturesObject(PDShadingPattern shadingPattern,
String id,
String shadingChild,
String extGStateChild)
Constructs new PBShadingPatternFeaturesObject
|
static PBSignatureFeaturesObject |
createSignatureFeaturesObject(PDSignature signature)
Constructs new PBSignatureFeaturesObject
|
static PBTilingPatternFeaturesObject |
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 PBTilingPatternFeaturesObject
|
public static PBInfoDictFeaturesObject createInfoDictFeaturesObject(PDDocumentInformation info)
info - PDDocumentInformation class from pdfbox, which represents a document info dictionary for feature reportpublic static PBMetadataFeaturesObject createMetadataFeaturesObject(PDMetadata metadata)
metadata - PDMetadata class from pdfbox, which represents a metadata for feature reportpublic static PBDocSecurityFeaturesObject createDocSecurityFeaturesObject(PDEncryption encryption)
encryption - PDEncryption class from pdfbox, which represents an encryption for feature reportpublic static PBLowLvlInfoFeaturesObject createLowLvlInfoFeaturesObject(COSDocument document)
document - COSDocument class from pdfbox, which represents a document for feature reportpublic static PBEmbeddedFileFeaturesObject createEmbeddedFileFeaturesObject(PDComplexFileSpecification embFile, int index)
embFile - PDComplexFileSpecification class from pdfbox, which represents a file specification with embedded
file for feature reportpublic static PBOutputIntentsFeaturesObject 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 PBOutlinesFeaturesObject createOutlinesFeaturesObject(PDDocumentOutline outlines)
outlines - PDPage class from pdfbox, which represents a page for feature reportpublic static PBAnnotationFeaturesObject 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 PBPageFeaturesObject 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 PBICCProfileFeaturesObject createICCProfileFeaturesObject(COSStream profile, String id)
profile - COSStream which represents the icc profile for feature reportid - id of the profilepublic static PBExtGStateFeaturesObject 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 PBColorSpaceFeaturesObject 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 PBTilingPatternFeaturesObject 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 PBShadingPatternFeaturesObject 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 PBShadingFeaturesObject 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 PBImageXObjectFeaturesObject 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 PBFormXObjectFeaturesObject 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 PBFontFeaturesObject 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 PBPropertiesDictFeaturesObject createPropertiesDictFeaturesObject(COSDictionary properties, String id)
properties - COSDictionary which represents properties for feature reportid - id of the objectpublic static PBPostScriptXObjectFeaturesObject createPostScriptXObjectFeaturesObject(String id)
id - id of the objectpublic static PBSignatureFeaturesObject createSignatureFeaturesObject(PDSignature signature)
signature - pdfbox signature objectCopyright © 2015–2017 The veraPDF Consortium. All rights reserved.