org.odftoolkit.odfdom.dom.element.presentation
Class PresentationSettingsElement

java.lang.Object
  extended by org.apache.xerces.dom.NodeImpl
      extended by org.apache.xerces.dom.ChildNode
          extended by org.apache.xerces.dom.ParentNode
              extended by org.apache.xerces.dom.ElementImpl
                  extended by org.apache.xerces.dom.ElementNSImpl
                      extended by org.odftoolkit.odfdom.pkg.OdfElement
                          extended by org.odftoolkit.odfdom.dom.element.presentation.PresentationSettingsElement
All Implemented Interfaces:
Serializable, Cloneable, Element, EventTarget, Node, NodeList, TypeInfo

public class PresentationSettingsElement
extends OdfElement

DOM implementation of OpenDocument element presentation:settings.

See Also:
Serialized Form

Field Summary
static OdfName ELEMENT_NAME
           
 
Fields inherited from class org.apache.xerces.dom.ElementNSImpl
localName, namespaceURI
 
Fields inherited from class org.apache.xerces.dom.ElementImpl
attributes, name
 
Fields inherited from class org.apache.xerces.dom.ParentNode
firstChild, fNodeListCache, ownerDocument
 
Fields inherited from class org.apache.xerces.dom.ChildNode
nextSibling, previousSibling
 
Fields inherited from class org.apache.xerces.dom.NodeImpl
DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_IS_CONTAINED, DOCUMENT_POSITION_PRECEDING, ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, HASSTRING, ID, IGNORABLEWS, NORMALIZED, OWNED, ownerNode, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, TREE_POSITION_ANCESTOR, TREE_POSITION_DESCENDANT, TREE_POSITION_DISCONNECTED, TREE_POSITION_EQUIVALENT, TREE_POSITION_FOLLOWING, TREE_POSITION_PRECEDING, TREE_POSITION_SAME_NODE
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Fields inherited from interface org.w3c.dom.TypeInfo
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION
 
Constructor Summary
PresentationSettingsElement(OdfFileDom ownerDoc)
          Create the instance of PresentationSettingsElement
 
Method Summary
 void accept(ElementVisitor visitor)
          Accept an visitor instance to allow the visitor to do some operations.
 OdfName getOdfName()
          Get the element name
 String getPresentationAnimationsAttribute()
          Receives the value of the ODFDOM attribute representation PresentationAnimationsAttribute , See presentation:animations
 Boolean getPresentationEndlessAttribute()
          Receives the value of the ODFDOM attribute representation PresentationEndlessAttribute , See presentation:endless
 Boolean getPresentationForceManualAttribute()
          Receives the value of the ODFDOM attribute representation PresentationForceManualAttribute , See presentation:force-manual
 Boolean getPresentationFullScreenAttribute()
          Receives the value of the ODFDOM attribute representation PresentationFullScreenAttribute , See presentation:full-screen
 Boolean getPresentationMouseAsPenAttribute()
          Receives the value of the ODFDOM attribute representation PresentationMouseAsPenAttribute , See presentation:mouse-as-pen
 Boolean getPresentationMouseVisibleAttribute()
          Receives the value of the ODFDOM attribute representation PresentationMouseVisibleAttribute , See presentation:mouse-visible
 String getPresentationPauseAttribute()
          Receives the value of the ODFDOM attribute representation PresentationPauseAttribute , See presentation:pause
 String getPresentationShowAttribute()
          Receives the value of the ODFDOM attribute representation PresentationShowAttribute , See presentation:show
 Boolean getPresentationShowEndOfPresentationSlideAttribute()
          Receives the value of the ODFDOM attribute representation PresentationShowEndOfPresentationSlideAttribute , See presentation:show-end-of-presentation-slide
 Boolean getPresentationShowLogoAttribute()
          Receives the value of the ODFDOM attribute representation PresentationShowLogoAttribute , See presentation:show-logo
 String getPresentationStartPageAttribute()
          Receives the value of the ODFDOM attribute representation PresentationStartPageAttribute , See presentation:start-page
 Boolean getPresentationStartWithNavigatorAttribute()
          Receives the value of the ODFDOM attribute representation PresentationStartWithNavigatorAttribute , See presentation:start-with-navigator
 Boolean getPresentationStayOnTopAttribute()
          Receives the value of the ODFDOM attribute representation PresentationStayOnTopAttribute , See presentation:stay-on-top
 String getPresentationTransitionOnClickAttribute()
          Receives the value of the ODFDOM attribute representation PresentationTransitionOnClickAttribute , See presentation:transition-on-click
 PresentationShowElement newPresentationShowElement(String presentationNameValue, String presentationPagesValue)
          Create child element presentation:show.
 void setPresentationAnimationsAttribute(String presentationAnimationsValue)
          Sets the value of ODFDOM attribute representation PresentationAnimationsAttribute , See presentation:animations
 void setPresentationEndlessAttribute(Boolean presentationEndlessValue)
          Sets the value of ODFDOM attribute representation PresentationEndlessAttribute , See presentation:endless
 void setPresentationForceManualAttribute(Boolean presentationForceManualValue)
          Sets the value of ODFDOM attribute representation PresentationForceManualAttribute , See presentation:force-manual
 void setPresentationFullScreenAttribute(Boolean presentationFullScreenValue)
          Sets the value of ODFDOM attribute representation PresentationFullScreenAttribute , See presentation:full-screen
 void setPresentationMouseAsPenAttribute(Boolean presentationMouseAsPenValue)
          Sets the value of ODFDOM attribute representation PresentationMouseAsPenAttribute , See presentation:mouse-as-pen
 void setPresentationMouseVisibleAttribute(Boolean presentationMouseVisibleValue)
          Sets the value of ODFDOM attribute representation PresentationMouseVisibleAttribute , See presentation:mouse-visible
 void setPresentationPauseAttribute(String presentationPauseValue)
          Sets the value of ODFDOM attribute representation PresentationPauseAttribute , See presentation:pause
 void setPresentationShowAttribute(String presentationShowValue)
          Sets the value of ODFDOM attribute representation PresentationShowAttribute , See presentation:show
 void setPresentationShowEndOfPresentationSlideAttribute(Boolean presentationShowEndOfPresentationSlideValue)
          Sets the value of ODFDOM attribute representation PresentationShowEndOfPresentationSlideAttribute , See presentation:show-end-of-presentation-slide
 void setPresentationShowLogoAttribute(Boolean presentationShowLogoValue)
          Sets the value of ODFDOM attribute representation PresentationShowLogoAttribute , See presentation:show-logo
 void setPresentationStartPageAttribute(String presentationStartPageValue)
          Sets the value of ODFDOM attribute representation PresentationStartPageAttribute , See presentation:start-page
 void setPresentationStartWithNavigatorAttribute(Boolean presentationStartWithNavigatorValue)
          Sets the value of ODFDOM attribute representation PresentationStartWithNavigatorAttribute , See presentation:start-with-navigator
 void setPresentationStayOnTopAttribute(Boolean presentationStayOnTopValue)
          Sets the value of ODFDOM attribute representation PresentationStayOnTopAttribute , See presentation:stay-on-top
 void setPresentationTransitionOnClickAttribute(String presentationTransitionOnClickValue)
          Sets the value of ODFDOM attribute representation PresentationTransitionOnClickAttribute , See presentation:transition-on-click
 
Methods inherited from class org.odftoolkit.odfdom.pkg.OdfElement
cloneNode, cloneOdfElement, equals, findFirstChildNode, findNextChildNode, findPreviousChildNode, getAncestorAs, getOdfAttribute, getOdfAttribute, getOdfAttributeValue, getParentAs, hasOdfAttribute, insertBefore, onInsertNode, onInsertNode, onRemoveNode, onRemoveNode, removeChild, replaceChild, setOdfAttribute, setOdfAttributeValue, toString
 
Methods inherited from class org.apache.xerces.dom.ElementNSImpl
getBaseURI, getLocalName, getNamespaceURI, getPrefix, getTypeName, getTypeNamespace, isDerivedFrom, setPrefix, setType, setValues
 
Methods inherited from class org.apache.xerces.dom.ElementImpl
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getDefaultAttributes, getElementsByTagName, getElementsByTagNameNS, getNodeName, getNodeType, getSchemaTypeInfo, getTagName, getXercesAttribute, hasAttribute, hasAttributeNS, hasAttributes, isEqualNode, normalize, reconcileDefaultAttributes, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setOwnerDocument, setReadOnly, setupDefaultAttributes, setXercesAttributeNode, synchronizeData
 
Methods inherited from class org.apache.xerces.dom.ParentNode
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, hasChildNodes, item, setTextContent, synchronizeChildren
 
Methods inherited from class org.apache.xerces.dom.ChildNode
getNextSibling, getParentNode, getPreviousSibling
 
Methods inherited from class org.apache.xerces.dom.NodeImpl
addEventListener, appendChild, changed, changes, compareDocumentPosition, compareTreePosition, dispatchEvent, getContainer, getFeature, getNodeNumber, getNodeValue, getReadOnly, getUserData, getUserData, getUserDataRecord, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setNodeValue, setUserData, setUserData
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.w3c.dom.Node
appendChild, compareDocumentPosition, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, getTextContent, getUserData, hasChildNodes, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, setNodeValue, setTextContent, setUserData
 

Field Detail

ELEMENT_NAME

public static final OdfName ELEMENT_NAME
Constructor Detail

PresentationSettingsElement

public PresentationSettingsElement(OdfFileDom ownerDoc)
Create the instance of PresentationSettingsElement

Parameters:
ownerDoc - The type is OdfFileDom
Method Detail

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)
Description copied from class: OdfElement
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


Copyright © 2008-2017 The Apache Software Foundation. All Rights Reserved.