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

Picas and points

49

Picas and points

50

Points

51

Picas

52

Ciceros and didots

53

Didots

54

Ciceros

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

Decimal degrees

81

Decimal degrees

82

Degrees-minutes-seconds

83

Radians

84

Minutes-seconds

85

Seconds

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

Days

43

Weeks

44

Days

45

Hours

46

Minutes

47

Seconds

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

Weeks

44

Days

45

Hours

46

Minutes

47

Seconds

50

Points

51

Picas

53

Didots

54

Ciceros

63

Inches

64

Inches

65

Inches

66

Feet

67

Feet and inches

68

Miles (decimal)

69

Centimeters

70

Millimeters

71

Meters

72

Kilometers

73

Inches (fractional)

74

Miles (fractional)

75

Yards

76

Nautical miles

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>