Definition Type: ComplexType
Name: PageSetupType
Namespace: urn:schemas-microsoft-com:office:excel
Containing Schema: excel.xsd
Abstract
Documentation:
Contains information related to page setup.
Collapse XSD Schema Diagram:
Drilldown into PageMargins in schema excel_xsd Drilldown into Footer in schema excel_xsd Drilldown into Header in schema excel_xsd Drilldown into Layout in schema excel_xsdXSD Diagram of PageSetupType in schema excel_xsd (Microsoft Office 2003 Reference Schemas)
Collapse XSD Schema Code:
<xsd:complexType name="PageSetupType">
    <xsd:annotation>
        <xsd:documentation>Contains information related to page setup.</xsd:documentation>
    </xsd:annotation>
    <xsd:sequence>
        <xsd:element name="Layout" minOccurs="0">
            <xsd:annotation>
                <xsd:documentation>Contains information related to page layout.</xsd:documentation>
            </xsd:annotation>
            <xsd:complexType>
                <xsd:attribute name="Orientation" use="optional" default="Portrait" form="qualified">
                    <xsd:annotation>
                        <xsd:documentation>Specifies whether the page orientation is portrait or landscape</xsd:documentation>
                    </xsd:annotation>
                    <xsd:simpleType>
                        <xsd:restriction base="xsd:string">
                            <xsd:enumeration value="Landscape" />
                            <xsd:enumeration value="Portrait" />
                        </xsd:restriction>
                    </xsd:simpleType>
                </xsd:attribute>
                <xsd:attribute name="CenterHorizontal" use="optional" type="OneZeroType" default="0" form="qualified">
                    <xsd:annotation>
                        <xsd:documentation>Specifies whether the worksheet is centered horizontally on the page when it is printed.</xsd:documentation>
                    </xsd:annotation>
                </xsd:attribute>
                <xsd:attribute name="CenterVertical" use="optional" type="OneZeroType" default="0" form="qualified">
                    <xsd:annotation>
                        <xsd:documentation>Specifies whether the worksheet is centered vertically on the page when it is printed.</xsd:documentation>
                    </xsd:annotation>
                </xsd:attribute>
                <xsd:attribute name="StartPageNumber" type="xsd:string" use="optional" default="1" form="qualified">
                    <xsd:annotation>
                        <xsd:documentation>Specifies the first page number that will be used when the worksheet is printed.</xsd:documentation>
                    </xsd:annotation>
                </xsd:attribute>
            </xsd:complexType>
        </xsd:element>
        <xsd:element name="Header" minOccurs="0">
            <xsd:annotation>
                <xsd:documentation>Contains information related to headers.</xsd:documentation>
            </xsd:annotation>
            <xsd:complexType>
                <xsd:attribute name="Margin" type="xsd:double" use="optional" form="qualified">
                    <xsd:annotation>
                        <xsd:documentation>Specifies the distance in points from the top of the page to the header.</xsd:documentation>
                    </xsd:annotation>
                </xsd:attribute>
                <xsd:attribute name="Data" type="xsd:string" use="optional" form="qualified">
                    <xsd:annotation>
                        <xsd:documentation>Contains the content for the header.</xsd:documentation>
                    </xsd:annotation>
                </xsd:attribute>
            </xsd:complexType>
        </xsd:element>
        <xsd:element name="Footer" minOccurs="0">
            <xsd:annotation>
                <xsd:documentation>Contains information related to footers.</xsd:documentation>
            </xsd:annotation>
            <xsd:complexType>
                <xsd:attribute name="Margin" type="xsd:double" use="optional" form="qualified">
                    <xsd:annotation>
                        <xsd:documentation>Specifies the distance in points from the top of the page to the footer.</xsd:documentation>
                    </xsd:annotation>
                </xsd:attribute>
                <xsd:attribute name="Data" type="xsd:string" use="optional" form="qualified">
                    <xsd:annotation>
                        <xsd:documentation>Contains the content for the footer.</xsd:documentation>
                    </xsd:annotation>
                </xsd:attribute>
            </xsd:complexType>
        </xsd:element>
        <xsd:element name="PageMargins" minOccurs="0">
            <xsd:annotation>
                <xsd:documentation>Contains information related to page margins.</xsd:documentation>
            </xsd:annotation>
            <xsd:complexType>
                <xsd:attribute name="Left" type="xsd:double" use="optional" form="qualified">
                    <xsd:annotation>
                        <xsd:documentation>Specifies the size in points of the left margin.</xsd:documentation>
                    </xsd:annotation>
                </xsd:attribute>
                <xsd:attribute name="Right" type="xsd:double" use="optional" form="qualified">
                    <xsd:annotation>
                        <xsd:documentation>Specifies the size in points of the right margin.</xsd:documentation>
                    </xsd:annotation>
                </xsd:attribute>
                <xsd:attribute name="Top" type="xsd:double" use="optional" form="qualified">
                    <xsd:annotation>
                        <xsd:documentation>Specifies the size in points of the top margin.</xsd:documentation>
                    </xsd:annotation>
                </xsd:attribute>
                <xsd:attribute name="Bottom" type="xsd:double" use="optional" form="qualified">
                    <xsd:annotation>
                        <xsd:documentation>Specifies the size in points of the bottom margin.</xsd:documentation>
                    </xsd:annotation>
                </xsd:attribute>
            </xsd:complexType>
        </xsd:element>
    </xsd:sequence>
</xsd:complexType>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
Layout x:Layout 0 (1)
Header x:Header 0 (1)
Footer x:Footer 0 (1)
PageMargins x:PageMargins 0 (1)
Collapse Derivation Tree:
Collapse References:
x:PageSetup