[Table of Contents] [docx version]

PresentationML Reference Material - Table of Contents

viewPr (Presentation-wide View Properties)

This element functions as a parent element within which all presentation-wide view properties are contained. All properties and their corresponding settings are defined within the child elements.

Parent Elements

Root element of PresentationML View Properties part


Child Elements


extLst (Extension List)


gridSpacing (Grid Spacing)


normalViewPr (Normal View Properties)


notesTextViewPr (Notes Text View Properties)


notesViewPr (Notes View Properties)


outlineViewPr (Outline View Properties)


slideViewPr (Slide View Properties)


sorterViewPr (Slide Sorter View Properties)





lastView (Last View)

Specifies the view mode that was used when the presentation document was last saved.


The possible values for this attribute are defined by the ST_ViewType simple type (§4.8.59).

showComments (Show Comments)

Specifies whether the slide comments should be shown.


The possible values for this attribute are defined by the XML Schema boolean datatype.

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_ViewProperties">

   <sequence minOccurs="0" maxOccurs="1">

   <element name="normalViewPr" type="CT_NormalViewProperties" minOccurs="0" maxOccurs="1"/>

   <element name="slideViewPr" type="CT_SlideViewProperties" minOccurs="0" maxOccurs="1"/>

   <element name="outlineViewPr" type="CT_OutlineViewProperties" minOccurs="0" maxOccurs="1"/>

   <element name="notesTextViewPr" type="CT_NotesTextViewProperties" minOccurs="0" maxOccurs="1"/>

   <element name="sorterViewPr" type="CT_SlideSorterViewProperties" minOccurs="0" maxOccurs="1"/>

   <element name="notesViewPr" type="CT_NotesViewProperties" minOccurs="0" maxOccurs="1"/>

   <element name="gridSpacing" type="a:CT_PositiveSize2D" minOccurs="0" maxOccurs="1"/>

   <element name="extLst" type="CT_ExtensionList" minOccurs="0" maxOccurs="1"/>


   <attribute name="lastView" type="ST_ViewType" use="optional" default="sldView"/>

   <attribute name="showComments" type="xsd:boolean" use="optional" default="true"/>