public abstract class AbstractOutputMetaData extends Object implements LayoutOutputMetaData
| Modifier and Type | Method and Description |
|---|---|
void |
commit() |
org.pentaho.reporting.libraries.base.config.Configuration |
getConfiguration() |
CSSValue |
getDefaultFontFamily() |
PageSize |
getDefaultPageSize() |
org.pentaho.reporting.libraries.fonts.registry.FontMetrics |
getFontMetrics(LayoutStyle styleSheet)
Returns the font metrics for the font specified in the style sheet.
|
org.pentaho.reporting.libraries.fonts.registry.FontMetrics |
getFontMetrics(String fontFamily,
double fontSize,
boolean bold,
boolean italics,
String encoding,
boolean embedded,
boolean antiAliasing)
Computes the font-metrics using the given properties.
|
CSSValue |
getNormalizedFontFamilyName(CSSValue name)
Resolve one of the built-in fonts.
|
double |
getNumericFeatureValue(OutputProcessorFeature.NumericOutputProcessorFeature feature) |
boolean |
isContentSupported(Object content) |
boolean |
isFeatureSupported(OutputProcessorFeature.BooleanOutputProcessorFeature feature) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNormalizedFontFamilyName, getNormalizedFontFamilyNamepublic org.pentaho.reporting.libraries.base.config.Configuration getConfiguration()
public boolean isFeatureSupported(OutputProcessorFeature.BooleanOutputProcessorFeature feature)
isFeatureSupported in interface LayoutOutputMetaDatapublic double getNumericFeatureValue(OutputProcessorFeature.NumericOutputProcessorFeature feature)
getNumericFeatureValue in interface LayoutOutputMetaDatapublic boolean isContentSupported(Object content)
isContentSupported in interface LayoutOutputMetaDatapublic org.pentaho.reporting.libraries.fonts.registry.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 org.pentaho.reporting.libraries.fonts.registry.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 LayoutOutputMetaData