public final class DefaultRenderableTextFactory extends Object implements RenderableTextFactory
Constructor and Description |
---|
DefaultRenderableTextFactory(OutputProcessorMetaData metaData) |
Modifier and Type | Method and Description |
---|---|
protected void |
addGlyph(int[] text,
int offset,
int extraCharCount) |
protected void |
addWord(boolean forceLinebreak) |
protected BreakOpportunityProducer |
createBreakProducer(StyleSheet layoutContext) |
protected FontSizeProducer |
createFontSizeProducer(StyleSheet layoutContext) |
protected GlyphClassificationProducer |
createGlyphClassifier(StyleSheet layoutContext) |
protected KerningProducer |
createKerningProducer(StyleSheet layoutContext) |
protected 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 WhiteSpaceFilter |
createWhitespaceFilter(StyleSheet layoutContext) |
RenderNode[] |
finishText() |
protected RenderNode[] |
processText(int[] text,
int offset,
int length) |
void |
startText() |
public DefaultRenderableTextFactory(OutputProcessorMetaData metaData)
public RenderNode[] createText(int[] text, int offset, int length, StyleSheet layoutContext, ElementType elementType, InstanceID instanceId, ReportAttributeMap<Object> attributeMap)
createText
in interface RenderableTextFactory
text
- protected RenderNode[] processText(int[] text, int offset, int length)
protected void addGlyph(int[] text, int offset, int extraCharCount)
protected void addWord(boolean forceLinebreak)
protected WhiteSpaceFilter createWhitespaceFilter(StyleSheet layoutContext)
protected GlyphClassificationProducer createGlyphClassifier(StyleSheet layoutContext)
protected BreakOpportunityProducer createBreakProducer(StyleSheet layoutContext)
protected SpacingProducer createSpacingProducer(StyleSheet layoutContext)
protected FontSizeProducer createFontSizeProducer(StyleSheet layoutContext)
protected KerningProducer createKerningProducer(StyleSheet layoutContext)
public RenderNode[] finishText()
finishText
in interface RenderableTextFactory
public void startText()
startText
in interface RenderableTextFactory
Copyright © 2002–2017 Pentaho Corporation. All rights reserved.