Class TableSubtotalRulesElement

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

public class TableSubtotalRulesElement extends OdfElement
DOM implementation of OpenDocument element <table:subtotal-rules>.
See Also:
  • Field Details

    • ELEMENT_NAME

      public static final OdfName ELEMENT_NAME
  • Constructor Details

    • TableSubtotalRulesElement

      public TableSubtotalRulesElement(OdfFileDom ownerDoc)
      Create the instance of TableSubtotalRulesElement
      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:subtotal-rules>.
    • getTableBindStylesToContentAttribute

      public Boolean getTableBindStylesToContentAttribute()
      Receives the value of the ODFDOM attribute representation TableBindStylesToContentAttribute , See @table:bind-styles-to-content
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setTableBindStylesToContentAttribute

      public void setTableBindStylesToContentAttribute(Boolean tableBindStylesToContentValue)
      Sets the value of ODFDOM attribute representation TableBindStylesToContentAttribute , See @table:bind-styles-to-content
      Parameters:
      tableBindStylesToContentValue - The type is Boolean
    • getTableCaseSensitiveAttribute

      public String getTableCaseSensitiveAttribute()
      Receives the value of the ODFDOM attribute representation TableCaseSensitiveAttribute , See @table:case-sensitive
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setTableCaseSensitiveAttribute

      public void setTableCaseSensitiveAttribute(String tableCaseSensitiveValue)
      Sets the value of ODFDOM attribute representation TableCaseSensitiveAttribute , See @table:case-sensitive
      Parameters:
      tableCaseSensitiveValue - The type is String
    • getTablePageBreaksOnGroupChangeAttribute

      public Boolean getTablePageBreaksOnGroupChangeAttribute()
      Receives the value of the ODFDOM attribute representation TablePageBreaksOnGroupChangeAttribute , See @table:page-breaks-on-group-change
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setTablePageBreaksOnGroupChangeAttribute

      public void setTablePageBreaksOnGroupChangeAttribute(Boolean tablePageBreaksOnGroupChangeValue)
      Sets the value of ODFDOM attribute representation TablePageBreaksOnGroupChangeAttribute , See @table:page-breaks-on-group-change
      Parameters:
      tablePageBreaksOnGroupChangeValue - The type is Boolean
    • newTableSortGroupsElement

      public TableSortGroupsElement newTableSortGroupsElement()
      Create child element <table:sort-groups>.
      Returns:
      the element <table:sort-groups>
    • newTableSubtotalRuleElement

      public TableSubtotalRuleElement newTableSubtotalRuleElement(int tableGroupByFieldNumberValue)
      Create child element <table:subtotal-rule>.
      Parameters:
      tableGroupByFieldNumberValue - the Integer value of TableGroupByFieldNumberAttribute, see @table:group-by-field-number at specification
      Returns:
      the element <table:subtotal-rule>
    • 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