Package com.scroogexhtml.xmldom.table
Class TableSupport
- java.lang.Object
-
- com.scroogexhtml.xmldom.table.TableSupport
-
- All Implemented Interfaces:
TableWriter
public class TableSupport extends Object implements TableWriter
TableSupport is used to build the DOM which represents an RTF table.
-
-
Constructor Summary
Constructors Constructor Description TableSupport(Document doc, Properties outputProperties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
closeTable()
Element
getCurrentTableCell()
Node
getTable()
boolean
isInRow()
boolean
isInTable()
void
setBGColor(String paramValue)
void
setBorderColor(String newValue)
void
setBorderStyle(BorderStyle newValue)
void
setBorderWidth(int newValue)
void
setCellBorder(Border paramValue)
void
setCellVertAl(ClVertAl al)
void
setCellX(int paramValue)
void
setMergeCellWithPreceding()
void
setRowBorder(Border paramValue)
void
setRowHeight(int abs)
void
setTrLeft(int paramValue)
void
tableCellEnds()
void
tableRowEnd()
void
tableRowStart()
Called when \trowd was detected
-
-
-
Constructor Detail
-
TableSupport
public TableSupport(Document doc, Properties outputProperties)
-
-
Method Detail
-
tableRowStart
public void tableRowStart()
Called when \trowd was detected- Specified by:
tableRowStart
in interfaceTableWriter
-
tableRowEnd
public void tableRowEnd()
- Specified by:
tableRowEnd
in interfaceTableWriter
-
closeTable
public void closeTable()
- Specified by:
closeTable
in interfaceTableWriter
-
getTable
public Node getTable()
- Specified by:
getTable
in interfaceTableWriter
-
tableCellEnds
public void tableCellEnds()
- Specified by:
tableCellEnds
in interfaceTableWriter
-
isInTable
public boolean isInTable()
- Specified by:
isInTable
in interfaceTableWriter
-
isInRow
public boolean isInRow()
- Specified by:
isInRow
in interfaceTableWriter
-
getCurrentTableCell
public Element getCurrentTableCell()
- Specified by:
getCurrentTableCell
in interfaceTableWriter
-
setCellX
public void setCellX(int paramValue)
- Specified by:
setCellX
in interfaceTableWriter
-
setRowBorder
public void setRowBorder(Border paramValue)
- Specified by:
setRowBorder
in interfaceTableWriter
-
setRowHeight
public void setRowHeight(int abs)
- Specified by:
setRowHeight
in interfaceTableWriter
-
setBorderStyle
public void setBorderStyle(BorderStyle newValue)
- Specified by:
setBorderStyle
in interfaceTableWriter
-
setBorderColor
public void setBorderColor(String newValue)
- Specified by:
setBorderColor
in interfaceTableWriter
-
setBorderWidth
public void setBorderWidth(int newValue)
- Specified by:
setBorderWidth
in interfaceTableWriter
-
setTrLeft
public void setTrLeft(int paramValue)
- Specified by:
setTrLeft
in interfaceTableWriter
-
setCellBorder
public void setCellBorder(Border paramValue)
- Specified by:
setCellBorder
in interfaceTableWriter
-
setMergeCellWithPreceding
public void setMergeCellWithPreceding()
- Specified by:
setMergeCellWithPreceding
in interfaceTableWriter
-
setBGColor
public void setBGColor(String paramValue)
- Specified by:
setBGColor
in interfaceTableWriter
-
setCellVertAl
public void setCellVertAl(ClVertAl al)
- Specified by:
setCellVertAl
in interfaceTableWriter
-
-