Class TableTrackedChangesElement

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

public class TableTrackedChangesElement extends OdfElement
DOM implementation of OpenDocument element <table:tracked-changes>.
See Also:
  • Field Details

    • ELEMENT_NAME

      public static final OdfName ELEMENT_NAME
  • Constructor Details

    • TableTrackedChangesElement

      public TableTrackedChangesElement(OdfFileDom ownerDoc)
      Create the instance of TableTrackedChangesElement
      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:tracked-changes>.
    • getTableTrackChangesAttribute

      public Boolean getTableTrackChangesAttribute()
      Receives the value of the ODFDOM attribute representation TableTrackChangesAttribute , See @table:track-changes
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setTableTrackChangesAttribute

      public void setTableTrackChangesAttribute(Boolean tableTrackChangesValue)
      Sets the value of ODFDOM attribute representation TableTrackChangesAttribute , See @table:track-changes
      Parameters:
      tableTrackChangesValue - The type is Boolean
    • newTableCellContentChangeElement

      public TableCellContentChangeElement newTableCellContentChangeElement(String tableIdValue)
      Create child element <table:cell-content-change>.
      Parameters:
      tableIdValue - the String value of TableIdAttribute, see @table:id at specification
      Returns:
      the element <table:cell-content-change>
    • newTableDeletionElement

      public TableDeletionElement newTableDeletionElement(String tableIdValue, int tablePositionValue, String tableTypeValue)
      Create child element <table:deletion>.
      Parameters:
      tableIdValue - the String value of TableIdAttribute, see @table:id at specification
      tablePositionValue - the Integer value of TablePositionAttribute , see @table:position at specification
      tableTypeValue - the String value of TableTypeAttribute, see @table:type at specification
      Returns:
      the element <table:deletion>
    • newTableInsertionElement

      public TableInsertionElement newTableInsertionElement(String tableIdValue, int tablePositionValue, String tableTypeValue)
      Create child element <table:insertion>.
      Parameters:
      tableIdValue - the String value of TableIdAttribute, see @table:id at specification
      tablePositionValue - the Integer value of TablePositionAttribute , see @table:position at specification
      tableTypeValue - the String value of TableTypeAttribute, see @table:type at specification
      Returns:
      the element <table:insertion>
    • newTableMovementElement

      public TableMovementElement newTableMovementElement(String tableIdValue)
      Create child element <table:movement>.
      Parameters:
      tableIdValue - the String value of TableIdAttribute, see @table:id at specification
      Returns:
      the element <table:movement>
    • 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