public final class PBFeaturesObjectCreator extends Object
| Modifier and Type | Method and Description |
|---|---|
static PBAnnotationFeaturesObject |
createAnnotFeaturesObject(PDAnnotation annot,
String id,
Set<String> pages,
String parentId,
String popupId,
Set<String> formXObjects)
Creates new PBAnnotationFeaturesObject
|
static PBColorSpaceFeaturesObject |
createColorSpaceFeaturesObject(PDColorSpace colorSpace,
String id,
String iccProfileChild,
String colorSpaceChild,
Set<String> pageParents,
Set<String> colorSpaceParents,
Set<String> patternParents,
Set<String> shadingParents,
Set<String> xobjectParents,
Set<String> fontParents)
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,
Set<String> pageParentsID,
Set<String> patternParentsID,
Set<String> xobjectParentsID,
Set<String> fontParentsID)
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,
Set<String> extGStateParent,
Set<String> pageParent,
Set<String> patternParent,
Set<String> xobjectParent,
Set<String> fontParent)
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,
Set<String> pageParent,
Set<String> annotationParent,
Set<String> patternParent,
Set<String> xobjectParent,
Set<String> fontParent)
Constructs new PBFormXObjectFeaturesObject
|
static PBICCProfileFeaturesObject |
createICCProfileFeaturesObject(COSStream profile,
String id,
Set<String> outInts,
Set<String> iccBaseds)
Creates new PBICCProfileFeaturesObject
|
static PBImageXObjectFeaturesObject |
createImageXObjectFeaturesObject(PDImageXObjectProxy imageXObject,
String id,
String colorSpaceChild,
String maskChild,
String sMaskChild,
Set<String> alternatesChild,
Set<String> pageParent,
Set<String> patternParent,
Set<String> xobjectParent,
Set<String> fontParent)
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 id,
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,
String id,
int index)
Creates new PBPageFeaturesObject
|
static PBPostScriptXObjectFeaturesObject |
createPostScriptXObjectFeaturesObject(String id,
Set<String> pageParent,
Set<String> patternParent,
Set<String> xobjectParent,
Set<String> fontParent)
Constructs new PBPostScriptXObjectFeaturesObject
|
static PBPropertiesDictFeaturesObject |
createPropertiesDictFeaturesObject(COSDictionary properties,
String id,
Set<String> pageParent,
Set<String> patternParent,
Set<String> xobjectParent,
Set<String> fontParent)
Constructs new PBPropertiesDictFeaturesObject
|
static PBShadingFeaturesObject |
createShadingFeaturesObject(PDShading shading,
String id,
String colorSpaceChild,
Set<String> pageParent,
Set<String> patternParent,
Set<String> xobjectParent,
Set<String> fontParent)
Constructs new PBShadingFeaturesObject
|
static PBShadingPatternFeaturesObject |
createShadingPatternFeaturesObject(PDShadingPattern shadingPattern,
String id,
String shadingChild,
String extGStateChild,
Set<String> pageParent,
Set<String> patternParent,
Set<String> xobjectParent,
Set<String> fontParent)
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,
Set<String> pageParent,
Set<String> patternParent,
Set<String> xobjectParent,
Set<String> fontParent)
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 id, String iccProfileID)
outInt - PDOutputIntent class from pdfbox, which represents an outputIntent for feature reportid - id of the outputIntenticcProfileID - 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, Set<String> pages, String parentId, String popupId, Set<String> formXObjects)
annot - PDAnnotation class from pdfbox, which represents an annotation for feature reportid - page idpages - set of pages for this annotationparentId - parent annotation for this annotationpopupId - 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, String id, 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 pageid - page idindex - page indexpublic static PBICCProfileFeaturesObject createICCProfileFeaturesObject(COSStream profile, String id, Set<String> outInts, Set<String> iccBaseds)
profile - COSStream which represents the icc profile for feature reportid - id of the profileoutInts - set of ids of all parent output intents for this icc profileiccBaseds - set of ids of all parent icc based color spaces for this icc profilepublic static PBExtGStateFeaturesObject createExtGStateFeaturesObject(PDExtendedGraphicsState exGState, String id, String fontChildID, Set<String> pageParentsID, Set<String> patternParentsID, Set<String> xobjectParentsID, Set<String> fontParentsID)
exGState - PDExtendedGraphicsState which represents extended graphics state for feature reportid - id of the objectfontChildID - id of the font childpageParentsID - set of page ids which contains the given extended graphics state as its resourcespatternParentsID - set of pattern ids which contains the given extended graphics state as its resourcesxobjectParentsID - set of xobject ids which contains the given extended graphics state as its resourcesfontParentsID - set of font ids which contains the given extended graphics state as its resourcespublic static PBColorSpaceFeaturesObject createColorSpaceFeaturesObject(PDColorSpace colorSpace, String id, String iccProfileChild, String colorSpaceChild, Set<String> pageParents, Set<String> colorSpaceParents, Set<String> patternParents, Set<String> shadingParents, Set<String> xobjectParents, Set<String> fontParents)
colorSpace - PDColorSpace which represents colorspace for feature reportid - id of the objecticcProfileChild - id of the iccprofile childcolorSpaceChild - id of the colorspace childpageParents - set of page ids which contains the given colorspace as its resourcescolorSpaceParents - set of colorspace ids which contains the given colorspace as its resourcespatternParents - set of pattern ids which contains the given colorspace as its resourcesshadingParents - set of shading ids which contains the given colorspace as its resourcesxobjectParents - set of xobject ids which contains the given colorspace as its resourcesfontParents - set of font ids which contains the given colorspace as its resourcespublic 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, Set<String> pageParent, Set<String> patternParent, Set<String> xobjectParent, Set<String> fontParent)
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 patternpageParent - set of page ids which contains the given pattern as its resourcespatternParent - set of pattern ids which contains the given pattern as its resourcesxobjectParent - set of xobject ids which contains the given pattern as its resourcesfontParent - set of font ids which contains the given pattern as its resourcespublic static PBShadingPatternFeaturesObject createShadingPatternFeaturesObject(PDShadingPattern shadingPattern, String id, String shadingChild, String extGStateChild, Set<String> pageParent, Set<String> patternParent, Set<String> xobjectParent, Set<String> fontParent)
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 patternpageParent - set of page ids which contains the given pattern as its resourcespatternParent - set of pattern ids which contains the given pattern as its resourcesxobjectParent - set of xobject ids which contains the given pattern as its resourcesfontParent - set of font ids which contains the given pattern as its resourcespublic static PBShadingFeaturesObject createShadingFeaturesObject(PDShading shading, String id, String colorSpaceChild, Set<String> pageParent, Set<String> patternParent, Set<String> xobjectParent, Set<String> fontParent)
shading - PDShading which represents shading for feature reportid - id of the objectcolorSpaceChild - colorSpace id which contains in this shading patternpageParent - set of page ids which contains the given shading as its resourcespatternParent - set of pattern ids which contains the given shading as its resourcesxobjectParent - set of xobject ids which contains the given shading as its resourcesfontParent - set of font ids which contains the given shading as its resourcespublic static PBImageXObjectFeaturesObject createImageXObjectFeaturesObject(PDImageXObjectProxy imageXObject, String id, String colorSpaceChild, String maskChild, String sMaskChild, Set<String> alternatesChild, Set<String> pageParent, Set<String> patternParent, Set<String> xobjectParent, Set<String> fontParent)
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 alternatespageParent - set of page ids which contains the given image xobject as its resourcespatternParent - set of pattern ids which contains the given image xobject state as its resourcesxobjectParent - set of xobject ids which contains the given image xobject state as its resourcesfontParent - set of font ids which contains the given image xobject state as its resourcespublic 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, Set<String> pageParent, Set<String> annotationParent, Set<String> patternParent, Set<String> xobjectParent, Set<String> fontParent)
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 xobjectpageParent - set of page ids which contains the given xobject as its resourcesannotationParent - set of annotation ids which contains the given xobject in its appearance dictionarypatternParent - set of pattern ids which contains the given xobject as its resourcesxobjectParent - set of xobject ids which contains the given xobject as its resourcesfontParent - set of font ids which contains the given xobject as its resourcespublic 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, Set<String> extGStateParent, Set<String> pageParent, Set<String> patternParent, Set<String> xobjectParent, Set<String> fontParent)
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 fontpageParent - set of page ids which contains the given font as its resourcesextGStateParent - set of graphicsState ids which contains the given font as their resourcepatternParent - set of pattern ids which contains the given font as its resourcesxobjectParent - set of xobject ids which contains the given font as its resourcesfontParent - set of font ids which contains the given font as its resourcespublic static PBPropertiesDictFeaturesObject createPropertiesDictFeaturesObject(COSDictionary properties, String id, Set<String> pageParent, Set<String> patternParent, Set<String> xobjectParent, Set<String> fontParent)
properties - COSDictionary which represents properties for feature reportid - id of the objectpageParent - set of page ids which contains the given properties as its resourcespatternParent - set of pattern ids which contains the given properties as its resourcesxobjectParent - set of xobject ids which contains the given properties as its resourcesfontParent - set of font ids which contains the given properties as its resourcespublic static PBPostScriptXObjectFeaturesObject createPostScriptXObjectFeaturesObject(String id, Set<String> pageParent, Set<String> patternParent, Set<String> xobjectParent, Set<String> fontParent)
id - id of the objectpageParent - set of page ids which contains the given xobject as its resourcespatternParent - set of pattern ids which contains the given xobject as its resourcesxobjectParent - set of xobject ids which contains the given xobject as its resourcesfontParent - set of font ids which contains the given xobject as its resourcespublic static PBSignatureFeaturesObject createSignatureFeaturesObject(PDSignature signature)
signature - pdfbox signature objectCopyright © 2015–2016 The veraPDF Consortium. All rights reserved.