org.jfree.layouting.output

Class AbstractOutputProcessorMetaData

public abstract class AbstractOutputProcessorMetaData extends Object implements OutputProcessorMetaData

Creation-Date: 02.01.2006, 18:39:46

Author: Thomas Morgner

Constructor Summary
protected AbstractOutputProcessorMetaData(FontStorage fontStorage)
Method Summary
protected voidaddFeature(OutputProcessorFeature.BooleanOutputProcessorFeature feature)
PageSizegetDefaultPageSize()
FontFamilygetFontFamilyForGenericName(CSSConstant genericName)
FontMetricsgetFontMetrics(FontSpecification spec)
protected FontRegistrygetFontRegistry()
doublegetFontSize(CSSConstant constant)
FontStoragegetFontStorage()
Although most font systems are global, some may have some issues with caching.
intgetHorizontalPageSpan()
StringgetMediaType()
StringgetNormalizedFontFamilyName(String name)
doublegetNumericFeatureValue(OutputProcessorFeature.NumericOutputProcessorFeature feature)
Class[]getSupportedResourceTypes()
intgetVerticalPageSpan()
Returns the vertical page span.
booleanisFeatureSupported(OutputProcessorFeature.BooleanOutputProcessorFeature feature)
booleanisValid(FontSpecification spec)
protected voidsetFamilyMapping(CSSConstant family, String name)
protected voidsetNumericFeatureValue(OutputProcessorFeature.NumericOutputProcessorFeature feature, double value)

Constructor Detail

AbstractOutputProcessorMetaData

protected AbstractOutputProcessorMetaData(FontStorage fontStorage)

Method Detail

addFeature

protected void addFeature(OutputProcessorFeature.BooleanOutputProcessorFeature feature)

getDefaultPageSize

public PageSize getDefaultPageSize()

getFontFamilyForGenericName

public FontFamily getFontFamilyForGenericName(CSSConstant genericName)

getFontMetrics

public FontMetrics getFontMetrics(FontSpecification spec)

getFontRegistry

protected FontRegistry getFontRegistry()

getFontSize

public double getFontSize(CSSConstant constant)

getFontStorage

public FontStorage getFontStorage()
Although most font systems are global, some may have some issues with caching. OutputTargets may have to tweak the font storage system to their needs.

Returns:

getHorizontalPageSpan

public int getHorizontalPageSpan()

getMediaType

public String getMediaType()

getNormalizedFontFamilyName

public String getNormalizedFontFamilyName(String name)

getNumericFeatureValue

public double getNumericFeatureValue(OutputProcessorFeature.NumericOutputProcessorFeature feature)

getSupportedResourceTypes

public Class[] getSupportedResourceTypes()

getVerticalPageSpan

public int getVerticalPageSpan()
Returns the vertical page span. If the value is zero or negative, no

Returns:

isFeatureSupported

public boolean isFeatureSupported(OutputProcessorFeature.BooleanOutputProcessorFeature feature)

isValid

public boolean isValid(FontSpecification spec)

setFamilyMapping

protected void setFamilyMapping(CSSConstant family, String name)

setNumericFeatureValue

protected void setNumericFeatureValue(OutputProcessorFeature.NumericOutputProcessorFeature feature, double value)