Class PresentationSettingsElement

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

public class PresentationSettingsElement extends OdfElement
DOM implementation of OpenDocument element <presentation:settings>.
See Also:
  • Field Details

    • ELEMENT_NAME

      public static final OdfName ELEMENT_NAME
  • Constructor Details

    • PresentationSettingsElement

      public PresentationSettingsElement(OdfFileDom ownerDoc)
      Create the instance of PresentationSettingsElement
      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 <presentation:settings>.
    • getPresentationAnimationsAttribute

      public String getPresentationAnimationsAttribute()
      Receives the value of the ODFDOM attribute representation PresentationAnimationsAttribute , See @presentation:animations
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setPresentationAnimationsAttribute

      public void setPresentationAnimationsAttribute(String presentationAnimationsValue)
      Sets the value of ODFDOM attribute representation PresentationAnimationsAttribute , See @presentation:animations
      Parameters:
      presentationAnimationsValue - The type is String
    • getPresentationEndlessAttribute

      public Boolean getPresentationEndlessAttribute()
      Receives the value of the ODFDOM attribute representation PresentationEndlessAttribute , See @presentation:endless
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setPresentationEndlessAttribute

      public void setPresentationEndlessAttribute(Boolean presentationEndlessValue)
      Sets the value of ODFDOM attribute representation PresentationEndlessAttribute , See @presentation:endless
      Parameters:
      presentationEndlessValue - The type is Boolean
    • getPresentationForceManualAttribute

      public Boolean getPresentationForceManualAttribute()
      Receives the value of the ODFDOM attribute representation PresentationForceManualAttribute , See @presentation:force-manual
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setPresentationForceManualAttribute

      public void setPresentationForceManualAttribute(Boolean presentationForceManualValue)
      Sets the value of ODFDOM attribute representation PresentationForceManualAttribute , See @presentation:force-manual
      Parameters:
      presentationForceManualValue - The type is Boolean
    • getPresentationFullScreenAttribute

      public Boolean getPresentationFullScreenAttribute()
      Receives the value of the ODFDOM attribute representation PresentationFullScreenAttribute , See @presentation:full-screen
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setPresentationFullScreenAttribute

      public void setPresentationFullScreenAttribute(Boolean presentationFullScreenValue)
      Sets the value of ODFDOM attribute representation PresentationFullScreenAttribute , See @presentation:full-screen
      Parameters:
      presentationFullScreenValue - The type is Boolean
    • getPresentationMouseAsPenAttribute

      public Boolean getPresentationMouseAsPenAttribute()
      Receives the value of the ODFDOM attribute representation PresentationMouseAsPenAttribute , See @presentation:mouse-as-pen
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setPresentationMouseAsPenAttribute

      public void setPresentationMouseAsPenAttribute(Boolean presentationMouseAsPenValue)
      Sets the value of ODFDOM attribute representation PresentationMouseAsPenAttribute , See @presentation:mouse-as-pen
      Parameters:
      presentationMouseAsPenValue - The type is Boolean
    • getPresentationMouseVisibleAttribute

      public Boolean getPresentationMouseVisibleAttribute()
      Receives the value of the ODFDOM attribute representation PresentationMouseVisibleAttribute , See @presentation:mouse-visible
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setPresentationMouseVisibleAttribute

      public void setPresentationMouseVisibleAttribute(Boolean presentationMouseVisibleValue)
      Sets the value of ODFDOM attribute representation PresentationMouseVisibleAttribute , See @presentation:mouse-visible
      Parameters:
      presentationMouseVisibleValue - The type is Boolean
    • getPresentationPauseAttribute

      public String getPresentationPauseAttribute()
      Receives the value of the ODFDOM attribute representation PresentationPauseAttribute , See @presentation:pause
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setPresentationPauseAttribute

      public void setPresentationPauseAttribute(String presentationPauseValue)
      Sets the value of ODFDOM attribute representation PresentationPauseAttribute , See @presentation:pause
      Parameters:
      presentationPauseValue - The type is String
    • getPresentationShowAttribute

      public String getPresentationShowAttribute()
      Receives the value of the ODFDOM attribute representation PresentationShowAttribute , See @presentation:show
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setPresentationShowAttribute

      public void setPresentationShowAttribute(String presentationShowValue)
      Sets the value of ODFDOM attribute representation PresentationShowAttribute , See @presentation:show
      Parameters:
      presentationShowValue - The type is String
    • getPresentationShowEndOfPresentationSlideAttribute

      public Boolean getPresentationShowEndOfPresentationSlideAttribute()
      Receives the value of the ODFDOM attribute representation PresentationShowEndOfPresentationSlideAttribute , See @presentation:show-end-of-presentation-slide
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setPresentationShowEndOfPresentationSlideAttribute

      public void setPresentationShowEndOfPresentationSlideAttribute(Boolean presentationShowEndOfPresentationSlideValue)
      Sets the value of ODFDOM attribute representation PresentationShowEndOfPresentationSlideAttribute , See @presentation:show-end-of-presentation-slide
      Parameters:
      presentationShowEndOfPresentationSlideValue - The type is Boolean
    • getPresentationShowLogoAttribute

      public Boolean getPresentationShowLogoAttribute()
      Receives the value of the ODFDOM attribute representation PresentationShowLogoAttribute , See @presentation:show-logo
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setPresentationShowLogoAttribute

      public void setPresentationShowLogoAttribute(Boolean presentationShowLogoValue)
      Sets the value of ODFDOM attribute representation PresentationShowLogoAttribute , See @presentation:show-logo
      Parameters:
      presentationShowLogoValue - The type is Boolean
    • getPresentationStartPageAttribute

      public String getPresentationStartPageAttribute()
      Receives the value of the ODFDOM attribute representation PresentationStartPageAttribute , See @presentation:start-page
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setPresentationStartPageAttribute

      public void setPresentationStartPageAttribute(String presentationStartPageValue)
      Sets the value of ODFDOM attribute representation PresentationStartPageAttribute , See @presentation:start-page
      Parameters:
      presentationStartPageValue - The type is String
    • getPresentationStartWithNavigatorAttribute

      public Boolean getPresentationStartWithNavigatorAttribute()
      Receives the value of the ODFDOM attribute representation PresentationStartWithNavigatorAttribute , See @presentation:start-with-navigator
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setPresentationStartWithNavigatorAttribute

      public void setPresentationStartWithNavigatorAttribute(Boolean presentationStartWithNavigatorValue)
      Sets the value of ODFDOM attribute representation PresentationStartWithNavigatorAttribute , See @presentation:start-with-navigator
      Parameters:
      presentationStartWithNavigatorValue - The type is Boolean
    • getPresentationStayOnTopAttribute

      public Boolean getPresentationStayOnTopAttribute()
      Receives the value of the ODFDOM attribute representation PresentationStayOnTopAttribute , See @presentation:stay-on-top
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setPresentationStayOnTopAttribute

      public void setPresentationStayOnTopAttribute(Boolean presentationStayOnTopValue)
      Sets the value of ODFDOM attribute representation PresentationStayOnTopAttribute , See @presentation:stay-on-top
      Parameters:
      presentationStayOnTopValue - The type is Boolean
    • getPresentationTransitionOnClickAttribute

      public String getPresentationTransitionOnClickAttribute()
      Receives the value of the ODFDOM attribute representation PresentationTransitionOnClickAttribute , See @presentation:transition-on-click
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setPresentationTransitionOnClickAttribute

      public void setPresentationTransitionOnClickAttribute(String presentationTransitionOnClickValue)
      Sets the value of ODFDOM attribute representation PresentationTransitionOnClickAttribute , See @presentation:transition-on-click
      Parameters:
      presentationTransitionOnClickValue - The type is String
    • newPresentationShowElement

      public PresentationShowElement newPresentationShowElement(String presentationNameValue, String presentationPagesValue)
      Create child element <presentation:show>.
      Parameters:
      presentationNameValue - the String value of PresentationNameAttribute , see @presentation:name at specification
      presentationPagesValue - the String value of PresentationPagesAttribute , see @presentation:pages at specification
      Returns:
      the element <presentation:show>
    • 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