info.informatica.report.pdf
Class PdfTableWrapper

java.lang.Object
  extended by info.informatica.report.block.TablePrinter
      extended by info.informatica.report.pdf.PdfTableWrapper
All Implemented Interfaces:
info.informatica.doc.dom4j.TableRenderer, NativeWrapper

public class PdfTableWrapper
extends TablePrinter

A PDF table.

Author:
amengual at informatica dot info

Nested Class Summary
 
Nested classes/interfaces inherited from class info.informatica.report.block.TablePrinter
TablePrinter.CellIndex
 
Constructor Summary
PdfTableWrapper(AbstractTableBlock tableblock)
           
 
Method Summary
 void endRow()
           
 void endTable()
           
 Object getRenderedObject()
          Get the native rendered object.
 void initHeader()
           
 void initRender(ReportWriter writer)
          Initialize the wrapper for rendering the block.
 void printCell(info.informatica.doc.dom4j.CSSStylableElement element, String cellValue)
           
 void printHeaderCell(info.informatica.doc.dom4j.CSSStylableElement element, String cellValue)
           
 void startRow(info.informatica.doc.dom4j.CSSStylableElement element)
           
 
Methods inherited from class info.informatica.report.block.TablePrinter
getTableBlock
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PdfTableWrapper

public PdfTableWrapper(AbstractTableBlock tableblock)
Method Detail

initRender

public void initRender(ReportWriter writer)
                throws info.informatica.doc.RenderingException
Description copied from interface: NativeWrapper
Initialize the wrapper for rendering the block.

Specified by:
initRender in interface NativeWrapper
Overrides:
initRender in class TablePrinter
Parameters:
writer - the report writer.
Throws:
info.informatica.doc.RenderingException - if any problem happened.

initHeader

public void initHeader()
Specified by:
initHeader in interface info.informatica.doc.dom4j.TableRenderer
Specified by:
initHeader in class TablePrinter

printHeaderCell

public void printHeaderCell(info.informatica.doc.dom4j.CSSStylableElement element,
                            String cellValue)
Specified by:
printHeaderCell in interface info.informatica.doc.dom4j.TableRenderer
Specified by:
printHeaderCell in class TablePrinter

printCell

public void printCell(info.informatica.doc.dom4j.CSSStylableElement element,
                      String cellValue)
Specified by:
printCell in interface info.informatica.doc.dom4j.TableRenderer
Specified by:
printCell in class TablePrinter

endTable

public void endTable()
              throws info.informatica.doc.RenderingException
Specified by:
endTable in interface info.informatica.doc.dom4j.TableRenderer
Specified by:
endTable in class TablePrinter
Throws:
info.informatica.doc.RenderingException

getRenderedObject

public Object getRenderedObject()
Description copied from interface: NativeWrapper
Get the native rendered object.

Specified by:
getRenderedObject in interface NativeWrapper
Specified by:
getRenderedObject in class TablePrinter
Returns:
the rendered object, or null if the block has not been rendered yet.

startRow

public void startRow(info.informatica.doc.dom4j.CSSStylableElement element)
Specified by:
startRow in interface info.informatica.doc.dom4j.TableRenderer
Specified by:
startRow in class TablePrinter

endRow

public void endRow()
Specified by:
endRow in interface info.informatica.doc.dom4j.TableRenderer
Specified by:
endRow in class TablePrinter