|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.reporting.engine.classic.core.layout.output.AbstractOutputProcessorMetaData
public abstract class AbstractOutputProcessorMetaData
Creation-Date: 07.04.2007, 19:21:44
Method Summary | |
---|---|
void |
commit()
|
ExtendedBaselineInfo |
getBaselineInfo(int codePoint,
StyleSheet styleSheet)
|
org.pentaho.reporting.libraries.base.config.Configuration |
getConfiguration()
|
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. |
org.pentaho.reporting.libraries.fonts.registry.FontMetrics |
getFontMetrics(StyleSheet styleSheet)
Returns the font metrics for the font specified in the style sheet. |
String |
getNormalizedFontFamilyName(String name)
|
double |
getNumericFeatureValue(OutputProcessorFeature.NumericOutputProcessorFeature feature)
|
boolean |
isContentSupported(Object content)
|
boolean |
isExtraContentElement(StyleSheet style,
ReportAttributeMap attributes)
Checks whether this element provides some extra content that is not part of the visible layout structure. |
boolean |
isFeatureSupported(OutputProcessorFeature.BooleanOutputProcessorFeature feature)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.pentaho.reporting.engine.classic.core.layout.output.OutputProcessorMetaData |
---|
getExportDescriptor |
Method Detail |
---|
public org.pentaho.reporting.libraries.base.config.Configuration getConfiguration()
getConfiguration
in interface OutputProcessorMetaData
public boolean isFeatureSupported(OutputProcessorFeature.BooleanOutputProcessorFeature feature)
isFeatureSupported
in interface OutputProcessorMetaData
public double getNumericFeatureValue(OutputProcessorFeature.NumericOutputProcessorFeature feature)
getNumericFeatureValue
in interface OutputProcessorMetaData
public boolean isContentSupported(Object content)
isContentSupported
in interface OutputProcessorMetaData
public String getNormalizedFontFamilyName(String name)
getNormalizedFontFamilyName
in interface OutputProcessorMetaData
name
- the raw name, maybe null.
public 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 ExtendedBaselineInfo getBaselineInfo(int codePoint, StyleSheet styleSheet)
getBaselineInfo
in interface OutputProcessorMetaData
public org.pentaho.reporting.libraries.fonts.registry.FontMetrics getFontMetrics(StyleSheet styleSheet) throws IllegalArgumentException
IllegalArgumentException
if the specified font family can not be
found and the default font family can not be found
getFontMetrics
in interface OutputProcessorMetaData
styleSheet
- ths style sheet from which the font information will be extracted
IllegalArgumentException
- 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
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |