Class DrawPageThumbnailElement

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

public class DrawPageThumbnailElement extends DrawShapeElementBase
DOM implementation of OpenDocument element <draw:page-thumbnail>.
See Also:
  • Field Details

    • ELEMENT_NAME

      public static final OdfName ELEMENT_NAME
  • Constructor Details

    • DrawPageThumbnailElement

      public DrawPageThumbnailElement(OdfFileDom ownerDoc)
      Create the instance of DrawPageThumbnailElement
      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:page-thumbnail>.
    • getDrawCaptionIdAttribute

      public String getDrawCaptionIdAttribute()
      Receives the value of the ODFDOM attribute representation DrawCaptionIdAttribute , See @draw:caption-id
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setDrawCaptionIdAttribute

      public void setDrawCaptionIdAttribute(String drawCaptionIdValue)
      Sets the value of ODFDOM attribute representation DrawCaptionIdAttribute , See @draw:caption-id
      Parameters:
      drawCaptionIdValue - The type is String
    • getDrawLayerAttribute

      public String getDrawLayerAttribute()
      Receives the value of the ODFDOM attribute representation DrawLayerAttribute , See @draw:layer
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setDrawLayerAttribute

      public void setDrawLayerAttribute(String drawLayerValue)
      Sets the value of ODFDOM attribute representation DrawLayerAttribute , See @draw:layer
      Parameters:
      drawLayerValue - The type is String
    • getDrawPageNumberAttribute

      public Integer getDrawPageNumberAttribute()
      Receives the value of the ODFDOM attribute representation DrawPageNumberAttribute , See @draw:page-number
      Returns:
      - the Integer , the value or null, if the attribute is not set and no default value defined.
    • setDrawPageNumberAttribute

      public void setDrawPageNumberAttribute(Integer drawPageNumberValue)
      Sets the value of ODFDOM attribute representation DrawPageNumberAttribute , See @draw:page-number
      Parameters:
      drawPageNumberValue - The type is Integer
    • getDrawTransformAttribute

      public String getDrawTransformAttribute()
      Receives the value of the ODFDOM attribute representation DrawTransformAttribute , See @draw:transform
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setDrawTransformAttribute

      public void setDrawTransformAttribute(String drawTransformValue)
      Sets the value of ODFDOM attribute representation DrawTransformAttribute , See @draw:transform
      Parameters:
      drawTransformValue - The type is String
    • getPresentationClassAttribute

      public String getPresentationClassAttribute()
      Receives the value of the ODFDOM attribute representation PresentationClassAttribute , See @presentation:class
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setPresentationClassAttribute

      public void setPresentationClassAttribute(String presentationClassValue)
      Sets the value of ODFDOM attribute representation PresentationClassAttribute , See @presentation:class
      Parameters:
      presentationClassValue - The type is String
    • getPresentationPlaceholderAttribute

      public Boolean getPresentationPlaceholderAttribute()
      Receives the value of the ODFDOM attribute representation PresentationPlaceholderAttribute , See @presentation:placeholder
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setPresentationPlaceholderAttribute

      public void setPresentationPlaceholderAttribute(Boolean presentationPlaceholderValue)
      Sets the value of ODFDOM attribute representation PresentationPlaceholderAttribute , See @presentation:placeholder
      Parameters:
      presentationPlaceholderValue - The type is Boolean
    • getPresentationUserTransformedAttribute

      public Boolean getPresentationUserTransformedAttribute()
      Receives the value of the ODFDOM attribute representation PresentationUserTransformedAttribute , See @presentation:user-transformed
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setPresentationUserTransformedAttribute

      public void setPresentationUserTransformedAttribute(Boolean presentationUserTransformedValue)
      Sets the value of ODFDOM attribute representation PresentationUserTransformedAttribute , See @presentation:user-transformed
      Parameters:
      presentationUserTransformedValue - The type is Boolean
    • 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
    • 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
    • getSvgXAttribute

      public String getSvgXAttribute()
      Receives the value of the ODFDOM attribute representation SvgXAttribute , See @svg:x
      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
      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
    • newSvgDescElement

      public SvgDescElement newSvgDescElement()
      Create child element <svg:desc>.

      Child element was added in ODF 1.1

      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