Class Table
java.lang.Object
com.independentsoft.office.word.tables.Table
- All Implemented Interfaces:
IContentElement,IBlockContent,IBlockElement
The Class Table.
-
Constructor Summary
ConstructorsConstructorDescriptionTable()Instantiates a new table.Table(InternalXMLStreamReader reader)Instantiates a new table.Table(StandardBorderStyle border)Instantiates a new table. -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(CustomXmlRow customXmlRow)Adds the.voidadd(StructuredDocumentTagRow structuredDocumentTagRow)Adds the.voidadd(IRowContent rowContent)Adds the.voidAdds the.clone()Gets the alignment.Gets the bottom border.Gets the cant split.Gets the cell bottom margin.Gets the cell left margin.Gets the cell right margin.Gets the cell spacing.Gets the cell top margin.intGets the column band column count.Gets the content.intgetDivID()Gets the div id.Gets the floating table positioning.getGrid()Gets the grid.Gets the horizontal inside border.Gets the indent.Gets the layout.Gets the left border.Gets the overlap.Gets the right border.Gets the right to left.intGets the row band row count.Gets the shading.Gets the style name.Gets the table style conditional formatting.getTitle()Gets the title.Gets the top border.Gets the vertical inside border.getWidth()Gets the width.voidsetAlignment(HorizontalAlignmentType alignment)Sets the alignment.voidsetBottomBorder(BottomBorder bottomBorder)Sets the bottom border.voidsetCantSplit(ExtendedBoolean cantSplit)Sets the cant split.voidsetCellBottomMargin(Width cellBottomMargin)Sets the cell bottom margin.voidsetCellLeftMargin(Width cellLeftMargin)Sets the cell left margin.voidsetCellRightMargin(Width cellRightMargin)Sets the cell right margin.voidsetCellSpacing(Width cellSpacing)Sets the cell spacing.voidsetCellTopMargin(Width cellTopMargin)Sets the cell top margin.voidsetColumnBandColumnCount(int columnBandColumnCount)Sets the column band column count.voidsetDivID(int divID)Sets the div id.voidsetFloatingTablePositioning(FloatingTablePositioning floatingTablePositioning)Sets the floating table positioning.voidSets the grid.voidsetHorizontalInsideBorder(HorizontalInsideBorder horizontalInsideBorder)Sets the horizontal inside border.voidSets the indent.voidsetLayout(TableLayout layout)Sets the layout.voidsetLeftBorder(LeftBorder leftBorder)Sets the left border.voidsetOverlap(TableOverlap overlap)Sets the overlap.voidsetRightBorder(RightBorder rightBorder)Sets the right border.voidsetRightToLeft(ExtendedBoolean rightToLeft)Sets the right to left.voidsetRowBandRowCount(int rowBandRowCount)Sets the row band row count.voidsetShading(Shading shading)Sets the shading.voidsetStyleName(String styleName)Sets the style name.voidsetTableStyleConditionalFormatting(TableStyleConditionalFormatting tableStyleConditionalFormatting)Sets the table style conditional formatting.voidSets the title.voidsetTopBorder(TopBorder topBorder)Sets the top border.voidsetVerticalInsideBorder(VerticalInsideBorder verticalInsideBorder)Sets the vertical inside border.voidSets the width.toString()
-
Constructor Details
-
Table
public Table()Instantiates a new table. -
Table
Instantiates a new table.- Parameters:
border- the border
-
Table
Instantiates a new table.- Parameters:
reader- the reader- Throws:
XMLStreamException- the xML stream exception
-
-
Method Details
-
add
Adds the.- Parameters:
row- the row
-
add
Adds the.- Parameters:
customXmlRow- the custom xml row
-
add
Adds the.- Parameters:
structuredDocumentTagRow- the structured document tag row
-
add
Adds the.- Parameters:
rowContent- the row content
-
getContentElements
- Specified by:
getContentElementsin interfaceIContentElement
-
clone
- Specified by:
clonein interfaceIBlockContent- Specified by:
clonein interfaceIBlockElement- Specified by:
clonein interfaceIContentElement- Overrides:
clonein classObject
-
toString
-
getContent
Gets the content.- Returns:
- the content
-
getGrid
Gets the grid.- Returns:
- the grid
-
setGrid
Sets the grid.- Parameters:
grid- the new grid
-
getTopBorder
Gets the top border.- Returns:
- the top border
-
setTopBorder
Sets the top border.- Parameters:
topBorder- the new top border
-
getBottomBorder
Gets the bottom border.- Returns:
- the bottom border
-
setBottomBorder
Sets the bottom border.- Parameters:
bottomBorder- the new bottom border
-
getRightBorder
Gets the right border.- Returns:
- the right border
-
setRightBorder
Sets the right border.- Parameters:
rightBorder- the new right border
-
getLeftBorder
Gets the left border.- Returns:
- the left border
-
setLeftBorder
Sets the left border.- Parameters:
leftBorder- the new left border
-
getHorizontalInsideBorder
Gets the horizontal inside border.- Returns:
- the horizontal inside border
-
setHorizontalInsideBorder
Sets the horizontal inside border.- Parameters:
horizontalInsideBorder- the new horizontal inside border
-
getVerticalInsideBorder
Gets the vertical inside border.- Returns:
- the vertical inside border
-
setVerticalInsideBorder
Sets the vertical inside border.- Parameters:
verticalInsideBorder- the new vertical inside border
-
getRightToLeft
Gets the right to left.- Returns:
- the right to left
-
setRightToLeft
Sets the right to left.- Parameters:
rightToLeft- the new right to left
-
getCantSplit
Gets the cant split.- Returns:
- the cant split
-
setCantSplit
Sets the cant split.- Parameters:
cantSplit- the new cant split
-
getDivID
public int getDivID()Gets the div id.- Returns:
- the div id
-
setDivID
public void setDivID(int divID)Sets the div id.- Parameters:
divID- the new div id
-
getColumnBandColumnCount
public int getColumnBandColumnCount()Gets the column band column count.- Returns:
- the column band column count
-
setColumnBandColumnCount
public void setColumnBandColumnCount(int columnBandColumnCount)Sets the column band column count.- Parameters:
columnBandColumnCount- the new column band column count
-
getRowBandRowCount
public int getRowBandRowCount()Gets the row band row count.- Returns:
- the row band row count
-
setRowBandRowCount
public void setRowBandRowCount(int rowBandRowCount)Sets the row band row count.- Parameters:
rowBandRowCount- the new row band row count
-
getCellTopMargin
Gets the cell top margin.- Returns:
- the cell top margin
-
setCellTopMargin
Sets the cell top margin.- Parameters:
cellTopMargin- the new cell top margin
-
getCellBottomMargin
Gets the cell bottom margin.- Returns:
- the cell bottom margin
-
setCellBottomMargin
Sets the cell bottom margin.- Parameters:
cellBottomMargin- the new cell bottom margin
-
getCellRightMargin
Gets the cell right margin.- Returns:
- the cell right margin
-
setCellRightMargin
Sets the cell right margin.- Parameters:
cellRightMargin- the new cell right margin
-
getCellLeftMargin
Gets the cell left margin.- Returns:
- the cell left margin
-
setCellLeftMargin
Sets the cell left margin.- Parameters:
cellLeftMargin- the new cell left margin
-
getAlignment
Gets the alignment.- Returns:
- the alignment
-
setAlignment
Sets the alignment.- Parameters:
alignment- the new alignment
-
getShading
Gets the shading.- Returns:
- the shading
-
setShading
Sets the shading.- Parameters:
shading- the new shading
-
getWidth
Gets the width.- Returns:
- the width
-
setWidth
Sets the width.- Parameters:
width- the new width
-
getCellSpacing
Gets the cell spacing.- Returns:
- the cell spacing
-
setCellSpacing
Sets the cell spacing.- Parameters:
cellSpacing- the new cell spacing
-
getIndent
Gets the indent.- Returns:
- the indent
-
setIndent
Sets the indent.- Parameters:
indent- the new indent
-
getLayout
Gets the layout.- Returns:
- the layout
-
setLayout
Sets the layout.- Parameters:
layout- the new layout
-
getOverlap
Gets the overlap.- Returns:
- the overlap
-
setOverlap
Sets the overlap.- Parameters:
overlap- the new overlap
-
getTableStyleConditionalFormatting
Gets the table style conditional formatting.- Returns:
- the table style conditional formatting
-
setTableStyleConditionalFormatting
public void setTableStyleConditionalFormatting(TableStyleConditionalFormatting tableStyleConditionalFormatting)Sets the table style conditional formatting.- Parameters:
tableStyleConditionalFormatting- the new table style conditional formatting
-
getFloatingTablePositioning
Gets the floating table positioning.- Returns:
- the floating table positioning
-
setFloatingTablePositioning
Sets the floating table positioning.- Parameters:
floatingTablePositioning- the new floating table positioning
-
getStyleName
Gets the style name.- Returns:
- the style name
-
setStyleName
Sets the style name.- Parameters:
styleName- the new style name
-
getTitle
Gets the title.- Returns:
- the title
-
setTitle
Sets the title.- Parameters:
title- the new title
-