Class DefaultRenderableTextFactory
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.layout.text.DefaultRenderableTextFactory
-
- All Implemented Interfaces:
RenderableTextFactory
public final class DefaultRenderableTextFactory extends Object implements RenderableTextFactory
Creation-Date: 03.04.2007, 16:43:48- Author:
- Thomas Morgner
-
-
Constructor Summary
Constructors Constructor Description DefaultRenderableTextFactory(OutputProcessorMetaData metaData)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addGlyph(int[] text, int offset, int extraCharCount)
protected void
addWord(boolean forceLinebreak)
protected org.pentaho.reporting.libraries.fonts.text.breaks.BreakOpportunityProducer
createBreakProducer(StyleSheet layoutContext)
protected org.pentaho.reporting.libraries.fonts.text.font.FontSizeProducer
createFontSizeProducer(StyleSheet layoutContext)
protected org.pentaho.reporting.libraries.fonts.text.classifier.GlyphClassificationProducer
createGlyphClassifier(StyleSheet layoutContext)
protected org.pentaho.reporting.libraries.fonts.text.font.KerningProducer
createKerningProducer(StyleSheet layoutContext)
protected org.pentaho.reporting.libraries.fonts.text.SpacingProducer
createSpacingProducer(StyleSheet layoutContext)
RenderNode[]
createText(int[] text, int offset, int length, StyleSheet layoutContext, ElementType elementType, InstanceID instanceId, ReportAttributeMap<Object> attributeMap)
The text is given as CodePoints.protected org.pentaho.reporting.libraries.fonts.text.whitespace.WhiteSpaceFilter
createWhitespaceFilter(StyleSheet layoutContext)
RenderNode[]
finishText()
protected RenderNode[]
processText(int[] text, int offset, int length)
void
startText()
-
-
-
Constructor Detail
-
DefaultRenderableTextFactory
public DefaultRenderableTextFactory(OutputProcessorMetaData metaData)
-
-
Method Detail
-
createText
public RenderNode[] createText(int[] text, int offset, int length, StyleSheet layoutContext, ElementType elementType, InstanceID instanceId, ReportAttributeMap<Object> attributeMap)
The text is given as CodePoints.- Specified by:
createText
in interfaceRenderableTextFactory
- Parameters:
text
-- Returns:
-
processText
protected RenderNode[] processText(int[] text, int offset, int length)
-
addGlyph
protected void addGlyph(int[] text, int offset, int extraCharCount)
-
addWord
protected void addWord(boolean forceLinebreak)
-
createWhitespaceFilter
protected org.pentaho.reporting.libraries.fonts.text.whitespace.WhiteSpaceFilter createWhitespaceFilter(StyleSheet layoutContext)
-
createGlyphClassifier
protected org.pentaho.reporting.libraries.fonts.text.classifier.GlyphClassificationProducer createGlyphClassifier(StyleSheet layoutContext)
-
createBreakProducer
protected org.pentaho.reporting.libraries.fonts.text.breaks.BreakOpportunityProducer createBreakProducer(StyleSheet layoutContext)
-
createSpacingProducer
protected org.pentaho.reporting.libraries.fonts.text.SpacingProducer createSpacingProducer(StyleSheet layoutContext)
-
createFontSizeProducer
protected org.pentaho.reporting.libraries.fonts.text.font.FontSizeProducer createFontSizeProducer(StyleSheet layoutContext)
-
createKerningProducer
protected org.pentaho.reporting.libraries.fonts.text.font.KerningProducer createKerningProducer(StyleSheet layoutContext)
-
finishText
public RenderNode[] finishText()
- Specified by:
finishText
in interfaceRenderableTextFactory
-
startText
public void startText()
- Specified by:
startText
in interfaceRenderableTextFactory
-
-