Class Table
java.lang.Object
com.independentsoft.office.drawing.GraphicObject
com.independentsoft.office.drawing.tables.Table
- All Implemented Interfaces:
IContentElement
The Class Table.
-
Constructor Summary
ConstructorsConstructorDescriptionTable()Instantiates a new table.Table(InternalXMLStreamReader reader)Instantiates a new table. -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the gradient fill.getGrid()Gets the grid.Gets the group fill.Gets the no fill.Gets the pattern fill.Gets the picture fill.getRows()Gets the rows.Gets the solid fill.getStyle()Gets the style.Gets the style id.booleanChecks if is banded columns.booleanChecks if is banded rows.booleanChecks if is first column.booleanChecks if is first row.booleanChecks if is last column.booleanChecks if is last row.booleanChecks if is right to left.voidsetBandedColumns(boolean bandedColumns)Sets the banded columns.voidsetBandedRows(boolean bandedRows)Sets the banded rows.voidsetFirstColumn(boolean firstColumn)Sets the first column.voidsetFirstRow(boolean firstRow)Sets the first row.voidsetGradientFill(GradientFill gradientFill)Sets the gradient fill.voidSets the grid.voidsetGroupFill(GroupFill groupFill)Sets the group fill.voidsetLastColumn(boolean lastColumn)Sets the last column.voidsetLastRow(boolean lastRow)Sets the last row.voidSets the no fill.voidsetPatternFill(PatternFill patternFill)Sets the pattern fill.voidsetPictureFill(PictureFill pictureFill)Sets the picture fill.voidsetRightToLeft(boolean rightToLeft)Sets the right to left.voidsetSolidFill(SolidFill solidFill)Sets the solid fill.voidsetStyle(TableStyle style)Sets the style.voidsetStyleID(String styleID)Sets the style id.toString()
-
Constructor Details
-
Table
public Table()Instantiates a new table. -
Table
Instantiates a new table.- Parameters:
reader- the reader- Throws:
XMLStreamException- the xML stream exception
-
-
Method Details
-
getContentElements
- Specified by:
getContentElementsin interfaceIContentElement- Specified by:
getContentElementsin classGraphicObject
-
clone
- Specified by:
clonein interfaceIContentElement- Specified by:
clonein classGraphicObject
-
toString
-
getRows
Gets the rows.- Returns:
- the rows
-
getGrid
Gets the grid.- Returns:
- the grid
-
setGrid
Sets the grid.- Parameters:
grid- the new grid
-
getPictureFill
Gets the picture fill.- Returns:
- the picture fill
-
setPictureFill
Sets the picture fill.- Parameters:
pictureFill- the new picture fill
-
getGradientFill
Gets the gradient fill.- Returns:
- the gradient fill
-
setGradientFill
Sets the gradient fill.- Parameters:
gradientFill- the new gradient fill
-
getGroupFill
Gets the group fill.- Returns:
- the group fill
-
setGroupFill
Sets the group fill.- Parameters:
groupFill- the new group fill
-
getNoFill
Gets the no fill.- Returns:
- the no fill
-
setNoFill
Sets the no fill.- Parameters:
noFill- the new no fill
-
getPatternFill
Gets the pattern fill.- Returns:
- the pattern fill
-
setPatternFill
Sets the pattern fill.- Parameters:
patternFill- the new pattern fill
-
getSolidFill
Gets the solid fill.- Returns:
- the solid fill
-
setSolidFill
Sets the solid fill.- Parameters:
solidFill- the new solid fill
-
getStyle
Gets the style.- Returns:
- the style
-
setStyle
Sets the style.- Parameters:
style- the new style
-
getStyleID
Gets the style id.- Returns:
- the style id
-
setStyleID
Sets the style id.- Parameters:
styleID- the new style id
-
isBandedColumns
public boolean isBandedColumns()Checks if is banded columns.- Returns:
- true, if is banded columns
-
setBandedColumns
public void setBandedColumns(boolean bandedColumns)Sets the banded columns.- Parameters:
bandedColumns- the new banded columns
-
isBandedRows
public boolean isBandedRows()Checks if is banded rows.- Returns:
- true, if is banded rows
-
setBandedRows
public void setBandedRows(boolean bandedRows)Sets the banded rows.- Parameters:
bandedRows- the new banded rows
-
isFirstColumn
public boolean isFirstColumn()Checks if is first column.- Returns:
- true, if is first column
-
setFirstColumn
public void setFirstColumn(boolean firstColumn)Sets the first column.- Parameters:
firstColumn- the new first column
-
isFirstRow
public boolean isFirstRow()Checks if is first row.- Returns:
- true, if is first row
-
setFirstRow
public void setFirstRow(boolean firstRow)Sets the first row.- Parameters:
firstRow- the new first row
-
isLastColumn
public boolean isLastColumn()Checks if is last column.- Returns:
- true, if is last column
-
setLastColumn
public void setLastColumn(boolean lastColumn)Sets the last column.- Parameters:
lastColumn- the new last column
-
isLastRow
public boolean isLastRow()Checks if is last row.- Returns:
- true, if is last row
-
setLastRow
public void setLastRow(boolean lastRow)Sets the last row.- Parameters:
lastRow- the new last row
-
isRightToLeft
public boolean isRightToLeft()Checks if is right to left.- Returns:
- true, if is right to left
-
setRightToLeft
public void setRightToLeft(boolean rightToLeft)Sets the right to left.- Parameters:
rightToLeft- the new right to left
-