org.pentaho.reporting.engine.classic.core.modules.output.table.rtf.helper
Class RTFOutputProcessorMetaData

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.layout.output.AbstractOutputProcessorMetaData
      extended by org.pentaho.reporting.engine.classic.core.modules.output.table.rtf.helper.RTFOutputProcessorMetaData
All Implemented Interfaces:
OutputProcessorMetaData

public class RTFOutputProcessorMetaData
extends AbstractOutputProcessorMetaData

Creation-Date: 09.05.2007, 14:39:13

Author:
Thomas Morgner

Field Summary
static OutputProcessorFeature.BooleanOutputProcessorFeature IMAGES_ENABLED
           
static int PAGINATION_FULL
           
static int PAGINATION_MANUAL
           
static int PAGINATION_NONE
           
 
Constructor Summary
RTFOutputProcessorMetaData(org.pentaho.reporting.libraries.base.config.Configuration configuration, int paginationMode)
           
 
Method Summary
 org.pentaho.reporting.libraries.fonts.itext.BaseFontFontMetrics getBaseFontFontMetrics(String fontFamily, double fontSize, boolean bold, boolean italics, String encoding, boolean embedded, boolean antiAliasing)
          This method goes away as soon as we no longer rely on iText for RTF export.
 String getExportDescriptor()
          The export descriptor is a string that describes the output characteristics.
 org.pentaho.reporting.libraries.fonts.itext.ITextFontStorage getITextFontStorage()
           
 String getNormalizedFontFamilyName(String name)
           
 
Methods inherited from class org.pentaho.reporting.engine.classic.core.layout.output.AbstractOutputProcessorMetaData
commit, getBaselineInfo, getConfiguration, getFontMetrics, getFontMetrics, getNumericFeatureValue, isContentSupported, isExtraContentElement, isFeatureSupported
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PAGINATION_NONE

public static final int PAGINATION_NONE
See Also:
Constant Field Values

PAGINATION_MANUAL

public static final int PAGINATION_MANUAL
See Also:
Constant Field Values

PAGINATION_FULL

public static final int PAGINATION_FULL
See Also:
Constant Field Values

IMAGES_ENABLED

public static final OutputProcessorFeature.BooleanOutputProcessorFeature IMAGES_ENABLED
Constructor Detail

RTFOutputProcessorMetaData

public RTFOutputProcessorMetaData(org.pentaho.reporting.libraries.base.config.Configuration configuration,
                                  int paginationMode)
Method Detail

getExportDescriptor

public 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.

getNormalizedFontFamilyName

public String getNormalizedFontFamilyName(String name)
Specified by:
getNormalizedFontFamilyName in interface OutputProcessorMetaData
Overrides:
getNormalizedFontFamilyName in class AbstractOutputProcessorMetaData
Parameters:
name - the raw name, maybe null.
Returns:
the normalized name, but never null.

getITextFontStorage

public org.pentaho.reporting.libraries.fonts.itext.ITextFontStorage getITextFontStorage()

getBaseFontFontMetrics

public org.pentaho.reporting.libraries.fonts.itext.BaseFontFontMetrics getBaseFontFontMetrics(String fontFamily,
                                                                                              double fontSize,
                                                                                              boolean bold,
                                                                                              boolean italics,
                                                                                              String encoding,
                                                                                              boolean embedded,
                                                                                              boolean antiAliasing)
                                                                                       throws IllegalArgumentException
This method goes away as soon as we no longer rely on iText for RTF export.

Parameters:
fontFamily -
fontSize -
bold -
italics -
encoding -
embedded -
antiAliasing -
Returns:
Throws:
IllegalArgumentException