org.pentaho.reporting.engine.classic.core.modules.output.pageable.pdf.internal
Class PdfOutputProcessorMetaData

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.layout.output.AbstractOutputProcessorMetaData
      extended by org.pentaho.reporting.engine.classic.core.modules.output.pageable.pdf.internal.PdfOutputProcessorMetaData
All Implemented Interfaces:
OutputProcessorMetaData

public class PdfOutputProcessorMetaData
extends AbstractOutputProcessorMetaData

Creation-Date: 12.05.2007, 20:16:18

Author:
Thomas Morgner

Constructor Summary
PdfOutputProcessorMetaData(org.pentaho.reporting.libraries.base.config.Configuration configuration, org.pentaho.reporting.libraries.fonts.itext.ITextFontStorage fontStorage)
           
 
Method Summary
 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)
           
 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
commit, getBaselineInfo, getConfiguration, getFontMetrics, getFontMetrics, getNumericFeatureValue, isContentSupported, isFeatureSupported
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PdfOutputProcessorMetaData

public PdfOutputProcessorMetaData(org.pentaho.reporting.libraries.base.config.Configuration configuration,
                                  org.pentaho.reporting.libraries.fonts.itext.ITextFontStorage fontStorage)
Method Detail

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.

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 interface OutputProcessorMetaData
Overrides:
isExtraContentElement in class AbstractOutputProcessorMetaData
Parameters:
style -
attributes -
Returns: