Class DrawContourPathElement

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

public class DrawContourPathElement extends OdfElement
DOM implementation of OpenDocument element <draw:contour-path>.
See Also:
  • Field Details

    • ELEMENT_NAME

      public static final OdfName ELEMENT_NAME
  • Constructor Details

    • DrawContourPathElement

      public DrawContourPathElement(OdfFileDom ownerDoc)
      Create the instance of DrawContourPathElement
      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 <draw:contour-path>.
    • getDrawRecreateOnEditAttribute

      public Boolean getDrawRecreateOnEditAttribute()
      Receives the value of the ODFDOM attribute representation DrawRecreateOnEditAttribute , See @draw:recreate-on-edit

      Attribute is mandatory.

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

      public void setDrawRecreateOnEditAttribute(Boolean drawRecreateOnEditValue)
      Sets the value of ODFDOM attribute representation DrawRecreateOnEditAttribute , See @draw:recreate-on-edit
      Parameters:
      drawRecreateOnEditValue - The type is Boolean
    • getSvgDAttribute

      public String getSvgDAttribute()
      Receives the value of the ODFDOM attribute representation SvgDAttribute , See @svg:d

      Attribute is mandatory.

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

      public void setSvgDAttribute(String svgDValue)
      Sets the value of ODFDOM attribute representation SvgDAttribute , See @svg:d
      Parameters:
      svgDValue - The type is String
    • getSvgHeightAttribute

      public String getSvgHeightAttribute()
      Receives the value of the ODFDOM attribute representation SvgHeightAttribute , See @svg:height
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setSvgHeightAttribute

      public void setSvgHeightAttribute(String svgHeightValue)
      Sets the value of ODFDOM attribute representation SvgHeightAttribute , See @svg:height
      Parameters:
      svgHeightValue - The type is String
    • getSvgViewBoxAttribute

      public Integer getSvgViewBoxAttribute()
      Receives the value of the ODFDOM attribute representation SvgViewBoxAttribute , See @svg:viewBox

      Attribute is mandatory.

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

      public void setSvgViewBoxAttribute(Integer svgViewBoxValue)
      Sets the value of ODFDOM attribute representation SvgViewBoxAttribute , See @svg:viewBox
      Parameters:
      svgViewBoxValue - The type is Integer
    • getSvgWidthAttribute

      public String getSvgWidthAttribute()
      Receives the value of the ODFDOM attribute representation SvgWidthAttribute , See @svg:width
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setSvgWidthAttribute

      public void setSvgWidthAttribute(String svgWidthValue)
      Sets the value of ODFDOM attribute representation SvgWidthAttribute , See @svg:width
      Parameters:
      svgWidthValue - 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