Class TableProperties

java.lang.Object
com.independentsoft.office.word.tables.TableProperties

public class TableProperties extends Object
The Class TableProperties.
  • Constructor Details

    • TableProperties

      public TableProperties()
      Instantiates a new table properties.
    • TableProperties

      public TableProperties(InternalXMLStreamReader reader) throws XMLStreamException
      Instantiates a new table properties.
      Parameters:
      reader - the reader
      Throws:
      XMLStreamException - the xML stream exception
  • Method Details

    • clone

      public TableProperties clone()
      Overrides:
      clone in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • isEmpty

      public static boolean isEmpty(String value)
      Checks if is empty.
      Parameters:
      value - the value
      Returns:
      true, if is empty
    • getTopBorder

      public TopBorder getTopBorder()
      Gets the top border.
      Returns:
      the top border
    • setTopBorder

      public void setTopBorder(TopBorder topBorder)
      Sets the top border.
      Parameters:
      topBorder - the new top border
    • getBottomBorder

      public BottomBorder getBottomBorder()
      Gets the bottom border.
      Returns:
      the bottom border
    • setBottomBorder

      public void setBottomBorder(BottomBorder bottomBorder)
      Sets the bottom border.
      Parameters:
      bottomBorder - the new bottom border
    • getRightBorder

      public RightBorder getRightBorder()
      Gets the right border.
      Returns:
      the right border
    • setRightBorder

      public void setRightBorder(RightBorder rightBorder)
      Sets the right border.
      Parameters:
      rightBorder - the new right border
    • getLeftBorder

      public LeftBorder getLeftBorder()
      Gets the left border.
      Returns:
      the left border
    • setLeftBorder

      public void setLeftBorder(LeftBorder leftBorder)
      Sets the left border.
      Parameters:
      leftBorder - the new left border
    • getHorizontalInsideBorder

      public HorizontalInsideBorder getHorizontalInsideBorder()
      Gets the horizontal inside border.
      Returns:
      the horizontal inside border
    • setHorizontalInsideBorder

      public void setHorizontalInsideBorder(HorizontalInsideBorder horizontalInsideBorder)
      Sets the horizontal inside border.
      Parameters:
      horizontalInsideBorder - the new horizontal inside border
    • getVerticalInsideBorder

      public VerticalInsideBorder getVerticalInsideBorder()
      Gets the vertical inside border.
      Returns:
      the vertical inside border
    • setVerticalInsideBorder

      public void setVerticalInsideBorder(VerticalInsideBorder verticalInsideBorder)
      Sets the vertical inside border.
      Parameters:
      verticalInsideBorder - the new vertical inside border
    • getRightToLeft

      public ExtendedBoolean getRightToLeft()
      Gets the right to left.
      Returns:
      the right to left
    • setRightToLeft

      public void setRightToLeft(ExtendedBoolean rightToLeft)
      Sets the right to left.
      Parameters:
      rightToLeft - the new right to left
    • getCantSplit

      public ExtendedBoolean getCantSplit()
      Gets the cant split.
      Returns:
      the cant split
    • setCantSplit

      public void setCantSplit(ExtendedBoolean cantSplit)
      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

      public Width getCellTopMargin()
      Gets the cell top margin.
      Returns:
      the cell top margin
    • setCellTopMargin

      public void setCellTopMargin(Width cellTopMargin)
      Sets the cell top margin.
      Parameters:
      cellTopMargin - the new cell top margin
    • getCellBottomMargin

      public Width getCellBottomMargin()
      Gets the cell bottom margin.
      Returns:
      the cell bottom margin
    • setCellBottomMargin

      public void setCellBottomMargin(Width cellBottomMargin)
      Sets the cell bottom margin.
      Parameters:
      cellBottomMargin - the new cell bottom margin
    • getCellRightMargin

      public Width getCellRightMargin()
      Gets the cell right margin.
      Returns:
      the cell right margin
    • setCellRightMargin

      public void setCellRightMargin(Width cellRightMargin)
      Sets the cell right margin.
      Parameters:
      cellRightMargin - the new cell right margin
    • getCellLeftMargin

      public Width getCellLeftMargin()
      Gets the cell left margin.
      Returns:
      the cell left margin
    • setCellLeftMargin

      public void setCellLeftMargin(Width cellLeftMargin)
      Sets the cell left margin.
      Parameters:
      cellLeftMargin - the new cell left margin
    • getAlignment

      public HorizontalAlignmentType getAlignment()
      Gets the alignment.
      Returns:
      the alignment
    • setAlignment

      public void setAlignment(HorizontalAlignmentType alignment)
      Sets the alignment.
      Parameters:
      alignment - the new alignment
    • getShading

      public Shading getShading()
      Gets the shading.
      Returns:
      the shading
    • setShading

      public void setShading(Shading shading)
      Sets the shading.
      Parameters:
      shading - the new shading
    • getWidth

      public Width getWidth()
      Gets the width.
      Returns:
      the width
    • setWidth

      public void setWidth(Width width)
      Sets the width.
      Parameters:
      width - the new width
    • getCellSpacing

      public Width getCellSpacing()
      Gets the cell spacing.
      Returns:
      the cell spacing
    • setCellSpacing

      public void setCellSpacing(Width cellSpacing)
      Sets the cell spacing.
      Parameters:
      cellSpacing - the new cell spacing
    • getIndent

      public Width getIndent()
      Gets the indent.
      Returns:
      the indent
    • setIndent

      public void setIndent(Width indent)
      Sets the indent.
      Parameters:
      indent - the new indent
    • getLayout

      public TableLayout getLayout()
      Gets the layout.
      Returns:
      the layout
    • setLayout

      public void setLayout(TableLayout layout)
      Sets the layout.
      Parameters:
      layout - the new layout
    • getOverlap

      public TableOverlap getOverlap()
      Gets the overlap.
      Returns:
      the overlap
    • setOverlap

      public void setOverlap(TableOverlap overlap)
      Sets the overlap.
      Parameters:
      overlap - the new overlap
    • getTableStyleConditionalFormatting

      public TableStyleConditionalFormatting 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

      public FloatingTablePositioning getFloatingTablePositioning()
      Gets the floating table positioning.
      Returns:
      the floating table positioning
    • setFloatingTablePositioning

      public void setFloatingTablePositioning(FloatingTablePositioning floatingTablePositioning)
      Sets the floating table positioning.
      Parameters:
      floatingTablePositioning - the new floating table positioning
    • getStyleName

      public String getStyleName()
      Gets the style name.
      Returns:
      the style name
    • setStyleName

      public void setStyleName(String styleName)
      Sets the style name.
      Parameters:
      styleName - the new style name
    • getTitle

      public String getTitle()
      Gets the title.
      Returns:
      the title
    • setTitle

      public void setTitle(String title)
      Sets the title.
      Parameters:
      title - the new title