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 TypeMethodDescriptionint
getItap()
boolean
void
setBGColor
(String paramValue) void
setBorderColor
(String newValue) void
setBorderStyle
(BorderStyle newValue) void
setBorderWidth
(int newValue) void
setCellBorder
(Border paramValue) void
setCellVertAl
(ClVertAl clVertAl) void
setCellX
(int twipsValue) void
setCurrentPageWidth
(int printablePageWidth) Sets the current page width.void
void
setRowBorder
(Border paramValue) void
setRowHeight
(int rowHeightInTwips) void
setTrLeft
(int leftMarginTwips) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
setTrLeft
in interfaceTableWriter
-
setMergeCellWithPreceding
public void setMergeCellWithPreceding()- Specified by:
setMergeCellWithPreceding
in interfaceTableWriter
-
setBGColor
- Specified by:
setBGColor
in interfaceTableWriter
-
setCellVertAl
- Specified by:
setCellVertAl
in interfaceTableWriter
-
isInTable
public boolean isInTable()- Specified by:
isInTable
in interfaceTableWriter
-
getCurrentTableCell
- Specified by:
getCurrentTableCell
in interfaceTableWriter
-
getItap
public int getItap()- Specified by:
getItap
in interfaceTableWriter
-
setCellBorder
- Specified by:
setCellBorder
in interfaceTableWriter
-
setCellX
public void setCellX(int twipsValue) - Specified by:
setCellX
in interfaceTableWriter
-
setRowBorder
- Specified by:
setRowBorder
in interfaceTableWriter
-
setRowHeight
public void setRowHeight(int rowHeightInTwips) - Specified by:
setRowHeight
in interfaceTableWriter
-
setBorderStyle
- Specified by:
setBorderStyle
in interfaceTableWriter
-
setBorderColor
- Specified by:
setBorderColor
in interfaceTableWriter
-
setBorderWidth
public void setBorderWidth(int newValue) - Specified by:
setBorderWidth
in interfaceTableWriter
-
setCurrentPageWidth
public void setCurrentPageWidth(int printablePageWidth) Sets the current page width.- Specified by:
setCurrentPageWidth
in 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.
-