<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:
<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. ]

Parent Elements

<settings>2.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).

<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. ]

The possible values for this attribute are defined by the ST_View simple type (§2.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>