public class PBPageFeaturesObject extends Object implements IFeaturesObject
| Constructor and Description |
|---|
PBPageFeaturesObject(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)
Constructs new Page Feature Object
|
| Modifier and Type | Method and Description |
|---|---|
FeaturesData |
getData() |
FeatureObjectType |
getType() |
FeatureTreeNode |
reportFeatures(FeatureExtractionResult collection)
Reports featurereport into collection
|
public PBPageFeaturesObject(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 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 indexpublic FeatureObjectType getType()
getType in interface IFeaturesObjectpublic FeatureTreeNode reportFeatures(FeatureExtractionResult collection) throws FeatureParsingException
reportFeatures in interface IFeaturesObjectcollection - collection for feature reportFeatureParsingException - occurs when wrong features tree node constructspublic FeaturesData getData()
getData in interface IFeaturesObjectCopyright © 2015–2016 The veraPDF Consortium. All rights reserved.