Class PdfOutputProcessorMetaData
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.layout.output.AbstractOutputProcessorMetaData
-
- org.pentaho.reporting.engine.classic.core.modules.output.pageable.pdf.internal.PdfOutputProcessorMetaData
-
- All Implemented Interfaces:
OutputProcessorMetaData
public class PdfOutputProcessorMetaData extends AbstractOutputProcessorMetaData
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.pentaho.reporting.engine.classic.core.layout.output.AbstractOutputProcessorMetaData
AbstractOutputProcessorMetaData.ReusableFontContext
-
-
Constructor Summary
Constructors Constructor Description PdfOutputProcessorMetaData(org.pentaho.reporting.libraries.fonts.itext.ITextFontStorage fontStorage)
-
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)
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)
boolean
isExtraContentElement(StyleSheet style, ReportAttributeMap attributes)
Checks whether this element provides some extra content that is not part of the visible layout structure.-
Methods inherited from class org.pentaho.reporting.engine.classic.core.layout.output.AbstractOutputProcessorMetaData
addFeature, commit, getAutoCorrectFontMetrics, getBaselineInfo, getConfiguration, getFontMetrics, getFontMetrics, getFontRegistry, getFontStorage, getNumericFeatureValue, isContentSupported, isFeatureSupported, removeFeature, setFamilyMapping, setNumericFeatureValue
-
-
-
-
Method Detail
-
initialize
public void initialize(org.pentaho.reporting.libraries.base.config.Configuration configuration)
- Specified by:
initialize
in interfaceOutputProcessorMetaData
- Overrides:
initialize
in classAbstractOutputProcessorMetaData
-
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.
-
getExportDescriptor
public String getExportDescriptor()
Description copied from interface:OutputProcessorMetaData
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.
-
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
- Throws:
IllegalArgumentException
-
isExtraContentElement
public 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.- Specified by:
isExtraContentElement
in interfaceOutputProcessorMetaData
- Overrides:
isExtraContentElement
in classAbstractOutputProcessorMetaData
- Parameters:
style
-attributes
-- Returns:
-
-