Class StylePresentationPageLayoutElement

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

public class StylePresentationPageLayoutElement extends OdfElement
DOM implementation of OpenDocument element <style:presentation-page-layout>.
See Also:
  • Field Details

    • ELEMENT_NAME

      public static final OdfName ELEMENT_NAME
  • Constructor Details

    • StylePresentationPageLayoutElement

      public StylePresentationPageLayoutElement(OdfFileDom ownerDoc)
      Create the instance of StylePresentationPageLayoutElement
      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:presentation-page-layout>.
    • getStyleDisplayNameAttribute

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

      public void setStyleDisplayNameAttribute(String styleDisplayNameValue)
      Sets the value of ODFDOM attribute representation StyleDisplayNameAttribute , See @style:display-name
      Parameters:
      styleDisplayNameValue - 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
    • newPresentationPlaceholderElement

      public PresentationPlaceholderElement newPresentationPlaceholderElement(String presentationObjectValue, String svgHeightValue, String svgWidthValue, String svgXValue, String svgYValue)
      Create child element <presentation:placeholder>.
      Parameters:
      presentationObjectValue - the String value of PresentationObjectAttribute, see @presentation:object at specification
      svgHeightValue - the String value of SvgHeightAttribute, see @svg:height at specification
      svgWidthValue - the String value of SvgWidthAttribute, see @svg:width at specification
      svgXValue - the String value of SvgXAttribute, see @svg:x at specification
      svgYValue - the String value of SvgYAttribute, see @svg:y at specification
      Returns:
      the element <presentation:placeholder>
    • 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