Class TableStyle
java.lang.Object
com.independentsoft.office.drawing.tableStyles.TableStyle
The Class TableStyle.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new table style.TableStyle(InternalXMLStreamReader reader)Instantiates a new table style. -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the band1 horizontal.Gets the band1 vertical.Gets the band2 horizontal.Gets the band2 vertical.Gets the first column.Gets the first row.getId()Gets the id.Gets the last column.Gets the last row.getName()Gets the name.Gets the northeast cell.Gets the northwest cell.Gets the southeast cell.Gets the southwest cell.Gets the table background.Gets the whole table.voidsetBand1Horizontal(Band1Horizontal band1Horizontal)Sets the band1 horizontal.voidsetBand1Vertical(Band1Vertical band1Vertical)Sets the band1 vertical.voidsetBand2Horizontal(Band2Horizontal band2Horizontal)Sets the band2 horizontal.voidsetBand2Vertical(Band2Vertical band2Vertical)Sets the band2 vertical.voidsetFirstColumn(FirstColumn firstColumn)Sets the first column.voidsetFirstRow(FirstRow firstRow)Sets the first row.voidSets the id.voidsetLastColumn(LastColumn lastColumn)Sets the last column.voidsetLastRow(LastRow lastRow)Sets the last row.voidSets the name.voidsetNortheastCell(NortheastCell northeastCell)Sets the northeast cell.voidsetNorthwestCell(NorthwestCell northwestCell)Sets the northwest cell.voidsetSoutheastCell(SoutheastCell southeastCell)Sets the southeast cell.voidsetSouthwestCell(SouthwestCell southwestCell)Sets the southwest cell.voidsetTableBackground(TableBackground tableBackground)Sets the table background.voidsetWholeTable(WholeTable wholeTable)Sets the whole table.toString()
-
Constructor Details
-
TableStyle
public TableStyle()Instantiates a new table style. -
TableStyle
Instantiates a new table style.- Parameters:
reader- the reader- Throws:
XMLStreamException- the xML stream exception
-
-
Method Details
-
clone
-
toString
-
getBand1Horizontal
Gets the band1 horizontal.- Returns:
- the band1 horizontal
-
setBand1Horizontal
Sets the band1 horizontal.- Parameters:
band1Horizontal- the new band1 horizontal
-
getBand1Vertical
Gets the band1 vertical.- Returns:
- the band1 vertical
-
setBand1Vertical
Sets the band1 vertical.- Parameters:
band1Vertical- the new band1 vertical
-
getBand2Horizontal
Gets the band2 horizontal.- Returns:
- the band2 horizontal
-
setBand2Horizontal
Sets the band2 horizontal.- Parameters:
band2Horizontal- the new band2 horizontal
-
getBand2Vertical
Gets the band2 vertical.- Returns:
- the band2 vertical
-
setBand2Vertical
Sets the band2 vertical.- Parameters:
band2Vertical- the new band2 vertical
-
getFirstColumn
Gets the first column.- Returns:
- the first column
-
setFirstColumn
Sets the first column.- Parameters:
firstColumn- the new first column
-
getFirstRow
Gets the first row.- Returns:
- the first row
-
setFirstRow
Sets the first row.- Parameters:
firstRow- the new first row
-
getLastColumn
Gets the last column.- Returns:
- the last column
-
setLastColumn
Sets the last column.- Parameters:
lastColumn- the new last column
-
getLastRow
Gets the last row.- Returns:
- the last row
-
setLastRow
Sets the last row.- Parameters:
lastRow- the new last row
-
getNortheastCell
Gets the northeast cell.- Returns:
- the northeast cell
-
setNortheastCell
Sets the northeast cell.- Parameters:
northeastCell- the new northeast cell
-
getNorthwestCell
Gets the northwest cell.- Returns:
- the northwest cell
-
setNorthwestCell
Sets the northwest cell.- Parameters:
northwestCell- the new northwest cell
-
getSoutheastCell
Gets the southeast cell.- Returns:
- the southeast cell
-
setSoutheastCell
Sets the southeast cell.- Parameters:
southeastCell- the new southeast cell
-
getSouthwestCell
Gets the southwest cell.- Returns:
- the southwest cell
-
setSouthwestCell
Sets the southwest cell.- Parameters:
southwestCell- the new southwest cell
-
getTableBackground
Gets the table background.- Returns:
- the table background
-
setTableBackground
Sets the table background.- Parameters:
tableBackground- the new table background
-
getWholeTable
Gets the whole table.- Returns:
- the whole table
-
setWholeTable
Sets the whole table.- Parameters:
wholeTable- the new whole table
-
getId
Gets the id.- Returns:
- the id
-
setId
Sets the id.- Parameters:
id- the new id
-
getName
Gets the name.- Returns:
- the name
-
setName
Sets the name.- Parameters:
name- the new name
-