OutputProcessorMetaData
GraphicsOutputProcessorMetaData
, HtmlOutputProcessorMetaData
, PdfOutputProcessorMetaData
, PlaintextOutputMetaData
public abstract class AbstractOutputProcessorMetaData extends java.lang.Object implements OutputProcessorMetaData
Modifier | Constructor | Description |
---|---|---|
protected |
AbstractOutputProcessorMetaData(org.pentaho.reporting.libraries.fonts.registry.FontStorage fontStorage) |
Modifier and Type | Method | Description |
---|---|---|
protected void |
addFeature(OutputProcessorFeature.BooleanOutputProcessorFeature feature) |
|
PageSize |
getDefaultPageSize() |
Returns the default physical page size.
|
org.pentaho.reporting.libraries.fonts.registry.FontFamily |
getFontFamilyForGenericName(CSSConstant genericName) |
|
org.pentaho.reporting.libraries.fonts.registry.FontMetrics |
getFontMetrics(FontSpecification spec) |
|
protected org.pentaho.reporting.libraries.fonts.registry.FontRegistry |
getFontRegistry() |
|
double |
getFontSize(CSSConstant constant) |
|
org.pentaho.reporting.libraries.fonts.registry.FontStorage |
getFontStorage() |
Although most font systems are global, some may have some issues with
caching.
|
int |
getHorizontalPageSpan() |
Returns the horizontal page span.
|
java.lang.String |
getMediaType() |
Returns the media type of the output target.
|
java.lang.String |
getNormalizedFontFamilyName(java.lang.String name) |
|
double |
getNumericFeatureValue(OutputProcessorFeature.NumericOutputProcessorFeature feature) |
|
java.lang.Class[] |
getSupportedResourceTypes() |
|
int |
getVerticalPageSpan() |
Returns the vertical page span.
|
boolean |
isFeatureSupported(OutputProcessorFeature.BooleanOutputProcessorFeature feature) |
|
boolean |
isValid(FontSpecification spec) |
|
protected void |
setFamilyMapping(CSSConstant family,
java.lang.String name) |
|
protected void |
setNumericFeatureValue(OutputProcessorFeature.NumericOutputProcessorFeature feature,
double value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDefaultFontFamily, getExportDescriptor, isIterative
protected AbstractOutputProcessorMetaData(org.pentaho.reporting.libraries.fonts.registry.FontStorage fontStorage)
protected void setFamilyMapping(CSSConstant family, java.lang.String name)
public double getFontSize(CSSConstant constant)
getFontSize
in interface OutputProcessorMetaData
protected void addFeature(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 org.pentaho.reporting.libraries.fonts.registry.FontStorage getFontStorage()
getFontStorage
in interface OutputProcessorMetaData
public java.lang.String getNormalizedFontFamilyName(java.lang.String name)
getNormalizedFontFamilyName
in interface OutputProcessorMetaData
public org.pentaho.reporting.libraries.fonts.registry.FontFamily getFontFamilyForGenericName(CSSConstant genericName)
getFontFamilyForGenericName
in interface OutputProcessorMetaData
protected org.pentaho.reporting.libraries.fonts.registry.FontRegistry getFontRegistry()
public PageSize getDefaultPageSize()
OutputProcessorMetaData
getDefaultPageSize
in interface OutputProcessorMetaData
public int getVerticalPageSpan()
getVerticalPageSpan
in interface OutputProcessorMetaData
public int getHorizontalPageSpan()
OutputProcessorMetaData
getHorizontalPageSpan
in interface OutputProcessorMetaData
public java.lang.String getMediaType()
OutputProcessorMetaData
getMediaType
in interface OutputProcessorMetaData
public boolean isValid(FontSpecification spec)
isValid
in interface OutputProcessorMetaData
public org.pentaho.reporting.libraries.fonts.registry.FontMetrics getFontMetrics(FontSpecification spec)
getFontMetrics
in interface OutputProcessorMetaData
public java.lang.Class[] getSupportedResourceTypes()
getSupportedResourceTypes
in interface OutputProcessorMetaData