Class RTFOutputProcessorMetaData
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.layout.output.AbstractOutputProcessorMetaData
-
- org.pentaho.reporting.engine.classic.core.modules.output.table.rtf.helper.RTFOutputProcessorMetaData
-
- All Implemented Interfaces:
OutputProcessorMetaData
public class RTFOutputProcessorMetaData extends AbstractOutputProcessorMetaData
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.pentaho.reporting.engine.classic.core.layout.output.AbstractOutputProcessorMetaData
AbstractOutputProcessorMetaData.ReusableFontContext
-
-
Field Summary
Fields Modifier and Type Field Description static OutputProcessorFeature.BooleanOutputProcessorFeature
IMAGES_ENABLED
static int
PAGINATION_FULL
static int
PAGINATION_MANUAL
static int
PAGINATION_NONE
-
Constructor Summary
Constructors Constructor Description RTFOutputProcessorMetaData(int paginationMode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
void
initialize(org.pentaho.reporting.libraries.base.config.Configuration configuration)
-
Methods inherited from class org.pentaho.reporting.engine.classic.core.layout.output.AbstractOutputProcessorMetaData
addFeature, commit, getAutoCorrectFontMetrics, getBaselineInfo, getConfiguration, getFontMetrics, getFontMetrics, getFontRegistry, getFontStorage, getNumericFeatureValue, isContentSupported, isExtraContentElement, isFeatureSupported, removeFeature, setFamilyMapping, setNumericFeatureValue
-
-
-
-
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
-
-
Method Detail
-
initialize
public void initialize(org.pentaho.reporting.libraries.base.config.Configuration configuration)
- Specified by:
initialize
in interfaceOutputProcessorMetaData
- Overrides:
initialize
in classAbstractOutputProcessorMetaData
-
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 interfaceOutputProcessorMetaData
- Overrides:
getNormalizedFontFamilyName
in classAbstractOutputProcessorMetaData
- 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
-
-