public class DefaultTextExtractor extends IterateStructuralProcessStep
Constructor and Description |
---|
DefaultTextExtractor(OutputProcessorMetaData metaData) |
finishAutoBox, finishBlockBox, finishCanvasBox, finishInlineBox, finishOtherBox, finishRowBox, finishTableBox, finishTableCellBox, finishTableColumnGroupBox, finishTableRowBox, finishTableSectionBox, processBoxChilds, processTableColumn, startProcessing
public DefaultTextExtractor(OutputProcessorMetaData metaData)
protected CodePointBuffer getCodePointBuffer()
public String getFormattedtext()
protected void processOtherNode(RenderNode node)
processOtherNode
in class IterateStructuralProcessStep
protected void drawText(RenderableText renderableText, long contentX2)
renderableText
- the text node that should be rendered.contentX2
- protected void drawComplexText(RenderableComplexText renderableComplexText)
protected boolean startOtherBox(RenderBox box)
startOtherBox
in class IterateStructuralProcessStep
protected boolean isContentField(RenderBox box)
protected boolean startCanvasBox(CanvasRenderBox box)
startCanvasBox
in class IterateStructuralProcessStep
protected void processRenderableContent(RenderableReplacedContentBox box)
processRenderableContent
in class IterateStructuralProcessStep
protected boolean startBlockBox(BlockRenderBox box)
startBlockBox
in class IterateStructuralProcessStep
protected boolean startRowBox(RenderBox box)
startRowBox
in class IterateStructuralProcessStep
public RenderNode getRawSource()
protected boolean startInlineBox(InlineRenderBox box)
startInlineBox
in class IterateStructuralProcessStep
protected boolean startTableCellBox(TableCellRenderBox box)
startTableCellBox
in class IterateStructuralProcessStep
protected boolean startTableRowBox(TableRowRenderBox box)
startTableRowBox
in class IterateStructuralProcessStep
protected boolean startTableSectionBox(TableSectionRenderBox box)
startTableSectionBox
in class IterateStructuralProcessStep
protected boolean startTableColumnGroupBox(TableColumnGroupNode box)
startTableColumnGroupBox
in class IterateStructuralProcessStep
protected boolean startTableBox(TableRenderBox box)
startTableBox
in class IterateStructuralProcessStep
protected boolean startAutoBox(RenderBox box)
startAutoBox
in class IterateStructuralProcessStep
protected void processParagraphChilds(ParagraphRenderBox box)
processParagraphChilds
in class IterateStructuralProcessStep
protected void addEmptyBreak()
protected void addSoftBreak()
protected void addLinebreak()
protected void processTextLine(RenderBox lineBox, long contentAreaX1, long contentAreaX2)
public Object getRawResult()
protected void setRawResult(Object rawResult)
public String getText()
public int getTextLength()
protected void clearText()
protected StrictBounds getParagraphBounds()
public boolean isTextLineOverflow()
public boolean isOverflowX()
public boolean isOverflowY()
Copyright © 2002–2017 Pentaho Corporation. All rights reserved.