Class TableTableCellElement

All Implemented Interfaces:
Serializable, Cloneable, OdfStylePropertySet, Element, ElementTraversal, EventTarget, Node, NodeList, TypeInfo

public class TableTableCellElement extends TableTableCellElementBase
DOM implementation of OpenDocument element <table:table-cell>.
See Also:
  • Field Details

    • ELEMENT_NAME

      public static final OdfName ELEMENT_NAME
  • Constructor Details

    • TableTableCellElement

      public TableTableCellElement(OdfFileDom ownerDoc)
      Create the instance of TableTableCellElement
      Parameters:
      ownerDoc - The type is OdfFileDom
  • Method Details

    • getOdfName

      public OdfName getOdfName()
      Get the element name
      Specified by:
      getOdfName in class OdfElement
      Returns:
      return OdfName the name of element <table:table-cell>.
    • getTableNumberColumnsSpannedAttribute

      public Integer getTableNumberColumnsSpannedAttribute()
      Receives the value of the ODFDOM attribute representation TableNumberColumnsSpannedAttribute , See @table:number-columns-spanned
      Returns:
      - the Integer , the value or null, if the attribute is not set and no default value defined.
    • setTableNumberColumnsSpannedAttribute

      public void setTableNumberColumnsSpannedAttribute(Integer tableNumberColumnsSpannedValue)
      Sets the value of ODFDOM attribute representation TableNumberColumnsSpannedAttribute , See @table:number-columns-spanned
      Parameters:
      tableNumberColumnsSpannedValue - The type is Integer
    • getTableNumberMatrixColumnsSpannedAttribute

      public Integer getTableNumberMatrixColumnsSpannedAttribute()
      Receives the value of the ODFDOM attribute representation TableNumberMatrixColumnsSpannedAttribute , See @table:number-matrix-columns-spanned
      Returns:
      - the Integer , the value or null, if the attribute is not set and no default value defined.
    • setTableNumberMatrixColumnsSpannedAttribute

      public void setTableNumberMatrixColumnsSpannedAttribute(Integer tableNumberMatrixColumnsSpannedValue)
      Sets the value of ODFDOM attribute representation TableNumberMatrixColumnsSpannedAttribute , See @table:number-matrix-columns-spanned
      Parameters:
      tableNumberMatrixColumnsSpannedValue - The type is Integer
    • getTableNumberMatrixRowsSpannedAttribute

      public Integer getTableNumberMatrixRowsSpannedAttribute()
      Receives the value of the ODFDOM attribute representation TableNumberMatrixRowsSpannedAttribute , See @table:number-matrix-rows-spanned
      Returns:
      - the Integer , the value or null, if the attribute is not set and no default value defined.
    • setTableNumberMatrixRowsSpannedAttribute

      public void setTableNumberMatrixRowsSpannedAttribute(Integer tableNumberMatrixRowsSpannedValue)
      Sets the value of ODFDOM attribute representation TableNumberMatrixRowsSpannedAttribute , See @table:number-matrix-rows-spanned
      Parameters:
      tableNumberMatrixRowsSpannedValue - The type is Integer
    • getTableNumberRowsSpannedAttribute

      public Integer getTableNumberRowsSpannedAttribute()
      Receives the value of the ODFDOM attribute representation TableNumberRowsSpannedAttribute , See @table:number-rows-spanned
      Returns:
      - the Integer , the value or null, if the attribute is not set and no default value defined.
    • setTableNumberRowsSpannedAttribute

      public void setTableNumberRowsSpannedAttribute(Integer tableNumberRowsSpannedValue)
      Sets the value of ODFDOM attribute representation TableNumberRowsSpannedAttribute , See @table:number-rows-spanned
      Parameters:
      tableNumberRowsSpannedValue - The type is Integer
    • accept

      public void accept(ElementVisitor visitor)
      Accept an visitor instance to allow the visitor to do some operations. Refer to visitor design pattern to get a better understanding.
      Overrides:
      accept in class OdfElement
      Parameters:
      visitor - an instance of DefaultElementVisitor
    • onRemoveNode

      protected void onRemoveNode()
      Overrides:
      onRemoveNode in class OdfStylableElement
    • onInsertNode

      protected void onInsertNode()
      Overrides:
      onInsertNode in class OdfStylableElement
    • isComponentRoot

      public boolean isComponentRoot()
      Overrides:
      isComponentRoot in class OdfElement