Class PatchRtfRow
- java.lang.Object
-
- com.lowagie.text.rtf.RtfElement
-
- org.pentaho.reporting.engine.classic.core.modules.output.table.rtf.itext.PatchRtfRow
-
- All Implemented Interfaces:
com.lowagie.text.rtf.RtfBasicElement
,com.lowagie.text.RtfElementInterface
public class PatchRtfRow extends com.lowagie.text.rtf.RtfElement
The PatchRtfRow wraps one Row for a PatchRtfTable. INTERNAL USE ONLY- Version:
- $Id: PatchRtfRow.java 3735 2009-02-26 01:44:03Z xlv $
- Author:
- Mark Hall (Mark.Hall@mail.room3b.eu), Steffen Stundzig, Lorenz Maierhofer, Thomas Bickel (tmb99@inode.at)
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
PatchRtfRow(com.lowagie.text.rtf.document.RtfDocument doc, PatchRtfTable PatchRtfTable, com.lowagie.text.pdf.PdfPRow row, int rowNumber)
Constructs a PatchRtfRow for a Row.protected
PatchRtfRow(com.lowagie.text.rtf.document.RtfDocument doc, PatchRtfTable PatchRtfTable, com.lowagie.text.Row row, int rowNumber)
Constructs a PatchRtfRow for a Row.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
cleanRow()
Cleans the deleted PatchRtfCells from the total PatchRtfCells.protected ArrayList<PatchRtfCell>
getCells()
Gets the cells of this PatchRtfRowprotected PatchRtfTable
getParentTable()
Gets the parent PatchRtfTable of this PatchRtfRowprotected void
handleCellSpanning()
Performs a second pass over all cells to handle cell row/column spanning.void
writeContent(OutputStream result)
Writes the content of this PatchRtfRow
-
-
-
Constructor Detail
-
PatchRtfRow
protected PatchRtfRow(com.lowagie.text.rtf.document.RtfDocument doc, PatchRtfTable PatchRtfTable, com.lowagie.text.Row row, int rowNumber)
Constructs a PatchRtfRow for a Row.- Parameters:
doc
- The RtfDocument this PatchRtfRow belongs toPatchRtfTable
- The PatchRtfTable this PatchRtfRow belongs torow
- The Row this PatchRtfRow is based onrowNumber
- The number of this row
-
PatchRtfRow
protected PatchRtfRow(com.lowagie.text.rtf.document.RtfDocument doc, PatchRtfTable PatchRtfTable, com.lowagie.text.pdf.PdfPRow row, int rowNumber)
Constructs a PatchRtfRow for a Row.- Parameters:
doc
- The RtfDocument this PatchRtfRow belongs toPatchRtfTable
- The PatchRtfTable this PatchRtfRow belongs torow
- The Row this PatchRtfRow is based onrowNumber
- The number of this row- Since:
- 2.1.3
-
-
Method Detail
-
handleCellSpanning
protected void handleCellSpanning()
Performs a second pass over all cells to handle cell row/column spanning.
-
cleanRow
protected void cleanRow()
Cleans the deleted PatchRtfCells from the total PatchRtfCells.
-
writeContent
public void writeContent(OutputStream result) throws IOException
Writes the content of this PatchRtfRow- Specified by:
writeContent
in interfacecom.lowagie.text.rtf.RtfBasicElement
- Specified by:
writeContent
in classcom.lowagie.text.rtf.RtfElement
- Throws:
IOException
-
getParentTable
protected PatchRtfTable getParentTable()
Gets the parent PatchRtfTable of this PatchRtfRow- Returns:
- The parent PatchRtfTable of this PatchRtfRow
-
getCells
protected ArrayList<PatchRtfCell> getCells()
Gets the cells of this PatchRtfRow- Returns:
- The cells of this PatchRtfRow
-
-