|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jrefinery.report.targets.table.TableProducer
com.jrefinery.report.targets.table.rtf.RTFProducer
The TableProducer is responsible for creating the produced Table. After the writer has finished the band layout process, the layouted bands are forwarded into the TableProducer. The TableProducer coordinates the cell creation process and collects the generated TableCellData. The raw CellData objects are later transformed into a TableGridLayout. todo There is a memory leak when using iText fonts with that output target ... todo seems to be the same issue as with the PDF fonts a long time ago.
| Field Summary |
| Fields inherited from class com.jrefinery.report.targets.table.TableProducer |
AUTHOR, CREATOR, TITLE |
| Constructor Summary | |
RTFProducer(java.io.OutputStream outputStream,
boolean strictLayout)
Creates a new RTFProducer. |
|
| Method Summary | |
void |
beginPage(java.lang.String name)
Handles the start of a new page. |
void |
close()
Closes the report and finishs the report writing. |
void |
configure(java.util.Properties configuration)
Configures the table producer by reading the configuration settings from the given map. |
void |
endPage()
Handles the end of a page and performs the table layout for the current table. |
TableCellDataFactory |
getCellDataFactory()
Gets the TableProducer implementation of this TableProducer. |
boolean |
isOpen()
Returns true, if the TableProducer is open. |
void |
open()
Starts the report writing and opens the RTF document for writing. |
| Methods inherited from class com.jrefinery.report.targets.table.TableProducer |
addCell, clearCells, createTableCellStyle, getCellCount, getProperty, getProperty, getPropertyNames, isDummy, layoutGrid, processBand, setDummy, setProperty |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RTFProducer(java.io.OutputStream outputStream,
boolean strictLayout)
outputStream - the target output streamstrictLayout - the stric layout flag.
java.lang.NullPointerException - if the outputstream is null.| Method Detail |
public void open()
open in class TableProducerpublic void close()
close in class TableProducerpublic void endPage()
endPage in class TableProducerpublic void beginPage(java.lang.String name)
beginPage in class TableProducername - the page namepublic TableCellDataFactory getCellDataFactory()
getCellDataFactory in class TableProducerpublic boolean isOpen()
isOpen in class TableProducerpublic void configure(java.util.Properties configuration)
configure in class TableProducerconfiguration - the configuration supplied by the table processor.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||