Class StyleFontFaceElement

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

public class StyleFontFaceElement extends OdfElement
DOM implementation of OpenDocument element <style:font-face>.
See Also:
  • Field Details

    • ELEMENT_NAME

      public static final OdfName ELEMENT_NAME
  • Constructor Details

    • StyleFontFaceElement

      public StyleFontFaceElement(OdfFileDom ownerDoc)
      Create the instance of StyleFontFaceElement
      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 <style:font-face>.
    • getStyleFontAdornmentsAttribute

      public String getStyleFontAdornmentsAttribute()
      Receives the value of the ODFDOM attribute representation StyleFontAdornmentsAttribute , See @style:font-adornments
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setStyleFontAdornmentsAttribute

      public void setStyleFontAdornmentsAttribute(String styleFontAdornmentsValue)
      Sets the value of ODFDOM attribute representation StyleFontAdornmentsAttribute , See @style:font-adornments
      Parameters:
      styleFontAdornmentsValue - The type is String
    • getStyleFontCharsetAttribute

      public String getStyleFontCharsetAttribute()
      Receives the value of the ODFDOM attribute representation StyleFontCharsetAttribute , See @style:font-charset
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setStyleFontCharsetAttribute

      public void setStyleFontCharsetAttribute(String styleFontCharsetValue)
      Sets the value of ODFDOM attribute representation StyleFontCharsetAttribute , See @style:font-charset
      Parameters:
      styleFontCharsetValue - The type is String
    • getStyleFontFamilyGenericAttribute

      public String getStyleFontFamilyGenericAttribute()
      Receives the value of the ODFDOM attribute representation StyleFontFamilyGenericAttribute , See @style:font-family-generic
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setStyleFontFamilyGenericAttribute

      public void setStyleFontFamilyGenericAttribute(String styleFontFamilyGenericValue)
      Sets the value of ODFDOM attribute representation StyleFontFamilyGenericAttribute , See @style:font-family-generic
      Parameters:
      styleFontFamilyGenericValue - The type is String
    • getStyleFontPitchAttribute

      public String getStyleFontPitchAttribute()
      Receives the value of the ODFDOM attribute representation StyleFontPitchAttribute , See @style:font-pitch
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setStyleFontPitchAttribute

      public void setStyleFontPitchAttribute(String styleFontPitchValue)
      Sets the value of ODFDOM attribute representation StyleFontPitchAttribute , See @style:font-pitch
      Parameters:
      styleFontPitchValue - The type is String
    • getStyleNameAttribute

      public String getStyleNameAttribute()
      Receives the value of the ODFDOM attribute representation StyleNameAttribute , See @style:name

      Attribute is mandatory.

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

      public void setStyleNameAttribute(String styleNameValue)
      Sets the value of ODFDOM attribute representation StyleNameAttribute , See @style:name
      Parameters:
      styleNameValue - The type is String
    • getSvgAccentHeightAttribute

      public Integer getSvgAccentHeightAttribute()
      Receives the value of the ODFDOM attribute representation SvgAccentHeightAttribute , See @svg:accent-height
      Returns:
      - the Integer , the value or null, if the attribute is not set and no default value defined.
    • setSvgAccentHeightAttribute

      public void setSvgAccentHeightAttribute(Integer svgAccentHeightValue)
      Sets the value of ODFDOM attribute representation SvgAccentHeightAttribute , See @svg:accent-height
      Parameters:
      svgAccentHeightValue - The type is Integer
    • getSvgAlphabeticAttribute

      public Integer getSvgAlphabeticAttribute()
      Receives the value of the ODFDOM attribute representation SvgAlphabeticAttribute , See @svg:alphabetic
      Returns:
      - the Integer , the value or null, if the attribute is not set and no default value defined.
    • setSvgAlphabeticAttribute

      public void setSvgAlphabeticAttribute(Integer svgAlphabeticValue)
      Sets the value of ODFDOM attribute representation SvgAlphabeticAttribute , See @svg:alphabetic
      Parameters:
      svgAlphabeticValue - The type is Integer
    • getSvgAscentAttribute

      public Integer getSvgAscentAttribute()
      Receives the value of the ODFDOM attribute representation SvgAscentAttribute , See @svg:ascent
      Returns:
      - the Integer , the value or null, if the attribute is not set and no default value defined.
    • setSvgAscentAttribute

      public void setSvgAscentAttribute(Integer svgAscentValue)
      Sets the value of ODFDOM attribute representation SvgAscentAttribute , See @svg:ascent
      Parameters:
      svgAscentValue - The type is Integer
    • getSvgBboxAttribute

      public String getSvgBboxAttribute()
      Receives the value of the ODFDOM attribute representation SvgBboxAttribute , See @svg:bbox
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setSvgBboxAttribute

      public void setSvgBboxAttribute(String svgBboxValue)
      Sets the value of ODFDOM attribute representation SvgBboxAttribute , See @svg:bbox
      Parameters:
      svgBboxValue - The type is String
    • getSvgCapHeightAttribute

      public Integer getSvgCapHeightAttribute()
      Receives the value of the ODFDOM attribute representation SvgCapHeightAttribute , See @svg:cap-height
      Returns:
      - the Integer , the value or null, if the attribute is not set and no default value defined.
    • setSvgCapHeightAttribute

      public void setSvgCapHeightAttribute(Integer svgCapHeightValue)
      Sets the value of ODFDOM attribute representation SvgCapHeightAttribute , See @svg:cap-height
      Parameters:
      svgCapHeightValue - The type is Integer
    • getSvgDescentAttribute

      public Integer getSvgDescentAttribute()
      Receives the value of the ODFDOM attribute representation SvgDescentAttribute , See @svg:descent
      Returns:
      - the Integer , the value or null, if the attribute is not set and no default value defined.
    • setSvgDescentAttribute

      public void setSvgDescentAttribute(Integer svgDescentValue)
      Sets the value of ODFDOM attribute representation SvgDescentAttribute , See @svg:descent
      Parameters:
      svgDescentValue - The type is Integer
    • getSvgFontFamilyAttribute

      public String getSvgFontFamilyAttribute()
      Receives the value of the ODFDOM attribute representation SvgFontFamilyAttribute , See @svg:font-family
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setSvgFontFamilyAttribute

      public void setSvgFontFamilyAttribute(String svgFontFamilyValue)
      Sets the value of ODFDOM attribute representation SvgFontFamilyAttribute , See @svg:font-family
      Parameters:
      svgFontFamilyValue - The type is String
    • getSvgFontSizeAttribute

      public String getSvgFontSizeAttribute()
      Receives the value of the ODFDOM attribute representation SvgFontSizeAttribute , See @svg:font-size
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setSvgFontSizeAttribute

      public void setSvgFontSizeAttribute(String svgFontSizeValue)
      Sets the value of ODFDOM attribute representation SvgFontSizeAttribute , See @svg:font-size
      Parameters:
      svgFontSizeValue - The type is String
    • getSvgFontStretchAttribute

      public String getSvgFontStretchAttribute()
      Receives the value of the ODFDOM attribute representation SvgFontStretchAttribute , See @svg:font-stretch
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setSvgFontStretchAttribute

      public void setSvgFontStretchAttribute(String svgFontStretchValue)
      Sets the value of ODFDOM attribute representation SvgFontStretchAttribute , See @svg:font-stretch
      Parameters:
      svgFontStretchValue - The type is String
    • getSvgFontStyleAttribute

      public String getSvgFontStyleAttribute()
      Receives the value of the ODFDOM attribute representation SvgFontStyleAttribute , See @svg:font-style
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setSvgFontStyleAttribute

      public void setSvgFontStyleAttribute(String svgFontStyleValue)
      Sets the value of ODFDOM attribute representation SvgFontStyleAttribute , See @svg:font-style
      Parameters:
      svgFontStyleValue - The type is String
    • getSvgFontVariantAttribute

      public String getSvgFontVariantAttribute()
      Receives the value of the ODFDOM attribute representation SvgFontVariantAttribute , See @svg:font-variant
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setSvgFontVariantAttribute

      public void setSvgFontVariantAttribute(String svgFontVariantValue)
      Sets the value of ODFDOM attribute representation SvgFontVariantAttribute , See @svg:font-variant
      Parameters:
      svgFontVariantValue - The type is String
    • getSvgFontWeightAttribute

      public String getSvgFontWeightAttribute()
      Receives the value of the ODFDOM attribute representation SvgFontWeightAttribute , See @svg:font-weight
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setSvgFontWeightAttribute

      public void setSvgFontWeightAttribute(String svgFontWeightValue)
      Sets the value of ODFDOM attribute representation SvgFontWeightAttribute , See @svg:font-weight
      Parameters:
      svgFontWeightValue - The type is String
    • getSvgHangingAttribute

      public Integer getSvgHangingAttribute()
      Receives the value of the ODFDOM attribute representation SvgHangingAttribute , See @svg:hanging
      Returns:
      - the Integer , the value or null, if the attribute is not set and no default value defined.
    • setSvgHangingAttribute

      public void setSvgHangingAttribute(Integer svgHangingValue)
      Sets the value of ODFDOM attribute representation SvgHangingAttribute , See @svg:hanging
      Parameters:
      svgHangingValue - The type is Integer
    • getSvgIdeographicAttribute

      public Integer getSvgIdeographicAttribute()
      Receives the value of the ODFDOM attribute representation SvgIdeographicAttribute , See @svg:ideographic
      Returns:
      - the Integer , the value or null, if the attribute is not set and no default value defined.
    • setSvgIdeographicAttribute

      public void setSvgIdeographicAttribute(Integer svgIdeographicValue)
      Sets the value of ODFDOM attribute representation SvgIdeographicAttribute , See @svg:ideographic
      Parameters:
      svgIdeographicValue - The type is Integer
    • getSvgMathematicalAttribute

      public Integer getSvgMathematicalAttribute()
      Receives the value of the ODFDOM attribute representation SvgMathematicalAttribute , See @svg:mathematical
      Returns:
      - the Integer , the value or null, if the attribute is not set and no default value defined.
    • setSvgMathematicalAttribute

      public void setSvgMathematicalAttribute(Integer svgMathematicalValue)
      Sets the value of ODFDOM attribute representation SvgMathematicalAttribute , See @svg:mathematical
      Parameters:
      svgMathematicalValue - The type is Integer
    • getSvgOverlinePositionAttribute

      public Integer getSvgOverlinePositionAttribute()
      Receives the value of the ODFDOM attribute representation SvgOverlinePositionAttribute , See @svg:overline-position
      Returns:
      - the Integer , the value or null, if the attribute is not set and no default value defined.
    • setSvgOverlinePositionAttribute

      public void setSvgOverlinePositionAttribute(Integer svgOverlinePositionValue)
      Sets the value of ODFDOM attribute representation SvgOverlinePositionAttribute , See @svg:overline-position
      Parameters:
      svgOverlinePositionValue - The type is Integer
    • getSvgOverlineThicknessAttribute

      public Integer getSvgOverlineThicknessAttribute()
      Receives the value of the ODFDOM attribute representation SvgOverlineThicknessAttribute , See @svg:overline-thickness
      Returns:
      - the Integer , the value or null, if the attribute is not set and no default value defined.
    • setSvgOverlineThicknessAttribute

      public void setSvgOverlineThicknessAttribute(Integer svgOverlineThicknessValue)
      Sets the value of ODFDOM attribute representation SvgOverlineThicknessAttribute , See @svg:overline-thickness
      Parameters:
      svgOverlineThicknessValue - The type is Integer
    • getSvgPanose1Attribute

      public String getSvgPanose1Attribute()
      Receives the value of the ODFDOM attribute representation SvgPanose1Attribute , See @svg:panose-1
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setSvgPanose1Attribute

      public void setSvgPanose1Attribute(String svgPanose1Value)
      Sets the value of ODFDOM attribute representation SvgPanose1Attribute , See @svg:panose-1
      Parameters:
      svgPanose1Value - The type is String
    • getSvgSlopeAttribute

      public Integer getSvgSlopeAttribute()
      Receives the value of the ODFDOM attribute representation SvgSlopeAttribute , See @svg:slope
      Returns:
      - the Integer , the value or null, if the attribute is not set and no default value defined.
    • setSvgSlopeAttribute

      public void setSvgSlopeAttribute(Integer svgSlopeValue)
      Sets the value of ODFDOM attribute representation SvgSlopeAttribute , See @svg:slope
      Parameters:
      svgSlopeValue - The type is Integer
    • getSvgStemhAttribute

      public Integer getSvgStemhAttribute()
      Receives the value of the ODFDOM attribute representation SvgStemhAttribute , See @svg:stemh
      Returns:
      - the Integer , the value or null, if the attribute is not set and no default value defined.
    • setSvgStemhAttribute

      public void setSvgStemhAttribute(Integer svgStemhValue)
      Sets the value of ODFDOM attribute representation SvgStemhAttribute , See @svg:stemh
      Parameters:
      svgStemhValue - The type is Integer
    • getSvgStemvAttribute

      public Integer getSvgStemvAttribute()
      Receives the value of the ODFDOM attribute representation SvgStemvAttribute , See @svg:stemv
      Returns:
      - the Integer , the value or null, if the attribute is not set and no default value defined.
    • setSvgStemvAttribute

      public void setSvgStemvAttribute(Integer svgStemvValue)
      Sets the value of ODFDOM attribute representation SvgStemvAttribute , See @svg:stemv
      Parameters:
      svgStemvValue - The type is Integer
    • getSvgStrikethroughPositionAttribute

      public Integer getSvgStrikethroughPositionAttribute()
      Receives the value of the ODFDOM attribute representation SvgStrikethroughPositionAttribute , See @svg:strikethrough-position
      Returns:
      - the Integer , the value or null, if the attribute is not set and no default value defined.
    • setSvgStrikethroughPositionAttribute

      public void setSvgStrikethroughPositionAttribute(Integer svgStrikethroughPositionValue)
      Sets the value of ODFDOM attribute representation SvgStrikethroughPositionAttribute , See @svg:strikethrough-position
      Parameters:
      svgStrikethroughPositionValue - The type is Integer
    • getSvgStrikethroughThicknessAttribute

      public Integer getSvgStrikethroughThicknessAttribute()
      Receives the value of the ODFDOM attribute representation SvgStrikethroughThicknessAttribute , See @svg:strikethrough-thickness
      Returns:
      - the Integer , the value or null, if the attribute is not set and no default value defined.
    • setSvgStrikethroughThicknessAttribute

      public void setSvgStrikethroughThicknessAttribute(Integer svgStrikethroughThicknessValue)
      Sets the value of ODFDOM attribute representation SvgStrikethroughThicknessAttribute , See @svg:strikethrough-thickness
      Parameters:
      svgStrikethroughThicknessValue - The type is Integer
    • getSvgUnderlinePositionAttribute

      public Integer getSvgUnderlinePositionAttribute()
      Receives the value of the ODFDOM attribute representation SvgUnderlinePositionAttribute , See @svg:underline-position
      Returns:
      - the Integer , the value or null, if the attribute is not set and no default value defined.
    • setSvgUnderlinePositionAttribute

      public void setSvgUnderlinePositionAttribute(Integer svgUnderlinePositionValue)
      Sets the value of ODFDOM attribute representation SvgUnderlinePositionAttribute , See @svg:underline-position
      Parameters:
      svgUnderlinePositionValue - The type is Integer
    • getSvgUnderlineThicknessAttribute

      public Integer getSvgUnderlineThicknessAttribute()
      Receives the value of the ODFDOM attribute representation SvgUnderlineThicknessAttribute , See @svg:underline-thickness
      Returns:
      - the Integer , the value or null, if the attribute is not set and no default value defined.
    • setSvgUnderlineThicknessAttribute

      public void setSvgUnderlineThicknessAttribute(Integer svgUnderlineThicknessValue)
      Sets the value of ODFDOM attribute representation SvgUnderlineThicknessAttribute , See @svg:underline-thickness
      Parameters:
      svgUnderlineThicknessValue - The type is Integer
    • getSvgUnicodeRangeAttribute

      public String getSvgUnicodeRangeAttribute()
      Receives the value of the ODFDOM attribute representation SvgUnicodeRangeAttribute , See @svg:unicode-range
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setSvgUnicodeRangeAttribute

      public void setSvgUnicodeRangeAttribute(String svgUnicodeRangeValue)
      Sets the value of ODFDOM attribute representation SvgUnicodeRangeAttribute , See @svg:unicode-range
      Parameters:
      svgUnicodeRangeValue - The type is String
    • getSvgUnitsPerEmAttribute

      public Integer getSvgUnitsPerEmAttribute()
      Receives the value of the ODFDOM attribute representation SvgUnitsPerEmAttribute , See @svg:units-per-em
      Returns:
      - the Integer , the value or null, if the attribute is not set and no default value defined.
    • setSvgUnitsPerEmAttribute

      public void setSvgUnitsPerEmAttribute(Integer svgUnitsPerEmValue)
      Sets the value of ODFDOM attribute representation SvgUnitsPerEmAttribute , See @svg:units-per-em
      Parameters:
      svgUnitsPerEmValue - The type is Integer
    • getSvgVAlphabeticAttribute

      public Integer getSvgVAlphabeticAttribute()
      Receives the value of the ODFDOM attribute representation SvgVAlphabeticAttribute , See @svg:v-alphabetic
      Returns:
      - the Integer , the value or null, if the attribute is not set and no default value defined.
    • setSvgVAlphabeticAttribute

      public void setSvgVAlphabeticAttribute(Integer svgVAlphabeticValue)
      Sets the value of ODFDOM attribute representation SvgVAlphabeticAttribute , See @svg:v-alphabetic
      Parameters:
      svgVAlphabeticValue - The type is Integer
    • getSvgVHangingAttribute

      public Integer getSvgVHangingAttribute()
      Receives the value of the ODFDOM attribute representation SvgVHangingAttribute , See @svg:v-hanging
      Returns:
      - the Integer , the value or null, if the attribute is not set and no default value defined.
    • setSvgVHangingAttribute

      public void setSvgVHangingAttribute(Integer svgVHangingValue)
      Sets the value of ODFDOM attribute representation SvgVHangingAttribute , See @svg:v-hanging
      Parameters:
      svgVHangingValue - The type is Integer
    • getSvgVIdeographicAttribute

      public Integer getSvgVIdeographicAttribute()
      Receives the value of the ODFDOM attribute representation SvgVIdeographicAttribute , See @svg:v-ideographic
      Returns:
      - the Integer , the value or null, if the attribute is not set and no default value defined.
    • setSvgVIdeographicAttribute

      public void setSvgVIdeographicAttribute(Integer svgVIdeographicValue)
      Sets the value of ODFDOM attribute representation SvgVIdeographicAttribute , See @svg:v-ideographic
      Parameters:
      svgVIdeographicValue - The type is Integer
    • getSvgVMathematicalAttribute

      public Integer getSvgVMathematicalAttribute()
      Receives the value of the ODFDOM attribute representation SvgVMathematicalAttribute , See @svg:v-mathematical
      Returns:
      - the Integer , the value or null, if the attribute is not set and no default value defined.
    • setSvgVMathematicalAttribute

      public void setSvgVMathematicalAttribute(Integer svgVMathematicalValue)
      Sets the value of ODFDOM attribute representation SvgVMathematicalAttribute , See @svg:v-mathematical
      Parameters:
      svgVMathematicalValue - The type is Integer
    • getSvgWidthsAttribute

      public String getSvgWidthsAttribute()
      Receives the value of the ODFDOM attribute representation SvgWidthsAttribute , See @svg:widths
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setSvgWidthsAttribute

      public void setSvgWidthsAttribute(String svgWidthsValue)
      Sets the value of ODFDOM attribute representation SvgWidthsAttribute , See @svg:widths
      Parameters:
      svgWidthsValue - The type is String
    • getSvgXHeightAttribute

      public Integer getSvgXHeightAttribute()
      Receives the value of the ODFDOM attribute representation SvgXHeightAttribute , See @svg:x-height
      Returns:
      - the Integer , the value or null, if the attribute is not set and no default value defined.
    • setSvgXHeightAttribute

      public void setSvgXHeightAttribute(Integer svgXHeightValue)
      Sets the value of ODFDOM attribute representation SvgXHeightAttribute , See @svg:x-height
      Parameters:
      svgXHeightValue - The type is Integer
    • newSvgDefinitionSrcElement

      public SvgDefinitionSrcElement newSvgDefinitionSrcElement(String xlinkHrefValue, String xlinkTypeValue)
      Create child element <svg:definition-src>.
      Parameters:
      xlinkHrefValue - the String value of XlinkHrefAttribute, see @xlink:href at specification
      xlinkTypeValue - the String value of XlinkTypeAttribute, see @xlink:type at specification
      Returns:
      the element <svg:definition-src>
    • newSvgFontFaceSrcElement

      public SvgFontFaceSrcElement newSvgFontFaceSrcElement()
      Create child element <svg:font-face-src>.
      Returns:
      the element <svg:font-face-src>
    • 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