public class PBFontFeaturesObject extends Object
| Constructor and Description |
|---|
PBFontFeaturesObject(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 font features object
|
| Modifier and Type | Method and Description |
|---|---|
FeaturesData |
getData() |
FeatureObjectType |
getType() |
FeatureTreeNode |
reportFeatures(FeatureExtractionResult collection)
Reports featurereport into collection
|
public PBFontFeaturesObject(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 FeatureObjectType getType()
public FeatureTreeNode reportFeatures(FeatureExtractionResult collection)
throws FeatureParsingException
collection - collection for feature reportFeatureParsingException - occurs when wrong features tree node constructspublic FeaturesData getData()
Copyright © 2015–2017 The veraPDF Consortium. All rights reserved.