Package com.scroogexhtml.xmldom.table
Class TableSupportBase
java.lang.Object
com.scroogexhtml.xmldom.table.TableSupportBase
- All Implemented Interfaces:
TableWriter
- Direct Known Subclasses:
TableSupport
Provides low level properties and methods for the TableSupport class.
-
Constructor Summary
ConstructorsConstructorDescriptionTableSupportBase(Document document, TablePropConfiguration tablePropConfiguration) Constructs a new TableSupportBase instance with the specified document and table property configuration. -
Method Summary
Modifier and TypeMethodDescriptionintgetItap()booleanvoidsetBGColor(String paramValue) voidsetBorderColor(String newValue) voidsetBorderStyle(BorderStyle newValue) voidsetBorderWidth(int newValue) voidsetCellBorder(Border paramValue) voidsetCellVertAl(ClVertAl clVertAl) voidsetCellX(int twipsValue) voidsetCurrentPageWidth(int printablePageWidth) Sets the current page width.voidvoidsetRowBorder(Border paramValue) voidsetRowHeight(int rowHeightInTwips) voidsetTrLeft(int leftMarginTwips) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.scroogexhtml.table.TableWriter
closeNestedTable, closeTable, createAndConfigureTable, isInTableRowDefinition, nestedTableCellEnds, nestedTableRowEnds, tableCellEnds, tableRowDefaults, tableRowEnds
-
Constructor Details
-
TableSupportBase
Constructs a new TableSupportBase instance with the specified document and table property configuration.- Parameters:
document- The Document object.tablePropConfiguration- The configuration settings for table properties, including details about cell style conversion, width unit, and maximum table width percentage.
-
-
Method Details
-
setTrLeft
public void setTrLeft(int leftMarginTwips) - Specified by:
setTrLeftin interfaceTableWriter
-
setMergeCellWithPreceding
public void setMergeCellWithPreceding()- Specified by:
setMergeCellWithPrecedingin interfaceTableWriter
-
setBGColor
- Specified by:
setBGColorin interfaceTableWriter
-
setCellVertAl
- Specified by:
setCellVertAlin interfaceTableWriter
-
isInTable
public boolean isInTable()- Specified by:
isInTablein interfaceTableWriter
-
getCurrentTableCell
- Specified by:
getCurrentTableCellin interfaceTableWriter
-
getItap
public int getItap()- Specified by:
getItapin interfaceTableWriter
-
setCellBorder
- Specified by:
setCellBorderin interfaceTableWriter
-
setCellX
public void setCellX(int twipsValue) - Specified by:
setCellXin interfaceTableWriter
-
setRowBorder
- Specified by:
setRowBorderin interfaceTableWriter
-
setRowHeight
public void setRowHeight(int rowHeightInTwips) - Specified by:
setRowHeightin interfaceTableWriter
-
setBorderStyle
- Specified by:
setBorderStylein interfaceTableWriter
-
setBorderColor
- Specified by:
setBorderColorin interfaceTableWriter
-
setBorderWidth
public void setBorderWidth(int newValue) - Specified by:
setBorderWidthin interfaceTableWriter
-
setCurrentPageWidth
public void setCurrentPageWidth(int printablePageWidth) Sets the current page width.- Specified by:
setCurrentPageWidthin interfaceTableWriter- Parameters:
printablePageWidth- the width of the printable page in twips. If this value is less than or equal to zero, the default page width will be used.
-