org.pentaho.reporting.engine.classic.core.layout.output
Interface OutputProcessorMetaData

All Known Implementing Classes:
AbstractOutputProcessorMetaData, CSVOutputProcessorMetaData, ExcelOutputProcessorMetaData, GenericOutputProcessorMetaData, GraphicsOutputProcessorMetaData, HtmlOutputProcessorMetaData, PdfOutputProcessorMetaData, RTFOutputProcessorMetaData, StreamGraphicsOutputProcessorMetaData, TextOutputProcessorMetaData, XmlPageOutputProcessorMetaData, XmlTableOutputProcessorMetaData

public interface OutputProcessorMetaData

The output processor metadata contains global configuration settings for a give report processing run. It is tightly coupled to its output-processor and generally not interchangeable with output-processor-metadata objects from other output-processors.

The output processor meta-data object is statefull and must not be reused between different report processing runs.

Author:
Thomas Morgner

Method Summary
 void commit()
           
 ExtendedBaselineInfo getBaselineInfo(int codePoint, StyleSheet styleSheet)
           
 org.pentaho.reporting.libraries.base.config.Configuration getConfiguration()
           
 String getExportDescriptor()
          The export descriptor is a string that describes the output characteristics.
 org.pentaho.reporting.libraries.fonts.registry.FontMetrics getFontMetrics(StyleSheet styleSheet)
           
 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)
           
 

Method Detail

isFeatureSupported

boolean isFeatureSupported(OutputProcessorFeature.BooleanOutputProcessorFeature feature)

getNumericFeatureValue

double getNumericFeatureValue(OutputProcessorFeature.NumericOutputProcessorFeature feature)

isContentSupported

boolean isContentSupported(Object content)

getFontMetrics

org.pentaho.reporting.libraries.fonts.registry.FontMetrics getFontMetrics(StyleSheet styleSheet)

getBaselineInfo

ExtendedBaselineInfo getBaselineInfo(int codePoint,
                                     StyleSheet styleSheet)

getNormalizedFontFamilyName

String getNormalizedFontFamilyName(String name)

getExportDescriptor

String getExportDescriptor()
The export descriptor is a string that describes the output characteristics. For libLayout outputs, it should start with the output class (one of 'pageable', 'flow' or 'stream'), followed by '/liblayout/' and finally followed by the output type (ie. PDF, Print, etc).

Returns:
the export descriptor.

getConfiguration

org.pentaho.reporting.libraries.base.config.Configuration getConfiguration()

commit

void commit()

isExtraContentElement

boolean isExtraContentElement(StyleSheet style,
                              ReportAttributeMap attributes)
Checks whether this element provides some extra content that is not part of the visible layout structure. This can be embedded scripts, anchors etc.

Parameters:
style -
attributes -
Returns: