Skip to content

Commit

Permalink
Chaged the type of @ptsTypes. (+1 squashed commits)
Browse files Browse the repository at this point in the history
Squashed commits:

[e2eab54] Changed the datatype of @ptsTypes.
  • Loading branch information
murata2makoto committed Oct 16, 2018
1 parent 0a06549 commit 5d2cb92
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 4 deletions.
6 changes: 5 additions & 1 deletion Part1/OfficeOpenXML-RELAXNG-Strict/pml.rnc
Expand Up @@ -338,6 +338,10 @@ p_ST_TLAnimateMotionPathEditMode = "relative" | "fixed"
p_CT_TLPoint =
attribute x { a_ST_Percentage },
attribute y { a_ST_Percentage }
p_ST_AnimMotionPtsTypes =
xsd:string {
pattern = "[AFTSafts]*"
}
p_CT_TLAnimateMotionBehavior =

## default value: parent
Expand All @@ -353,7 +357,7 @@ p_CT_TLAnimateMotionBehavior =
attribute rAng { a_ST_Angle }?,

## default value: A
attribute ptsTypes { xsd:string }?,
attribute ptsTypes { p_ST_AnimMotionPtsTypes }?,
element cBhvr { p_CT_TLCommonBehaviorData },
element by { p_CT_TLPoint }?,
element from { p_CT_TLPoint }?,
Expand Down
7 changes: 6 additions & 1 deletion Part1/OfficeOpenXML-XMLSchema-Strict/pml.xsd
Expand Up @@ -551,6 +551,11 @@
<xsd:attribute name="x" type="a:ST_Percentage" use="required"/>
<xsd:attribute name="y" type="a:ST_Percentage" use="required"/>
</xsd:complexType>
<xsd:simpleType name="ST_AnimMotionPtsTypes">
<xsd:restriction base="xsd:string">
<xsd:pattern value="[AFTSafts]*"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="CT_TLAnimateMotionBehavior">
<xsd:sequence>
<xsd:element name="cBhvr" type="CT_TLCommonBehaviorData" minOccurs="1" maxOccurs="1"/>
Expand All @@ -565,7 +570,7 @@
<xsd:attribute name="pathEditMode" type="ST_TLAnimateMotionPathEditMode" use="optional"
default="relative"/>
<xsd:attribute name="rAng" type="a:ST_Angle" use="optional" default="0"/>
<xsd:attribute name="ptsTypes" type="xsd:string" use="optional"
<xsd:attribute name="ptsTypes" type="ST_AnimMotionPtsTypes" use="optional"
default="A"/>
</xsd:complexType>
<xsd:complexType name="CT_TLAnimateRotationBehavior">
Expand Down
6 changes: 5 additions & 1 deletion Part4/OfficeOpenXML-RELAXNG-Transitional/pml.rnc
Expand Up @@ -342,6 +342,10 @@ p_ST_TLAnimateMotionPathEditMode = "relative" | "fixed"
p_CT_TLPoint =
attribute x { a_ST_Percentage },
attribute y { a_ST_Percentage }
p_ST_AnimMotionPtsTypes =
xsd:string {
pattern = "[AFTSafts]*"
}
p_CT_TLAnimateMotionBehavior =

## default value: parent
Expand All @@ -357,7 +361,7 @@ p_CT_TLAnimateMotionBehavior =
attribute rAng { a_ST_Angle }?,

## default value: A
attribute ptsTypes { xsd:string }?,
attribute ptsTypes { p_ST_AnimMotionPtsTypes }?,
element cBhvr { p_CT_TLCommonBehaviorData },
element by { p_CT_TLPoint }?,
element from { p_CT_TLPoint }?,
Expand Down
7 changes: 6 additions & 1 deletion Part4/OfficeOpenXML-XMLSchema-Transitional/pml.xsd
Expand Up @@ -553,6 +553,11 @@
<xsd:attribute name="x" type="a:ST_Percentage" use="required"/>
<xsd:attribute name="y" type="a:ST_Percentage" use="required"/>
</xsd:complexType>
<xsd:simpleType name="ST_AnimMotionPtsTypes">
<xsd:restriction base="xsd:string">
<xsd:pattern value="[AFTSafts]*"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="CT_TLAnimateMotionBehavior">
<xsd:sequence>
<xsd:element name="cBhvr" type="CT_TLCommonBehaviorData" minOccurs="1" maxOccurs="1"/>
Expand All @@ -567,7 +572,7 @@
<xsd:attribute name="pathEditMode" type="ST_TLAnimateMotionPathEditMode" use="optional"
default="relative"/>
<xsd:attribute name="rAng" type="a:ST_Angle" use="optional" default="0"/>
<xsd:attribute name="ptsTypes" type="xsd:string" use="optional"
<xsd:attribute name="ptsTypes" type="ST_AnimMotionPtsTypes" use="optional"
default="A"/>
</xsd:complexType>
<xsd:complexType name="CT_TLAnimateRotationBehavior">
Expand Down

0 comments on commit 5d2cb92

Please sign in to comment.