2.24.3.66 CT_PageSetup

Target namespace: http://schemas.microsoft.com/office/drawing/2014/chartex

Referenced by: CT_PrintSettings

A complex type<470> that specifies page setup settings.

Attributes:

paperSize: An unsignedInt ([XMLSCHEMA2/2] section 3.3.22) attribute<471> that specifies the paper size as defined by Windows.

firstPageNumber: An unsignedInt ([XMLSCHEMA2/2] section 3.3.22) attribute<472> that specifies the page number for the first printed page.

orientation: An ST_PageOrientation attribute<473> that specifies the page orientation.

blackAndWhite: A Boolean ([XMLSCHEMA2/2] section 3.2.2) attribute<474> that specifies whether to print in black and white (true) or in color (false).

draft: A Boolean ([XMLSCHEMA2/2] section 3.2.2) attribute<475> that specifies whether to print without including graphics (true), or print with graphics (false).

useFirstPageNumber: A Boolean ([XMLSCHEMA2/2] section 3.2.2) attribute<476> that specifies whether to use firstPageNumber and do not auto number (true), or start auto-numbering on the first page (false).

horizontalDpi: An int ([XMLSCHEMA2/2] section 3.3.17) attribute<477> that specifies the horizontal print resolution of the device in dots per inch.

verticalDpi: An int ([XMLSCHEMA2/2] section 3.3.17) attribute<478> that specifies the vertical print resolution of the device in dots per inch.

copies: An unsignedInt ([XMLSCHEMA2/2] section 3.3.22) attribute<479> that specifies the number of copies.

The following W3C XML Schema ([XMLSCHEMA1/2] section 2.1) fragment specifies the contents of this complex type.

 <xsd:complexType name="CT_PageSetup">
   <xsd:attribute name="paperSize" type="xsd:unsignedInt" use="optional" default="1"/>
   <xsd:attribute name="firstPageNumber" type="xsd:unsignedInt" use="optional" default="1"/>
   <xsd:attribute name="orientation" type="ST_PageOrientation" use="optional" default="default"/>
   <xsd:attribute name="blackAndWhite" type="xsd:boolean" use="optional" default="false"/>
   <xsd:attribute name="draft" type="xsd:boolean" use="optional" default="false"/>
   <xsd:attribute name="useFirstPageNumber" type="xsd:boolean" use="optional" default="false"/>
   <xsd:attribute name="horizontalDpi" type="xsd:int" use="optional" default="600"/>
   <xsd:attribute name="verticalDpi" type="xsd:int" use="optional" default="600"/>
   <xsd:attribute name="copies" type="xsd:unsignedInt" use="optional" default="1"/>
 </xsd:complexType>

See section 5.22 for the full W3C XML Schema ([XMLSCHEMA1/2] section 2.1).