2.4.8.2.8 CT_Page
Referenced by: Page
The CT_Page complex type specifies shape information within a drawing page in the document.
Child Elements:
Pages : A CT_Pages element.
ShapeInfo : An optional list of CT_ShapeInfo elements. CT_ShapeInfo elements are not present if there are no shapes in the drawing page.
Attributes:
Name : An xsd:string ([XMLSCHEMA2] section 3.2.1) attribute that specifies the name of the drawing page. It MUST NOT be an empty string. It MUST match the Name attribute of one of the CT_PageMetaData elements in the App XML Part. It MUST match a name in the Name attribute of one of the PageInfo child elements of the Pages element.
Zoom : An xsd:double ([XMLSCHEMA2] section 3.2.5) attribute that specifies the zoom level at which the drawing page is initially displayed. It MUST be a value from the following table:
-
Value
Description
-2.0
The drawing page is zoomed to fit the width of the view.
-1.0
The drawing page is zoomed to fit the entire drawing page in the view.
Any value greater than or equal to 0.0
The drawing page is zoomed to Zoom*100%.
OffsetX : An xsd:integer ([XMLSCHEMA2] section 3.3.13) attribute that specifies the x-coordinate of the point on the drawing page that is centered in the view when the drawing page is initially displayed. The value is relative to the top, left corner of the drawing page and is expressed in the coordinate system of the view that displays the drawing page.
OffsetY : An xsd:integer ([XMLSCHEMA2] section 3.3.13) attribute that specifies the y-coordinate of the point on the drawing page that is centered in the view when the drawing page is initially displayed. The value is relative to the top, left corner of the drawing page and is expressed in the coordinate system of the view that displays the drawing page.
DefaultUnitsText : An xsd:integer ([XMLSCHEMA2] section 3.3.13) attribute that specifies the default typographic measurement unit to be used in formula evaluations for this drawing page if none is explicitly specified in a formula expression. It MUST be one of the following values:
Value |
Meaning |
---|---|
48 |
|
49 |
|
50 |
|
51 |
|
52 |
|
53 |
|
54 |
DefaultUnitsAngle : An xsd:integer ([XMLSCHEMA2] section 3.3.13) attribute that specifies the default angle measurement unit to be used in formula evaluations for this drawing page if none is explicitly specified in a formula expression. It MUST be one of the following values:
Value |
Meaning |
---|---|
80 |
|
81 |
|
82 |
|
83 |
|
84 |
|
85 |
DefaultUnitsDuration : An xsd:integer ([XMLSCHEMA2] section 3.3.13) attribute that specifies the default duration measurement unit to be used in formula evaluations for this drawing page if none is explicitly specified in a formula expression. It MUST be one of the following values:
Value |
Meaning |
---|---|
42 |
|
43 |
|
44 |
|
45 |
|
46 |
|
47 |
DefaultUnitsPage : An xsd:integer ([XMLSCHEMA2] section 3.3.13) attribute that specifies the default length measurement in page units to be used in formula evaluations for this drawing page if none is explicitly specified in a formula expression. It MUST be one of the following values:
Value |
Meaning |
---|---|
43 |
|
44 |
|
45 |
|
46 |
|
47 |
|
50 |
|
51 |
|
53 |
|
54 |
|
63 |
|
64 |
|
65 |
|
66 |
|
67 |
|
68 |
|
69 |
|
70 |
|
71 |
|
72 |
|
73 |
|
74 |
|
75 |
|
76 |
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.
-
<xsd:complexType name="CT_Page"> <xsd:sequence> <xsd:element name="Pages" minOccurs="1" maxOccurs="1" type="CT_Pages"/> <xsd:element name="ShapeInfo" minOccurs="0" maxOccurs="unbounded" type="CT_ShapeInfo"/> </xsd:sequence> <xsd:attribute name="Name" type="xsd:string" use="required"/> <xsd:attribute name="Zoom" use="required"> <xsd:simpleType> <xsd:union> <xsd:simpleType> <xsd:restriction base="xsd:double"> <xsd:enumeration value="-2"/> <xsd:enumeration value="-1"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType> <xsd:restriction base="xsd:double"> <xsd:minInclusive value="0"/> </xsd:restriction> </xsd:simpleType> </xsd:union> </xsd:simpleType> </xsd:attribute> <xsd:attribute name="OffsetX" type="xsd:integer" use="required"/> <xsd:attribute name="OffsetY" type="xsd:integer" use="required"/> <xsd:attribute name="DefaultUnitsText" use="required"> <xsd:simpleType> <xsd:restriction base="xsd:integer"> <xsd:enumeration value="48"/> <xsd:enumeration value="49"/> <xsd:enumeration value="50"/> <xsd:enumeration value="51"/> <xsd:enumeration value="52"/> <xsd:enumeration value="53"/> <xsd:enumeration value="54"/> </xsd:restriction> </xsd:simpleType> </xsd:attribute> <xsd:attribute name="DefaultUnitsAngle" use="required"> <xsd:simpleType> <xsd:restriction base="xsd:integer"> <xsd:enumeration value="80"/> <xsd:enumeration value="81"/> <xsd:enumeration value="82"/> <xsd:enumeration value="83"/> <xsd:enumeration value="84"/> <xsd:enumeration value="85"/> </xsd:restriction> </xsd:simpleType> </xsd:attribute> <xsd:attribute name="DefaultUnitsDuration" use="required"> <xsd:simpleType> <xsd:restriction base="xsd:integer"> <xsd:enumeration value="42"/> <xsd:enumeration value="43"/> <xsd:enumeration value="44"/> <xsd:enumeration value="45"/> <xsd:enumeration value="46"/> <xsd:enumeration value="47"/> </xsd:restriction> </xsd:simpleType> </xsd:attribute> <xsd:attribute name="DefaultUnitsPage" use="required"> <xsd:simpleType> <xsd:restriction base="xsd:integer"> <xsd:enumeration value="43"/> <xsd:enumeration value="44"/> <xsd:enumeration value="45"/> <xsd:enumeration value="46"/> <xsd:enumeration value="47"/> <xsd:enumeration value="50"/> <xsd:enumeration value="51"/> <xsd:enumeration value="53"/> <xsd:enumeration value="54"/> <xsd:enumeration value="63"/> <xsd:enumeration value="64"/> <xsd:enumeration value="65"/> <xsd:enumeration value="66"/> <xsd:enumeration value="67"/> <xsd:enumeration value="68"/> <xsd:enumeration value="69"/> <xsd:enumeration value="70"/> <xsd:enumeration value="71"/> <xsd:enumeration value="72"/> <xsd:enumeration value="73"/> <xsd:enumeration value="74"/> <xsd:enumeration value="75"/> <xsd:enumeration value="76"/> </xsd:restriction> </xsd:simpleType> </xsd:attribute> </xsd:complexType>