[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

targetScreenSz (Target Screen Size for Web Page)

This element specifies the ideal minimum target screen size (width by height, specified in pixels) on which web pages generated when saving this document will be displayed. This setting may be used to optimize the output of web pages produced from this document.

If this element is omitted, then the target screen size for web pages produced from this document shall be assumed to be 800x600.

[Example: Consider a WordprocessingML document which contains the following content within the web settings part:

<w:webSettings>
<w:targetScreenSz w:val="1600x1200" />
</w:webSettings>

The targetScreenSz element's val attribute has a value of 1600x1200, which specifies that a target screen size of 1600 by 1200 pixels shall be assumed when saving this document as a web page. end example]

Parent Elements

webSettings2.15.2.44)

 

Attributes

Description

val (Target Screen Size Value)

Specifies the target screen size for web pages produced by this document, as defined by the simple type referenced below.

 

[Example: Consider a WordprocessingML document which contains the following content within the web settings part:

 

<w:webSettings>
<w:targetScreenSz w:val="1024x768" />
</w:webSettings>

 

The val attribute has a value of 1024x768, which specifies that a target screen size of 1024 by 768 pixels shall be assumed when saving this document as a web page. end example]

 

The possible values for this attribute are defined by the ST_TargetScreenSz simple type2.18.93).

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

<complexType name="CT_TargetScreenSz">

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

</complexType>