Class StyleMapElement

    • Field Detail

      • ELEMENT_NAME

        public static final OdfName ELEMENT_NAME
    • Constructor Detail

      • StyleMapElement

        public StyleMapElement​(OdfFileDom ownerDoc)
        Create the instance of StyleMapElement
        Parameters:
        ownerDoc - The type is OdfFileDom
    • Method Detail

      • getStyleApplyStyleNameAttribute

        public String getStyleApplyStyleNameAttribute()
        Receives the value of the ODFDOM attribute representation StyleApplyStyleNameAttribute , See @style:apply-style-name

        Attribute is mandatory.

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

        public void setStyleApplyStyleNameAttribute​(String styleApplyStyleNameValue)
        Sets the value of ODFDOM attribute representation StyleApplyStyleNameAttribute , See @style:apply-style-name
        Parameters:
        styleApplyStyleNameValue - The type is String
      • getStyleBaseCellAddressAttribute

        public String getStyleBaseCellAddressAttribute()
        Receives the value of the ODFDOM attribute representation StyleBaseCellAddressAttribute , See @style:base-cell-address
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setStyleBaseCellAddressAttribute

        public void setStyleBaseCellAddressAttribute​(String styleBaseCellAddressValue)
        Sets the value of ODFDOM attribute representation StyleBaseCellAddressAttribute , See @style:base-cell-address
        Parameters:
        styleBaseCellAddressValue - The type is String
      • getStyleConditionAttribute

        public String getStyleConditionAttribute()
        Receives the value of the ODFDOM attribute representation StyleConditionAttribute , See @style:condition

        Attribute is mandatory.

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

        public void setStyleConditionAttribute​(String styleConditionValue)
        Sets the value of ODFDOM attribute representation StyleConditionAttribute , See @style:condition
        Parameters:
        styleConditionValue - The type is String
      • accept

        public void accept​(ElementVisitor visitor)
        Description copied from class: OdfElement
        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