public class RtfRow extends RtfElement
document, inHeader, inTableCLOSE_GROUP, COMMA_DELIMITER, DELIMITER, OPEN_GROUP, TWIPS_FACTOR| Modifier | Constructor and Description |
|---|---|
protected |
RtfRow(RtfDocument doc,
RtfTable rtfTable,
PdfPRow row,
int rowNumber)
Constructs a RtfRow for a Row.
|
protected |
RtfRow(RtfDocument doc,
RtfTable rtfTable,
Row row,
int rowNumber)
Constructs a RtfRow for a Row.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
cleanRow()
Cleans the deleted RtfCells from the total RtfCells.
|
protected ArrayList |
getCells()
Gets the cells of this RtfRow
|
protected RtfTable |
getParentTable()
Gets the parent RtfTable of this RtfRow
|
protected void |
handleCellSpanning()
Performs a second pass over all cells to handle cell row/column spanning.
|
void |
writeContent(OutputStream result)
Writes the content of this RtfRow
|
intToByteArray, isInTable, setInHeader, setInTable, setRtfDocumentprotected RtfRow(RtfDocument doc, RtfTable rtfTable, Row row, int rowNumber)
doc - The RtfDocument this RtfRow belongs tortfTable - The RtfTable this RtfRow belongs torow - The Row this RtfRow is based onrowNumber - The number of this rowprotected RtfRow(RtfDocument doc, RtfTable rtfTable, PdfPRow row, int rowNumber)
doc - The RtfDocument this RtfRow belongs tortfTable - The RtfTable this RtfRow belongs torow - The Row this RtfRow is based onrowNumber - The number of this rowprotected void handleCellSpanning()
protected void cleanRow()
public void writeContent(OutputStream result) throws IOException
writeContent in interface RtfBasicElementwriteContent in class RtfElementresult - The OutputStream to write the content toIOExceptionprotected RtfTable getParentTable()
protected ArrayList getCells()
Copyright © 2015. All rights reserved.