public abstract class AbstractOutputMetaData extends Object implements LayoutOutputMetaData
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AbstractOutputMetaData.ReusableFontContext |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractOutputMetaData(org.pentaho.reporting.libraries.base.config.Configuration configuration) |
protected |
AbstractOutputMetaData(org.pentaho.reporting.libraries.base.config.Configuration configuration,
FontStorage fontStorage) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNormalizedFontFamilyName, getNormalizedFontFamilyNameprotected AbstractOutputMetaData(org.pentaho.reporting.libraries.base.config.Configuration configuration)
protected AbstractOutputMetaData(org.pentaho.reporting.libraries.base.config.Configuration configuration,
FontStorage fontStorage)
public org.pentaho.reporting.libraries.base.config.Configuration getConfiguration()
protected void addFeature(OutputProcessorFeature.BooleanOutputProcessorFeature feature)
protected void removeFeature(OutputProcessorFeature.BooleanOutputProcessorFeature feature)
public boolean isFeatureSupported(OutputProcessorFeature.BooleanOutputProcessorFeature feature)
isFeatureSupported in interface LayoutOutputMetaDataprotected void setNumericFeatureValue(OutputProcessorFeature.NumericOutputProcessorFeature feature, double value)
public double getNumericFeatureValue(OutputProcessorFeature.NumericOutputProcessorFeature feature)
getNumericFeatureValue in interface LayoutOutputMetaDatapublic boolean isContentSupported(Object content)
isContentSupported in interface LayoutOutputMetaDataprotected FontRegistry getFontRegistry()
protected FontStorage getFontStorage()
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 FontMetrics getFontMetrics(LayoutStyle styleSheet) throws IllegalArgumentException
IllegalArgumentException if the specified font family can not be
found and the default font family can not be foundgetFontMetrics in interface LayoutOutputMetaDatastyleSheet - 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()
public PageSize getDefaultPageSize()
getDefaultPageSize in interface LayoutOutputMetaDatapublic CSSValue getNormalizedFontFamilyName(CSSValue name)
name - public CSSValue getDefaultFontFamily()
getDefaultFontFamily in interface LayoutOutputMetaDataCopyright © 2020 Hitachi Vantara. All rights reserved.