org.pentaho.reporting.engine.classic.core.modules.output.table.html
Class HtmlTextExtractor

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.layout.process.IterateStructuralProcessStep
      extended by org.pentaho.reporting.engine.classic.core.modules.output.table.base.DefaultTextExtractor
          extended by org.pentaho.reporting.engine.classic.core.modules.output.table.html.HtmlTextExtractor

public class HtmlTextExtractor
extends DefaultTextExtractor

Creation-Date: 02.11.2007, 15:58:29

Author:
Thomas Morgner

Constructor Summary
HtmlTextExtractor(OutputProcessorMetaData metaData, org.pentaho.reporting.libraries.xmlns.writer.XmlWriter xmlWriter, StyleManager styleManager, HtmlContentGenerator contentGenerator)
           
 
Method Summary
 void finishCanvasBox(CanvasRenderBox box)
           
 boolean performOutput(RenderBox content, StyleBuilder.StyleCarrier[] cellStyle)
           
 boolean startCanvasBox(CanvasRenderBox box)
          Prints the contents of a canvas box.
 
Methods inherited from class org.pentaho.reporting.engine.classic.core.modules.output.table.base.DefaultTextExtractor
compute, getFormattedtext, getRawResult, getRawSource, getText, getTextLength, isOverflowX, isOverflowY, isTextLineOverflow
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlTextExtractor

public HtmlTextExtractor(OutputProcessorMetaData metaData,
                         org.pentaho.reporting.libraries.xmlns.writer.XmlWriter xmlWriter,
                         StyleManager styleManager,
                         HtmlContentGenerator contentGenerator)
Method Detail

performOutput

public boolean performOutput(RenderBox content,
                             StyleBuilder.StyleCarrier[] cellStyle)
                      throws IOException
Throws:
IOException

startCanvasBox

public boolean startCanvasBox(CanvasRenderBox box)
Prints the contents of a canvas box. This can happen only once per cell, as every canvas box creates its own cell at some point. If for some strange reason a canvas box appears in the middle of a box-structure, your layouter is probably a mess and this method will treat the box as a generic content container.

Overrides:
startCanvasBox in class DefaultTextExtractor
Parameters:
box - the canvas box
Returns:
true, if the child content will be processed, false otherwise.

finishCanvasBox

public void finishCanvasBox(CanvasRenderBox box)