[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

ST_PageOrientation (Page Orientation)

This simple type specifies the orientation of all pages in the parent section. This information is used to determine the actual paper size to use when printing the file.

[Example: Pages 11" wide by 8.5" long in landscape mode use 8.5"x11" paper, because the width and height are reversed for pages in this landscape section with respect to the printed page. end example]

[Example: Consider the following WordprocessingML:

<w:pgSz w:w="15840" w:h="12240" w:orient="landscape" />

Although the page width is 11", and page height is 8.5", according to the w and attributes, because the orient attribute is set to landscape, pages in this section are printed on 8.5x11" paper in landscape mode. end example]

This simple type's contents are a restriction of the XML Schema string datatype.

The following are possible enumeration values for this type:

Enumeration Value

Description

landscape (Landscape Mode)

Specifies that pages in this section shall be printed in landscape mode, which prints the page contents with a 90 degree rotation with respect to the normal page orientation.

portrait (Portrait Mode)

Specifies that pages in this section shall be printed in portrait mode.

 

Referenced By

pgSz@orient2.6.13)

The following XML Schema fragment defines the contents of this simple type:

<simpleType name="ST_PageOrientation">

   <restriction base="xsd:string">

   <enumeration value="portrait"/>

   <enumeration value="landscape"/>

   </restriction>

</simpleType>