1. Simple
Types. 1
1.1.
ST_Fraction (Fraction Type). 1
1.2.
ST_Macro (Custom Function Name Type). 1
1.3.
ST_ObjID (Object ID). 2
1.4.
ST_ObjIDRef (Object ID Reference). 2
1.5.
ST_ShapeType (Shape Type). 3
1.6. ST_SpId
(Shape ID Type). 6
The subordinate clauses describe XML simple types that
are used by Office to read and write Office Open XML files.
This simple type specifies numerical, floating point data in
one of three ways.
The first form is the standard decimal form used by the XML
Schema decimal datatype. Valid values for this form
are all decimals in the range [-32768, 32767].
The second form is an integer number with a postfixed “f”
character. Each integer represents 1/65536 so that a value of “65536f” equates
to a decimal value of 1.0. Valid values for this form are all integers in the
range [-2147483648, 2147418112] followed by the postfixed “f”.
The third form is equivalent to the second, except that the
“f” postfixed character is replaced by the string “fd”. This is used when
expressing angular measurements.
This simple type's contents are a restriction of the XML
Schema string datatype.
The following XML Schema fragment defines the contents of
this simple type:
<simpleType name="ST_Fraction">
<restriction base="xsd:string"/>
</simpleType>
1.2. ST_Macro
(Custom Function Name Type)
This simple type specifies the name of a custom function
associated with the object. This string shall follow the same grammar as
name-reference in section "[ISO/IEC-29500-1]
§18.17.2.5".
This simple type's contents are a restriction of the XML
Schema string datatype.
This simple type also specifies the following restrictions:
·
This simple type's contents have a minimum length of 0 characters.
·
This simple type's contents have a maximum length of 256 characters.
The following XML Schema fragment defines the contents of
this simple type:
<simpleType name="ST_Macro">
<restriction base="xsd:string">
<minLength value="0"/>
<maxLength value="256"/>
</restriction>
</simpleType>
In Office 2007, Object IDs are either object names or an ID
number.
An object name has the following characteristics:
·
It is not an ID number.
·
There is no shape with the same name in the:
·
same worksheet, for Excel 2007.
·
same slide, for PowerPoint 2007.
·
same document, for Word 2007.
·
header, for Word 2007.
·
It is not an embedded object, for Excel 2007 and Word 2007.
If it is an object name and contains NCR (Numeric Character
Reference) characters, they are escaped using the Unicode numerical character
representation escape character format _xHHHH_,
where H represents a hexadecimal character. If the string already contains
escaped characters in this format, then the first underscore character (_) of
the escape sequence shall be escaped.
An ID number is defined by the ST_SpId
simple type (/.aspx - bookDD84003C-2DA3-4519-9BCB-4BF3EFF82294).
This simple type's contents are a restriction of the XML
Schema token datatype.
This simple type also specifies the following restrictions:
·
This simple type's contents have a maximum length of 255 characters.
The following XML Schema fragment defines the contents of
this simple type:
<simpleType name="ST_ObjID">
<restriction base="xsd:token">
<maxLength value="255"/>
</restriction>
</simpleType>
This simple type specifies a reference to an object ID. It
starts with an optional ‘#’ which is followed by an object ID number or an
object name as described in the ST_ObjID simple type (/.aspx -
book327A420D-3CFA-4043-9A6B-9626BD935FFB).
This simple type's contents are a restriction of the XML
Schema token datatype.
The following XML Schema fragment defines the contents of
this simple type:
<simpleType name="ST_ObjIDRef">
<restriction base="xsd:token"/>
</simpleType>
This simple type specifies the kinds of shapes a VML shape
can represent. [Rationale: An
application may use this to indicate that a VML shape represents a particular
conceptual shape type. end rationale]
|
Value
|
Description
|
|
0
|
User-defined shape
|
|
1
|
Rectangle
|
|
2
|
Rounded Rectangle
|
|
3
|
Ellipse
|
|
4
|
Diamond
|
|
5
|
Isosceles Triangle
|
|
6
|
Right Triangle
|
|
7
|
Parallelogram
|
|
8
|
Trapezoid
|
|
9
|
Hexagon
|
|
10
|
Octagon
|
|
11
|
Plus Sign
|
|
12
|
Star
|
|
13
|
Arrow
|
|
14
|
Thick Arrow
|
|
15
|
Home Plate
|
|
16
|
Cube
|
|
17
|
Balloon
|
|
18
|
Seal
|
|
19
|
Arc
|
|
20
|
Line
|
|
21
|
Plaque
|
|
22
|
Can
|
|
23
|
Donut
|
|
32
|
Straight Connector
|
|
33-36
|
Bent Connector
|
|
37-40
|
Curved Connector
|
|
41-43
|
Callout
|
|
44-46
|
Accent Callout
|
|
47-49
|
Border Callout
|
|
50-52
|
Accent Border Callout
|
|
53-54
|
Ribbon
|
|
55
|
Chevron
|
|
56
|
Pentagon
|
|
57
|
No Smoking
|
|
58
|
8 Pointed Seal
|
|
59
|
16 Pointed Seal
|
|
60
|
32 Pointed Seal
|
|
61
|
Wedge Rectangle Callout
|
|
62
|
Wedge Rounded Rectangle Callout
|
|
63
|
Wedge Ellipse Callout
|
|
64
|
Wave
|
|
65
|
Folded Corner
|
|
66
|
Left Arrow
|
|
67
|
Down Arrow
|
|
68
|
Up Arrow
|
|
69
|
Left-Right Arrow
|
|
70
|
Up-Down Arrow
|
|
71-72
|
Irregular Seal
|
|
73
|
Lightning Bolt
|
|
74
|
Heart
|
|
75
|
Picture Frame
|
|
76
|
Quad Arrow
|
|
77
|
Left Arrow Callout
|
|
78
|
Right Arrow Callout
|
|
79
|
Up Arrow Callout
|
|
80
|
Down Arrow Callout
|
|
81
|
Left-Right Arrow Callout
|
|
82
|
Up-Down Arrow Callout
|
|
83
|
Quad Arrow Callout
|
|
84
|
Bevel
|
|
85
|
Left Bracket
|
|
86
|
Right Bracket
|
|
87
|
Left Brace
|
|
88
|
Right Brace
|
|
89
|
Left-Up Arrow
|
|
90
|
Bent Up Arrow
|
|
91
|
Bent Arrow
|
|
92
|
24 Pointed Seal
|
|
93
|
Striped Right Arrow
|
|
94
|
Notched Right Arrow
|
|
95
|
Block Arc
|
|
96
|
Smiley Face
|
|
97
|
Vertical Scroll
|
|
98
|
Horizontal Scroll
|
|
99
|
Circular Arrow
|
|
100
|
Notched Circular Arrow
|
|
101
|
U-Turn Arrow
|
|
102
|
Curved Right Arrow
|
|
103
|
Curved Left arrow
|
|
104
|
Curved Up Arrow
|
|
105
|
Curved Down Arrow
|
|
106
|
Cloud Callout
|
|
107-108
|
Ellipse Ribbon
|
|
109
|
Flow Chart Process
|
|
110
|
Flow Chart Decision
|
|
111
|
Flow Chart Input/Output
|
|
112
|
Flow Chart Predefined Process
|
|
113
|
Flow Chart Internal Storage
|
|
114
|
Flow Chart Document
|
|
115
|
Flow Chart Multi-Document
|
|
116
|
Flow Chart Terminator
|
|
117
|
Flow Chart Preparation
|
|
118
|
Flow Chart Manual Input
|
|
119
|
Flow Chart Manual Operation
|
|
120
|
Flow Chart Connector
|
|
121
|
Flow Chart Punched Card
|
|
122
|
Flow Chart Punched Tape
|
|
123
|
Flow Chart Summing Junction
|
|
124
|
Flow Chart Or
|
|
125
|
Flow Chart Collate
|
|
126
|
Flow Chart Sort
|
|
127
|
Flow Chart Extract
|
|
128
|
Flow Chart Merge
|
|
129
|
Flow Chart Offline Storage
|
|
130
|
Flow Chart Online Storage
|
|
131
|
Flow Chart Magnetic Tape
|
|
132
|
Flow Chart Magnetic Disk
|
|
133
|
Flow Chart Magnetic Drum
|
|
134
|
Flow Chart Display
|
|
135
|
Flow Chart Delay
|
|
176
|
Flow Chart Alternate Process
|
|
177
|
Flow Chart Offpage Connector
|
|
178
|
Callout 90
|
|
179
|
Accent Callout 90
|
|
180
|
Border Callout 90
|
|
181
|
Accent Border Callout 90
|
|
182
|
Left-Right-Up Arrow
|
|
183
|
Sun
|
|
184
|
Moon
|
|
185
|
Bracket Pair
|
|
186
|
Brace Pair
|
|
187
|
4 Pointed Seal
|
|
188
|
Double Wave
|
|
189
|
Action Button Blank
|
|
190
|
Action Button Home
|
|
191
|
Action Button Help
|
|
192
|
Action Button Information
|
|
193
|
Action Button Forward/Next
|
|
194
|
Action Button Back/Previous
|
|
195
|
Action Button End
|
|
196
|
Action Button Beginning
|
|
197
|
Action Button Return
|
|
198
|
Action Button Document
|
|
199
|
Action Button Sound
|
|
200
|
Action Button Movie
|
|
201
|
Host Control
|
|
202
|
Text Box
|
This simple type's contents are a restriction of the XML
Schema int datatype.
This simple type also specifies the following restrictions:
·
This simple type has a minimum value of greater than or equal to 0.
·
This simple type has a maximum value of less than or equal to 202.
The following XML Schema fragment defines the contents of
this simple type:
<simpleType name="ST_ShapeType">
<restriction base="xsd:int">
<minInclusive value="0"/>
<maxInclusive value="202"/>
</restriction>
</simpleType>
A shape ID has the following characteristics:
·
It begins with “_x0000_” followed
by 1 character and a number: _x0000_[c]<num>
·
The character [c] is:
·
‘t’ or ‘m’ when used for a shapetype
element ("[ISO/IEC-29500-4] §14.1.2.20; shapetype (Shape
Template)").
·
‘s’ when used for a shape.
·
Shape IDs always start at 1025.
·
Shape IDs are clustered together, and each cluster has 1024
values. The first cluster ranges from 1025 to 2048.
·
Shape IDs within the same cluster may only exist in:
·
one worksheet, for Excel 2007.
·
one slide, for PowerPoint 2007.
·
one document, for Word 2007.
·
the header, for Word 2007.
·
‘s’ or ‘i’
for shapes that are inline (not floating) in Word 2007.
·
<num> shall be between 1
and 268435456.
·
It does not contain NCR (Numeric Character Reference) characters.
Office 2007 does not guarantee that the same shape ID that
is loaded is preserved on file save.
This simple type's contents are a restriction of the XML
Schema string datatype.
The following XML Schema fragment defines the contents of
this simple type:
<simpleType name="ST_SpId">
<restriction base="xsd:string"/>
</simpleType>