[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

view (Document View Setting)

This element specifies the manner in which the contents of this document should be displayed when opened by an application.

If this element is omitted, then an application may view the document in any desired default state.

[Example: Consider a WordprocessingML document that shall be displayed on the screen in the same form as it will be printed. This requirement would be specified using the following WordprocessingML in the document settings:

<w:view w:val="print" />

The view element's val attribute is equal to print specifying that the given WordprocessingML document shall be rendered as it will be printed. end example]

Parent Elements

settings2.15.1.78)

 

Attributes

Description

val (Document View Setting Value)

Specifies the view which shall be used to render the contents of a WordprocessingML document.

 

Applications may omit support for one or more of the views defined by the ST_View simple type (referenced below). If a WordprocessingML document containing an unsupported view is loaded by an application, it shall fall back to its default view (equivalent to use of the enumeration value none).

 

[Example: Consider a WordprocessingML document that shall be rendered in a view meant to mimic how the document would look in a web browser (i.e. without a fixed page width). This requirement would be specified using the following WordprocessingML in the document settings:

 

<w:view w:val="web" />

 

The val attribute is equal to web specifying that the given WordprocessingML document shall be rendered in a view mimicking web page display. end example]

 

The possible values for this attribute are defined by the ST_View simple type2.18.112).

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

<complexType name="CT_View">

   <attribute name="val" type="ST_View" use="required"/>

</complexType>