File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
src/PhpPresentation/Writer/PowerPoint2007
tests/resources/schema/ooxml Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ public function writeChart(Chart $chart)
108
108
109
109
// c:depthPercent
110
110
$ objWriter ->startElement ('c:depthPercent ' );
111
- $ objWriter ->writeAttribute ('val ' , $ chart ->getView3D ()->getDepthPercent () . ' % ' );
111
+ $ objWriter ->writeAttribute ('val ' , $ chart ->getView3D ()->getDepthPercent ());
112
112
$ objWriter ->endElement ();
113
113
114
114
// c:rAngAx
Original file line number Diff line number Diff line change 214
214
<xsd : attribute name =" val" type =" ST_RotY" default =" 0" />
215
215
</xsd : complexType >
216
216
<xsd : simpleType name =" ST_DepthPercent" >
217
- <xsd : union memberTypes =" ST_DepthPercentWithSymbol" />
217
+ <xsd : union memberTypes =" ST_DepthPercentWithSymbol ST_DepthPercentUShort " />
218
218
</xsd : simpleType >
219
219
<xsd : simpleType name =" ST_DepthPercentWithSymbol" >
220
220
<xsd : restriction base =" xsd:string" >
221
221
<xsd : pattern value =" 0*(([2-9][0-9])|([1-9][0-9][0-9])|(1[0-9][0-9][0-9])|2000)%" />
222
222
</xsd : restriction >
223
223
</xsd : simpleType >
224
+ <xsd : simpleType name =" ST_DepthPercentUShort" >
225
+ <xsd : restriction base =" xsd:unsignedShort" >
226
+ <xsd : minInclusive value =" 20" />
227
+ <xsd : maxInclusive value =" 2000" />
228
+ </xsd : restriction >
229
+ </xsd : simpleType >
224
230
<xsd : complexType name =" CT_DepthPercent" >
225
231
<xsd : attribute name =" val" type =" ST_DepthPercent" default =" 100%" />
226
232
</xsd : complexType >
You can’t perform that action at this time.
0 commit comments