Class StyleDropCapElement

    • Field Detail

      • ELEMENT_NAME

        public static final OdfName ELEMENT_NAME
    • Constructor Detail

      • StyleDropCapElement

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

      • getStyleDistanceAttribute

        public String getStyleDistanceAttribute()
        Receives the value of the ODFDOM attribute representation StyleDistanceAttribute , See @style:distance
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setStyleDistanceAttribute

        public void setStyleDistanceAttribute​(String styleDistanceValue)
        Sets the value of ODFDOM attribute representation StyleDistanceAttribute , See @style:distance
        Parameters:
        styleDistanceValue - The type is String
      • getStyleLengthAttribute

        public Integer getStyleLengthAttribute()
        Receives the value of the ODFDOM attribute representation StyleLengthAttribute , See @style:length
        Returns:
        - the Integer , the value or null, if the attribute is not set and no default value defined.
      • setStyleLengthAttribute

        public void setStyleLengthAttribute​(Integer styleLengthValue)
        Sets the value of ODFDOM attribute representation StyleLengthAttribute , See @style:length
        Parameters:
        styleLengthValue - The type is Integer
      • getStyleLinesAttribute

        public Integer getStyleLinesAttribute()
        Receives the value of the ODFDOM attribute representation StyleLinesAttribute , See @style:lines
        Returns:
        - the Integer , the value or null, if the attribute is not set and no default value defined.
      • setStyleLinesAttribute

        public void setStyleLinesAttribute​(Integer styleLinesValue)
        Sets the value of ODFDOM attribute representation StyleLinesAttribute , See @style:lines
        Parameters:
        styleLinesValue - The type is Integer
      • getStyleStyleNameAttribute

        public String getStyleStyleNameAttribute()
        Receives the value of the ODFDOM attribute representation StyleStyleNameAttribute , See @style:style-name
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setStyleStyleNameAttribute

        public void setStyleStyleNameAttribute​(String styleStyleNameValue)
        Sets the value of ODFDOM attribute representation StyleStyleNameAttribute , See @style:style-name
        Parameters:
        styleStyleNameValue - 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