public abstract class AbstractOutputProcessorMetaData extends Object implements OutputProcessorMetaData
Modifier and Type | Class and Description |
---|---|
protected static class |
AbstractOutputProcessorMetaData.ReusableFontContext |
Modifier | Constructor and Description |
---|---|
protected |
AbstractOutputProcessorMetaData() |
protected |
AbstractOutputProcessorMetaData(FontStorage fontStorage) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getExportDescriptor
protected AbstractOutputProcessorMetaData()
protected AbstractOutputProcessorMetaData(FontStorage fontStorage)
public void initialize(Configuration configuration)
initialize
in interface OutputProcessorMetaData
public Configuration getConfiguration()
getConfiguration
in interface OutputProcessorMetaData
protected void addFeature(OutputProcessorFeature.BooleanOutputProcessorFeature feature)
protected void removeFeature(OutputProcessorFeature.BooleanOutputProcessorFeature feature)
public boolean isFeatureSupported(OutputProcessorFeature.BooleanOutputProcessorFeature feature)
isFeatureSupported
in interface OutputProcessorMetaData
protected void setNumericFeatureValue(OutputProcessorFeature.NumericOutputProcessorFeature feature, double value)
public double getNumericFeatureValue(OutputProcessorFeature.NumericOutputProcessorFeature feature)
getNumericFeatureValue
in interface OutputProcessorMetaData
public boolean isContentSupported(Object content)
isContentSupported
in interface OutputProcessorMetaData
protected FontRegistry getFontRegistry()
protected FontStorage getFontStorage()
public String getNormalizedFontFamilyName(String name)
getNormalizedFontFamilyName
in interface OutputProcessorMetaData
name
- the raw name, maybe null.public FontMetrics getFontMetrics(String fontFamily, double fontSize, boolean bold, boolean italics, String encoding, boolean embedded, boolean antiAliasing) throws IllegalArgumentException
fontFamily
- the font family.fontSize
- the font size.bold
- a flag indicating whether the font should be displayed in bold.italics
- a flag indicating whether the font should be displayed in italics.encoding
- a valid font encoding, can be null to use the default.embedded
- a flag indicating whether the font is intended for embedded use.antiAliasing
- a flag indicating whether the font should be rendered in aliased mode.IllegalArgumentException
- if the font family was invalid and no default family could be located.public ExtendedBaselineInfo getBaselineInfo(int codePoint, StyleSheet styleSheet)
getBaselineInfo
in interface OutputProcessorMetaData
public FontMetrics getFontMetrics(StyleSheet styleSheet) throws IllegalArgumentException
IllegalArgumentException
if the specified font family can not be
found and the default font family can not be foundgetFontMetrics
in interface OutputProcessorMetaData
styleSheet
- ths style sheet from which the font information will be extractedIllegalArgumentException
- indicated the font metrics could not be determined (this is thrown since methods depending upon this
method can not handle a null
return).public void commit()
commit
in interface OutputProcessorMetaData
public boolean isExtraContentElement(StyleSheet style, ReportAttributeMap attributes)
isExtraContentElement
in interface OutputProcessorMetaData
style
- attributes
- Copyright © 2017 Hitachi Vantara. All rights reserved.