Class StyleDrawingPagePropertiesElement

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

public class StyleDrawingPagePropertiesElement extends OdfStylePropertiesBase
DOM implementation of OpenDocument element <style:drawing-page-properties>.
See Also:
  • Field Details

  • Constructor Details

    • StyleDrawingPagePropertiesElement

      public StyleDrawingPagePropertiesElement(OdfFileDom ownerDoc)
      Create the instance of StyleDrawingPagePropertiesElement
      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:drawing-page-properties>.
    • getDrawBackgroundSizeAttribute

      public String getDrawBackgroundSizeAttribute()
      Receives the value of the ODFDOM attribute representation DrawBackgroundSizeAttribute , See @draw:background-size
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setDrawBackgroundSizeAttribute

      public void setDrawBackgroundSizeAttribute(String drawBackgroundSizeValue)
      Sets the value of ODFDOM attribute representation DrawBackgroundSizeAttribute , See @draw:background-size
      Parameters:
      drawBackgroundSizeValue - The type is String
    • getDrawFillAttribute

      public String getDrawFillAttribute()
      Receives the value of the ODFDOM attribute representation DrawFillAttribute , See @draw:fill
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setDrawFillAttribute

      public void setDrawFillAttribute(String drawFillValue)
      Sets the value of ODFDOM attribute representation DrawFillAttribute , See @draw:fill
      Parameters:
      drawFillValue - The type is String
    • getDrawFillColorAttribute

      public String getDrawFillColorAttribute()
      Receives the value of the ODFDOM attribute representation DrawFillColorAttribute , See @draw:fill-color
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setDrawFillColorAttribute

      public void setDrawFillColorAttribute(String drawFillColorValue)
      Sets the value of ODFDOM attribute representation DrawFillColorAttribute , See @draw:fill-color
      Parameters:
      drawFillColorValue - The type is String
    • getDrawFillGradientNameAttribute

      public String getDrawFillGradientNameAttribute()
      Receives the value of the ODFDOM attribute representation DrawFillGradientNameAttribute , See @draw:fill-gradient-name
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setDrawFillGradientNameAttribute

      public void setDrawFillGradientNameAttribute(String drawFillGradientNameValue)
      Sets the value of ODFDOM attribute representation DrawFillGradientNameAttribute , See @draw:fill-gradient-name
      Parameters:
      drawFillGradientNameValue - The type is String
    • getDrawFillHatchNameAttribute

      public String getDrawFillHatchNameAttribute()
      Receives the value of the ODFDOM attribute representation DrawFillHatchNameAttribute , See @draw:fill-hatch-name
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setDrawFillHatchNameAttribute

      public void setDrawFillHatchNameAttribute(String drawFillHatchNameValue)
      Sets the value of ODFDOM attribute representation DrawFillHatchNameAttribute , See @draw:fill-hatch-name
      Parameters:
      drawFillHatchNameValue - The type is String
    • getDrawFillHatchSolidAttribute

      public Boolean getDrawFillHatchSolidAttribute()
      Receives the value of the ODFDOM attribute representation DrawFillHatchSolidAttribute , See @draw:fill-hatch-solid
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setDrawFillHatchSolidAttribute

      public void setDrawFillHatchSolidAttribute(Boolean drawFillHatchSolidValue)
      Sets the value of ODFDOM attribute representation DrawFillHatchSolidAttribute , See @draw:fill-hatch-solid
      Parameters:
      drawFillHatchSolidValue - The type is Boolean
    • getDrawFillImageHeightAttribute

      public String getDrawFillImageHeightAttribute()
      Receives the value of the ODFDOM attribute representation DrawFillImageHeightAttribute , See @draw:fill-image-height
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setDrawFillImageHeightAttribute

      public void setDrawFillImageHeightAttribute(String drawFillImageHeightValue)
      Sets the value of ODFDOM attribute representation DrawFillImageHeightAttribute , See @draw:fill-image-height
      Parameters:
      drawFillImageHeightValue - The type is String
    • getDrawFillImageNameAttribute

      public String getDrawFillImageNameAttribute()
      Receives the value of the ODFDOM attribute representation DrawFillImageNameAttribute , See @draw:fill-image-name
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setDrawFillImageNameAttribute

      public void setDrawFillImageNameAttribute(String drawFillImageNameValue)
      Sets the value of ODFDOM attribute representation DrawFillImageNameAttribute , See @draw:fill-image-name
      Parameters:
      drawFillImageNameValue - The type is String
    • getDrawFillImageRefPointAttribute

      public String getDrawFillImageRefPointAttribute()
      Receives the value of the ODFDOM attribute representation DrawFillImageRefPointAttribute , See @draw:fill-image-ref-point
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setDrawFillImageRefPointAttribute

      public void setDrawFillImageRefPointAttribute(String drawFillImageRefPointValue)
      Sets the value of ODFDOM attribute representation DrawFillImageRefPointAttribute , See @draw:fill-image-ref-point
      Parameters:
      drawFillImageRefPointValue - The type is String
    • getDrawFillImageRefPointXAttribute

      public String getDrawFillImageRefPointXAttribute()
      Receives the value of the ODFDOM attribute representation DrawFillImageRefPointXAttribute , See @draw:fill-image-ref-point-x
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setDrawFillImageRefPointXAttribute

      public void setDrawFillImageRefPointXAttribute(String drawFillImageRefPointXValue)
      Sets the value of ODFDOM attribute representation DrawFillImageRefPointXAttribute , See @draw:fill-image-ref-point-x
      Parameters:
      drawFillImageRefPointXValue - The type is String
    • getDrawFillImageRefPointYAttribute

      public String getDrawFillImageRefPointYAttribute()
      Receives the value of the ODFDOM attribute representation DrawFillImageRefPointYAttribute , See @draw:fill-image-ref-point-y
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setDrawFillImageRefPointYAttribute

      public void setDrawFillImageRefPointYAttribute(String drawFillImageRefPointYValue)
      Sets the value of ODFDOM attribute representation DrawFillImageRefPointYAttribute , See @draw:fill-image-ref-point-y
      Parameters:
      drawFillImageRefPointYValue - The type is String
    • getDrawFillImageWidthAttribute

      public String getDrawFillImageWidthAttribute()
      Receives the value of the ODFDOM attribute representation DrawFillImageWidthAttribute , See @draw:fill-image-width
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setDrawFillImageWidthAttribute

      public void setDrawFillImageWidthAttribute(String drawFillImageWidthValue)
      Sets the value of ODFDOM attribute representation DrawFillImageWidthAttribute , See @draw:fill-image-width
      Parameters:
      drawFillImageWidthValue - The type is String
    • getDrawGradientStepCountAttribute

      public Integer getDrawGradientStepCountAttribute()
      Receives the value of the ODFDOM attribute representation DrawGradientStepCountAttribute , See @draw:gradient-step-count
      Returns:
      - the Integer , the value or null, if the attribute is not set and no default value defined.
    • setDrawGradientStepCountAttribute

      public void setDrawGradientStepCountAttribute(Integer drawGradientStepCountValue)
      Sets the value of ODFDOM attribute representation DrawGradientStepCountAttribute , See @draw:gradient-step-count
      Parameters:
      drawGradientStepCountValue - The type is Integer
    • getDrawOpacityAttribute

      public String getDrawOpacityAttribute()
      Receives the value of the ODFDOM attribute representation DrawOpacityAttribute , See @draw:opacity
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setDrawOpacityAttribute

      public void setDrawOpacityAttribute(String drawOpacityValue)
      Sets the value of ODFDOM attribute representation DrawOpacityAttribute , See @draw:opacity
      Parameters:
      drawOpacityValue - The type is String
    • getDrawOpacityNameAttribute

      public String getDrawOpacityNameAttribute()
      Receives the value of the ODFDOM attribute representation DrawOpacityNameAttribute , See @draw:opacity-name
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setDrawOpacityNameAttribute

      public void setDrawOpacityNameAttribute(String drawOpacityNameValue)
      Sets the value of ODFDOM attribute representation DrawOpacityNameAttribute , See @draw:opacity-name
      Parameters:
      drawOpacityNameValue - The type is String
    • getDrawSecondaryFillColorAttribute

      public String getDrawSecondaryFillColorAttribute()
      Receives the value of the ODFDOM attribute representation DrawSecondaryFillColorAttribute , See @draw:secondary-fill-color
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setDrawSecondaryFillColorAttribute

      public void setDrawSecondaryFillColorAttribute(String drawSecondaryFillColorValue)
      Sets the value of ODFDOM attribute representation DrawSecondaryFillColorAttribute , See @draw:secondary-fill-color
      Parameters:
      drawSecondaryFillColorValue - The type is String
    • getDrawTileRepeatOffsetAttribute

      public String getDrawTileRepeatOffsetAttribute()
      Receives the value of the ODFDOM attribute representation DrawTileRepeatOffsetAttribute , See @draw:tile-repeat-offset
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setDrawTileRepeatOffsetAttribute

      public void setDrawTileRepeatOffsetAttribute(String drawTileRepeatOffsetValue)
      Sets the value of ODFDOM attribute representation DrawTileRepeatOffsetAttribute , See @draw:tile-repeat-offset
      Parameters:
      drawTileRepeatOffsetValue - The type is String
    • getPresentationBackgroundObjectsVisibleAttribute

      public Boolean getPresentationBackgroundObjectsVisibleAttribute()
      Receives the value of the ODFDOM attribute representation PresentationBackgroundObjectsVisibleAttribute , See @presentation:background-objects-visible
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setPresentationBackgroundObjectsVisibleAttribute

      public void setPresentationBackgroundObjectsVisibleAttribute(Boolean presentationBackgroundObjectsVisibleValue)
      Sets the value of ODFDOM attribute representation PresentationBackgroundObjectsVisibleAttribute , See @presentation:background-objects-visible
      Parameters:
      presentationBackgroundObjectsVisibleValue - The type is Boolean
    • getPresentationBackgroundVisibleAttribute

      public Boolean getPresentationBackgroundVisibleAttribute()
      Receives the value of the ODFDOM attribute representation PresentationBackgroundVisibleAttribute , See @presentation:background-visible
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setPresentationBackgroundVisibleAttribute

      public void setPresentationBackgroundVisibleAttribute(Boolean presentationBackgroundVisibleValue)
      Sets the value of ODFDOM attribute representation PresentationBackgroundVisibleAttribute , See @presentation:background-visible
      Parameters:
      presentationBackgroundVisibleValue - The type is Boolean
    • getPresentationDisplayDateTimeAttribute

      public Boolean getPresentationDisplayDateTimeAttribute()
      Receives the value of the ODFDOM attribute representation PresentationDisplayDateTimeAttribute , See @presentation:display-date-time
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setPresentationDisplayDateTimeAttribute

      public void setPresentationDisplayDateTimeAttribute(Boolean presentationDisplayDateTimeValue)
      Sets the value of ODFDOM attribute representation PresentationDisplayDateTimeAttribute , See @presentation:display-date-time
      Parameters:
      presentationDisplayDateTimeValue - The type is Boolean
    • getPresentationDisplayFooterAttribute

      public Boolean getPresentationDisplayFooterAttribute()
      Receives the value of the ODFDOM attribute representation PresentationDisplayFooterAttribute , See @presentation:display-footer
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setPresentationDisplayFooterAttribute

      public void setPresentationDisplayFooterAttribute(Boolean presentationDisplayFooterValue)
      Sets the value of ODFDOM attribute representation PresentationDisplayFooterAttribute , See @presentation:display-footer
      Parameters:
      presentationDisplayFooterValue - The type is Boolean
    • getPresentationDisplayHeaderAttribute

      public Boolean getPresentationDisplayHeaderAttribute()
      Receives the value of the ODFDOM attribute representation PresentationDisplayHeaderAttribute , See @presentation:display-header
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setPresentationDisplayHeaderAttribute

      public void setPresentationDisplayHeaderAttribute(Boolean presentationDisplayHeaderValue)
      Sets the value of ODFDOM attribute representation PresentationDisplayHeaderAttribute , See @presentation:display-header
      Parameters:
      presentationDisplayHeaderValue - The type is Boolean
    • getPresentationDisplayPageNumberAttribute

      public Boolean getPresentationDisplayPageNumberAttribute()
      Receives the value of the ODFDOM attribute representation PresentationDisplayPageNumberAttribute , See @presentation:display-page-number
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setPresentationDisplayPageNumberAttribute

      public void setPresentationDisplayPageNumberAttribute(Boolean presentationDisplayPageNumberValue)
      Sets the value of ODFDOM attribute representation PresentationDisplayPageNumberAttribute , See @presentation:display-page-number
      Parameters:
      presentationDisplayPageNumberValue - The type is Boolean
    • getPresentationDurationAttribute

      public String getPresentationDurationAttribute()
      Receives the value of the ODFDOM attribute representation PresentationDurationAttribute , See @presentation:duration
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setPresentationDurationAttribute

      public void setPresentationDurationAttribute(String presentationDurationValue)
      Sets the value of ODFDOM attribute representation PresentationDurationAttribute , See @presentation:duration
      Parameters:
      presentationDurationValue - The type is String
    • getPresentationTransitionSpeedAttribute

      public String getPresentationTransitionSpeedAttribute()
      Receives the value of the ODFDOM attribute representation PresentationTransitionSpeedAttribute , See @presentation:transition-speed
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setPresentationTransitionSpeedAttribute

      public void setPresentationTransitionSpeedAttribute(String presentationTransitionSpeedValue)
      Sets the value of ODFDOM attribute representation PresentationTransitionSpeedAttribute , See @presentation:transition-speed
      Parameters:
      presentationTransitionSpeedValue - The type is String
    • getPresentationTransitionStyleAttribute

      public String getPresentationTransitionStyleAttribute()
      Receives the value of the ODFDOM attribute representation PresentationTransitionStyleAttribute , See @presentation:transition-style
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setPresentationTransitionStyleAttribute

      public void setPresentationTransitionStyleAttribute(String presentationTransitionStyleValue)
      Sets the value of ODFDOM attribute representation PresentationTransitionStyleAttribute , See @presentation:transition-style
      Parameters:
      presentationTransitionStyleValue - The type is String
    • getPresentationTransitionTypeAttribute

      public String getPresentationTransitionTypeAttribute()
      Receives the value of the ODFDOM attribute representation PresentationTransitionTypeAttribute , See @presentation:transition-type
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setPresentationTransitionTypeAttribute

      public void setPresentationTransitionTypeAttribute(String presentationTransitionTypeValue)
      Sets the value of ODFDOM attribute representation PresentationTransitionTypeAttribute , See @presentation:transition-type
      Parameters:
      presentationTransitionTypeValue - The type is String
    • getPresentationVisibilityAttribute

      public String getPresentationVisibilityAttribute()
      Receives the value of the ODFDOM attribute representation PresentationVisibilityAttribute , See @presentation:visibility
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setPresentationVisibilityAttribute

      public void setPresentationVisibilityAttribute(String presentationVisibilityValue)
      Sets the value of ODFDOM attribute representation PresentationVisibilityAttribute , See @presentation:visibility
      Parameters:
      presentationVisibilityValue - The type is String
    • getSmilDirectionAttribute

      public String getSmilDirectionAttribute()
      Receives the value of the ODFDOM attribute representation SmilDirectionAttribute , See @smil:direction
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setSmilDirectionAttribute

      public void setSmilDirectionAttribute(String smilDirectionValue)
      Sets the value of ODFDOM attribute representation SmilDirectionAttribute , See @smil:direction
      Parameters:
      smilDirectionValue - The type is String
    • getSmilFadeColorAttribute

      public String getSmilFadeColorAttribute()
      Receives the value of the ODFDOM attribute representation SmilFadeColorAttribute , See @smil:fadeColor
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setSmilFadeColorAttribute

      public void setSmilFadeColorAttribute(String smilFadeColorValue)
      Sets the value of ODFDOM attribute representation SmilFadeColorAttribute , See @smil:fadeColor
      Parameters:
      smilFadeColorValue - The type is String
    • getSmilSubtypeAttribute

      public String getSmilSubtypeAttribute()
      Receives the value of the ODFDOM attribute representation SmilSubtypeAttribute , See @smil:subtype
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setSmilSubtypeAttribute

      public void setSmilSubtypeAttribute(String smilSubtypeValue)
      Sets the value of ODFDOM attribute representation SmilSubtypeAttribute , See @smil:subtype
      Parameters:
      smilSubtypeValue - The type is String
    • getSmilTypeAttribute

      public String getSmilTypeAttribute()
      Receives the value of the ODFDOM attribute representation SmilTypeAttribute , See @smil:type
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setSmilTypeAttribute

      public void setSmilTypeAttribute(String smilTypeValue)
      Sets the value of ODFDOM attribute representation SmilTypeAttribute , See @smil:type
      Parameters:
      smilTypeValue - The type is String
    • getStyleRepeatAttribute

      public String getStyleRepeatAttribute()
      Receives the value of the ODFDOM attribute representation StyleRepeatAttribute , See @style:repeat
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setStyleRepeatAttribute

      public void setStyleRepeatAttribute(String styleRepeatValue)
      Sets the value of ODFDOM attribute representation StyleRepeatAttribute , See @style:repeat
      Parameters:
      styleRepeatValue - The type is String
    • getSvgFillRuleAttribute

      public String getSvgFillRuleAttribute()
      Receives the value of the ODFDOM attribute representation SvgFillRuleAttribute , See @svg:fill-rule
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setSvgFillRuleAttribute

      public void setSvgFillRuleAttribute(String svgFillRuleValue)
      Sets the value of ODFDOM attribute representation SvgFillRuleAttribute , See @svg:fill-rule
      Parameters:
      svgFillRuleValue - The type is String
    • newPresentationSoundElement

      public PresentationSoundElement newPresentationSoundElement(String xlinkHrefValue, String xlinkTypeValue)
      Create child element <presentation:sound>.
      Parameters:
      xlinkHrefValue - the String value of XlinkHrefAttribute, see @xlink:href at specification
      xlinkTypeValue - the String value of XlinkTypeAttribute, see @xlink:type at specification Child element was added in ODF 1.2
      Returns:
      the element <presentation:sound>
    • 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