Class DrawAreaRectangleElement

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

public class DrawAreaRectangleElement extends OdfElement
DOM implementation of OpenDocument element <draw:area-rectangle>.
See Also:
  • Field Details

    • ELEMENT_NAME

      public static final OdfName ELEMENT_NAME
  • Constructor Details

    • DrawAreaRectangleElement

      public DrawAreaRectangleElement(OdfFileDom ownerDoc)
      Create the instance of DrawAreaRectangleElement
      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:area-rectangle>.
    • getDrawNohrefAttribute

      public String getDrawNohrefAttribute()
      Receives the value of the ODFDOM attribute representation DrawNohrefAttribute , See @draw:nohref
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setDrawNohrefAttribute

      public void setDrawNohrefAttribute(String drawNohrefValue)
      Sets the value of ODFDOM attribute representation DrawNohrefAttribute , See @draw:nohref
      Parameters:
      drawNohrefValue - The type is String
    • getOfficeNameAttribute

      public String getOfficeNameAttribute()
      Receives the value of the ODFDOM attribute representation OfficeNameAttribute , See @office:name
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setOfficeNameAttribute

      public void setOfficeNameAttribute(String officeNameValue)
      Sets the value of ODFDOM attribute representation OfficeNameAttribute , See @office:name
      Parameters:
      officeNameValue - The type is String
    • getOfficeTargetFrameNameAttribute

      public String getOfficeTargetFrameNameAttribute()
      Receives the value of the ODFDOM attribute representation OfficeTargetFrameNameAttribute , See @office:target-frame-name
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setOfficeTargetFrameNameAttribute

      public void setOfficeTargetFrameNameAttribute(String officeTargetFrameNameValue)
      Sets the value of ODFDOM attribute representation OfficeTargetFrameNameAttribute , See @office:target-frame-name
      Parameters:
      officeTargetFrameNameValue - The type is String
    • getSvgHeightAttribute

      public String getSvgHeightAttribute()
      Receives the value of the ODFDOM attribute representation SvgHeightAttribute , See @svg:height

      Attribute is mandatory.

      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
    • getSvgWidthAttribute

      public String getSvgWidthAttribute()
      Receives the value of the ODFDOM attribute representation SvgWidthAttribute , See @svg:width

      Attribute is mandatory.

      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
    • getSvgXAttribute

      public String getSvgXAttribute()
      Receives the value of the ODFDOM attribute representation SvgXAttribute , See @svg:x

      Attribute is mandatory.

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

      public void setSvgXAttribute(String svgXValue)
      Sets the value of ODFDOM attribute representation SvgXAttribute , See @svg:x
      Parameters:
      svgXValue - The type is String
    • getSvgYAttribute

      public String getSvgYAttribute()
      Receives the value of the ODFDOM attribute representation SvgYAttribute , See @svg:y

      Attribute is mandatory.

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

      public void setSvgYAttribute(String svgYValue)
      Sets the value of ODFDOM attribute representation SvgYAttribute , See @svg:y
      Parameters:
      svgYValue - The type is String
    • getXlinkHrefAttribute

      public String getXlinkHrefAttribute()
      Receives the value of the ODFDOM attribute representation XlinkHrefAttribute , See @xlink:href
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setXlinkHrefAttribute

      public void setXlinkHrefAttribute(String xlinkHrefValue)
      Sets the value of ODFDOM attribute representation XlinkHrefAttribute , See @xlink:href
      Parameters:
      xlinkHrefValue - The type is String
    • getXlinkShowAttribute

      public String getXlinkShowAttribute()
      Receives the value of the ODFDOM attribute representation XlinkShowAttribute , See @xlink:show
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setXlinkShowAttribute

      public void setXlinkShowAttribute(String xlinkShowValue)
      Sets the value of ODFDOM attribute representation XlinkShowAttribute , See @xlink:show
      Parameters:
      xlinkShowValue - The type is String
    • getXlinkTypeAttribute

      public String getXlinkTypeAttribute()
      Receives the value of the ODFDOM attribute representation XlinkTypeAttribute , See @xlink:type
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setXlinkTypeAttribute

      public void setXlinkTypeAttribute(String xlinkTypeValue)
      Sets the value of ODFDOM attribute representation XlinkTypeAttribute , See @xlink:type
      Parameters:
      xlinkTypeValue - The type is String
    • newOfficeEventListenersElement

      public OfficeEventListenersElement newOfficeEventListenersElement()
      Create child element <office:event-listeners>.
      Returns:
      the element <office:event-listeners>
    • newSvgDescElement

      public SvgDescElement newSvgDescElement()
      Create child element <svg:desc>.
      Returns:
      the element <svg:desc>
    • newSvgTitleElement

      public SvgTitleElement newSvgTitleElement()
      Create child element <svg:title>.

      Child element was added in ODF 1.1

      Returns:
      the element <svg:title>
    • 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