Class TableScenarioElement

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

public class TableScenarioElement extends OdfElement
DOM implementation of OpenDocument element <table:scenario>.
See Also:
  • Field Details

    • ELEMENT_NAME

      public static final OdfName ELEMENT_NAME
  • Constructor Details

    • TableScenarioElement

      public TableScenarioElement(OdfFileDom ownerDoc)
      Create the instance of TableScenarioElement
      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:scenario>.
    • getTableBorderColorAttribute

      public String getTableBorderColorAttribute()
      Receives the value of the ODFDOM attribute representation TableBorderColorAttribute , See @table:border-color
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setTableBorderColorAttribute

      public void setTableBorderColorAttribute(String tableBorderColorValue)
      Sets the value of ODFDOM attribute representation TableBorderColorAttribute , See @table:border-color
      Parameters:
      tableBorderColorValue - The type is String
    • getTableCommentAttribute

      public String getTableCommentAttribute()
      Receives the value of the ODFDOM attribute representation TableCommentAttribute , See @table:comment
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setTableCommentAttribute

      public void setTableCommentAttribute(String tableCommentValue)
      Sets the value of ODFDOM attribute representation TableCommentAttribute , See @table:comment
      Parameters:
      tableCommentValue - The type is String
    • getTableCopyBackAttribute

      public Boolean getTableCopyBackAttribute()
      Receives the value of the ODFDOM attribute representation TableCopyBackAttribute , See @table:copy-back
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setTableCopyBackAttribute

      public void setTableCopyBackAttribute(Boolean tableCopyBackValue)
      Sets the value of ODFDOM attribute representation TableCopyBackAttribute , See @table:copy-back
      Parameters:
      tableCopyBackValue - The type is Boolean
    • getTableCopyFormulasAttribute

      public Boolean getTableCopyFormulasAttribute()
      Receives the value of the ODFDOM attribute representation TableCopyFormulasAttribute , See @table:copy-formulas
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setTableCopyFormulasAttribute

      public void setTableCopyFormulasAttribute(Boolean tableCopyFormulasValue)
      Sets the value of ODFDOM attribute representation TableCopyFormulasAttribute , See @table:copy-formulas
      Parameters:
      tableCopyFormulasValue - The type is Boolean
    • getTableCopyStylesAttribute

      public Boolean getTableCopyStylesAttribute()
      Receives the value of the ODFDOM attribute representation TableCopyStylesAttribute , See @table:copy-styles
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setTableCopyStylesAttribute

      public void setTableCopyStylesAttribute(Boolean tableCopyStylesValue)
      Sets the value of ODFDOM attribute representation TableCopyStylesAttribute , See @table:copy-styles
      Parameters:
      tableCopyStylesValue - The type is Boolean
    • getTableDisplayBorderAttribute

      public Boolean getTableDisplayBorderAttribute()
      Receives the value of the ODFDOM attribute representation TableDisplayBorderAttribute , See @table:display-border
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setTableDisplayBorderAttribute

      public void setTableDisplayBorderAttribute(Boolean tableDisplayBorderValue)
      Sets the value of ODFDOM attribute representation TableDisplayBorderAttribute , See @table:display-border
      Parameters:
      tableDisplayBorderValue - The type is Boolean
    • getTableIsActiveAttribute

      public Boolean getTableIsActiveAttribute()
      Receives the value of the ODFDOM attribute representation TableIsActiveAttribute , See @table:is-active

      Attribute is mandatory.

      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setTableIsActiveAttribute

      public void setTableIsActiveAttribute(Boolean tableIsActiveValue)
      Sets the value of ODFDOM attribute representation TableIsActiveAttribute , See @table:is-active
      Parameters:
      tableIsActiveValue - The type is Boolean
    • getTableProtectedAttribute

      public Boolean getTableProtectedAttribute()
      Receives the value of the ODFDOM attribute representation TableProtectedAttribute , See @table:protected
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setTableProtectedAttribute

      public void setTableProtectedAttribute(Boolean tableProtectedValue)
      Sets the value of ODFDOM attribute representation TableProtectedAttribute , See @table:protected
      Parameters:
      tableProtectedValue - The type is Boolean
    • getTableScenarioRangesAttribute

      public String getTableScenarioRangesAttribute()
      Receives the value of the ODFDOM attribute representation TableScenarioRangesAttribute , See @table:scenario-ranges

      Attribute is mandatory.

      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setTableScenarioRangesAttribute

      public void setTableScenarioRangesAttribute(String tableScenarioRangesValue)
      Sets the value of ODFDOM attribute representation TableScenarioRangesAttribute , See @table:scenario-ranges
      Parameters:
      tableScenarioRangesValue - The type is String
    • 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