1 --- ods-schema/OpenDocument-v1.2-os-schema.rng 2015-04-08 21:49:54.000000000 -0600
2 +++ ods-schema/OpenDocument-v1.2-os-ext-schema.rng 2016-01-01 19:47:48.204868483 -0700
4 xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
5 xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
6 xmlns:smil="urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0"
8 + xmlns:gnm="http://www.gnumeric.org/odf-extension/1.0"
9 + xmlns:css3t="http://www.w3.org/TR/css3-text/"
10 + xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
11 + xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
12 + xmlns:tableooo="http://openoffice.org/2009/table"
14 <define name="office-process-content">
16 @@ -2484,6 +2490,11 @@
21 + <attribute name="gnm:error-value">
22 + <ref name="string"/>
30 <ref name="table-named-expressions"/>
33 + <ref name="gnm-selections"/>
37 <define name="table-columns-and-groups">
38 @@ -3670,6 +3684,11 @@
42 + <attribute name="gnm:columns-spanned-fake">
43 + <ref name="boolean"/>
47 <attribute name="table:number-rows-spanned">
48 <ref name="positiveInteger"/>
50 @@ -6369,6 +6388,26 @@
52 <define name="common-draw-position-attlist">
54 + <attribute name="gnm:is-position-manual">
55 + <ref name="boolean"/>
59 + <attribute name="gnm:position">
60 + <ref name="string"/>
64 + <attribute name="gnm:anchor">
65 + <ref name="string"/>
69 + <attribute name="gnm:compass">
70 + <ref name="string"/>
74 <attribute name="svg:x">
75 <ref name="coordinate"/>
77 @@ -8354,9 +8393,14 @@
78 <define name="chart-title-attlist">
81 - <attribute name="table:cell-range">
82 - <ref name="cellRangeAddressList"/>
85 + <attribute name="table:cell-range">
86 + <ref name="cellRangeAddressList"/>
88 + <attribute name="gnm:expression">
89 + <ref name="string"/>
93 <ref name="common-draw-position-attlist"/>
97 <ref name="chart-data-label"/>
100 + <ref name="gnm-droplines"/>
104 <define name="chart-series-attlist">
105 @@ -8648,9 +8695,14 @@
109 - <attribute name="chart:label-cell-address">
110 - <ref name="cellRangeAddressList"/>
113 + <attribute name="chart:label-cell-address">
114 + <ref name="cellRangeAddressList"/>
116 + <attribute name="gnm:label-cell-expression">
117 + <ref name="string"/>
122 <attribute name="chart:class">
123 @@ -10473,6 +10525,7 @@
124 <ref name="common-data-field-attlist"/>
125 <ref name="list-source"/>
126 <ref name="list-source-type"/>
127 + <ref name="gnm-list-linkage-type"/>
128 <ref name="common-linked-cell"/>
129 <ref name="common-source-cell-range"/>
131 @@ -10637,6 +10690,7 @@
132 <ref name="selected"/>
133 <ref name="common-tab-attlist"/>
134 <ref name="common-title-attlist"/>
135 + <ref name="gnm-value-type-attlist"/>
136 <ref name="common-value-attlist"/>
137 <ref name="common-data-field-attlist"/>
138 <ref name="common-form-visual-effect-attlist"/>
139 @@ -12676,11 +12730,28 @@
142 <define name="number-scientific-number-attlist">
144 - <attribute name="number:min-exponent-digits">
145 - <ref name="integer"/>
150 + <attribute name="number:min-exponent-digits">
151 + <ref name="integer"/>
155 + <attribute name="gnm:forced-exponent-sign">
156 + <ref name="boolean"/>
160 + <attribute name="gnm:engineering">
161 + <ref name="boolean"/>
165 + <attribute name="gnm:literal-E">
166 + <ref name="boolean"/>
171 <define name="number-fraction">
172 <element name="number:fraction">
173 @@ -12702,10 +12773,22 @@
177 + <attribute name="gnm:max-denominator-digits">
178 + <ref name="integer"/>
182 <attribute name="number:denominator-value">
183 <ref name="integer"/>
187 + <attribute name="gnm:display-factor">
195 <define name="number-currency-style">
196 @@ -12997,14 +13080,17 @@
199 <define name="number-hours-attlist">
201 - <attribute name="number:style">
203 - <value>short</value>
204 - <value>long</value>
209 + <ref name="gnm-truncate-on-overflow"/>
211 + <attribute name="number:style">
213 + <value>short</value>
214 + <value>long</value>
220 <define name="number-minutes">
221 <element name="number:minutes">
222 @@ -13013,14 +13099,17 @@
225 <define name="number-minutes-attlist">
227 - <attribute name="number:style">
229 - <value>short</value>
230 - <value>long</value>
235 + <ref name="gnm-truncate-on-overflow"/>
237 + <attribute name="number:style">
239 + <value>short</value>
240 + <value>long</value>
246 <define name="number-seconds">
247 <element name="number:seconds">
248 @@ -13030,6 +13119,7 @@
250 <define name="number-seconds-attlist">
252 + <ref name="gnm-truncate-on-overflow"/>
254 <attribute name="number:style">
256 @@ -13047,7 +13137,16 @@
258 <define name="number-am-pm">
259 <element name="number:am-pm">
262 + <attribute name="gnm:am-suffix">
263 + <ref name="string"/>
267 + <attribute name="gnm:pm-suffix">
268 + <ref name="string"/>
273 <define name="number-boolean-style">
274 @@ -13097,7 +13196,15 @@
276 <define name="number-text">
277 <element name="number:text">
281 + <ref name="gnm-invisible"/>
284 + <ref name="gnm-repeated"/>
290 <define name="number-text-content">
291 @@ -13169,6 +13276,11 @@
296 + <attribute name="gnm:format-magic">
297 + <ref name="integer"/>
302 <define name="common-auto-reorder-attlist">
303 @@ -13203,6 +13315,11 @@
307 + <attribute name="gnm:min-integer-chars">
308 + <ref name="integer"/>
312 <attribute name="number:grouping">
313 <ref name="boolean"/>
315 @@ -14101,6 +14218,22 @@
321 + <attribute name="gnm:arrow-type">
322 + <ref name="integer"/>
324 + <attribute name="gnm:arrow-a">
325 + <ref name="double"/>
327 + <attribute name="gnm:arrow-b">
328 + <ref name="double"/>
330 + <attribute name="gnm:arrow-c">
331 + <ref name="double"/>
337 <define name="draw-stroke-dash">
338 @@ -14383,6 +14516,21 @@
339 <ref name="boolean"/>
343 + <attribute name="gnm:style-print">
344 + <ref name="string"/>
348 + <attribute name="gnm:scale-to-X">
349 + <ref name="positiveInteger"/>
353 + <attribute name="gnm:scale-to-Y">
354 + <ref name="positiveInteger"/>
359 <define name="style-page-layout-properties-elements">
360 @@ -14874,11 +15022,33 @@
364 + <attribute name="gnm:font-stretch-pango">
365 + <ref name="integer"/>
369 + <attribute name="gnm:font-gravity-pango">
370 + <ref name="integer"/>
374 + <attribute name="gnm:auto-font">
375 + <ref name="boolean"/>
379 <attribute name="style:text-underline-mode">
380 <ref name="lineMode"/>
384 + <attribute name="gnm:text-underline-placement">
391 <attribute name="style:text-line-through-mode">
392 <ref name="lineMode"/>
394 @@ -15090,6 +15260,18 @@
395 <define name="style-paragraph-properties-attlist">
398 + <attribute name="gnm:GnmHAlign">
399 + <ref name="integer"/>
403 + <attribute name="css3t:text-justify">
405 + <value>distribute</value>
410 <attribute name="fo:line-height">
412 <value>normal</value>
413 @@ -15461,14 +15643,21 @@
416 <define name="common-background-color-attlist">
418 - <attribute name="fo:background-color">
420 - <value>transparent</value>
423 + <attribute name="fo:background-color">
425 + <value>transparent</value>
426 + <ref name="color"/>
431 + <attribute name="gnm:background-colour">
440 <define name="style-background-image">
442 @@ -15564,6 +15753,36 @@
447 + <attribute name="gnm:border-line-style-top">
448 + <ref name="string"/>
452 + <attribute name="gnm:border-line-style-bottom">
453 + <ref name="string"/>
457 + <attribute name="gnm:border-line-style-left">
458 + <ref name="string"/>
462 + <attribute name="gnm:border-line-style-right">
463 + <ref name="string"/>
467 + <attribute name="gnm:diagonal-bl-tr-line-style">
468 + <ref name="string"/>
472 + <attribute name="gnm:diagonal-tl-br-line-style">
473 + <ref name="string"/>
477 <define name="common-border-line-width-attlist">
479 @@ -15904,6 +16123,37 @@
480 <ref name="boolean"/>
484 + <attribute name="gnm:display-formulas">
485 + <ref name="boolean"/>
489 + <attribute name="gnm:display-col-header">
490 + <ref name="boolean"/>
494 + <attribute name="gnm:display-row-header">
495 + <ref name="boolean"/>
499 + <attribute name="gnm:tab-color">
500 + <ref name="color"/>
504 + <attribute name="gnm:tab-text-color">
505 + <ref name="color"/>
509 + <attribute name="tableooo:tab-color">
510 + <ref name="color"/>
516 <define name="style-table-properties-elements">
517 @@ -16004,6 +16254,11 @@
521 + <attribute name="gnm:GnmVAlign">
522 + <ref name="integer"/>
526 <attribute name="style:text-align-source">
529 @@ -16028,6 +16283,16 @@
530 <ref name="common-background-color-attlist"/>
531 <ref name="common-border-attlist"/>
533 + <attribute name="gnm:pattern-colour">
534 + <ref name="color"/>
538 + <attribute name="gnm:pattern">
539 + <ref name="integer"/>
543 <attribute name="style:diagonal-tl-br">
546 @@ -16104,6 +16369,16 @@
547 <ref name="boolean"/>
551 + <attribute name="gnm:input-title">
552 + <ref name="string"/>
556 + <attribute name="gnm:input-msg">
557 + <ref name="string"/>
562 <define name="common-style-direction-attlist">
563 @@ -17060,6 +17335,46 @@
564 <ref name="nonNegativeInteger"/>
568 + <attribute name="gnm:auto-dash">
569 + <ref name="boolean"/>
573 + <attribute name="gnm:auto-width">
574 + <ref name="boolean"/>
578 + <attribute name="gnm:auto-color">
579 + <ref name="boolean"/>
583 + <attribute name="gnm:auto-type">
584 + <ref name="boolean"/>
588 + <attribute name="gnm:foreground-solid">
589 + <ref name="boolean"/>
593 + <attribute name="gnm:pattern">
594 + <ref name="integer"/>
598 + <attribute name="gnm:marker-outline-colour">
599 + <ref name="color"/>
603 + <attribute name="gnm:marker-fill-colour">
604 + <ref name="color"/>
609 <define name="style-graphic-fill-properties-attlist">
610 @@ -17388,6 +17703,10 @@
612 <value>cubic-spline</value>
613 <value>b-spline</value>
614 + <value>gnm:closed-spline</value>
615 + <value>gnm:parabolic-cspline</value>
616 + <value>gnm:cubic-cspline</value>
617 + <value>gnm:clamped-cspline</value>
621 @@ -17661,6 +17980,10 @@
622 <value>logarithmic</value>
623 <value>exponential</value>
625 + <value>gnm:polynomial</value>
626 + <value>gnm:log-fit</value>
627 + <value>gnm:moving-average</value>
628 + <value>gnm:exponential-smoothed</value>
632 @@ -17697,6 +18020,62 @@
633 <ref name="boolean"/>
637 + <attribute name="gnm:outliers">
638 + <ref name="boolean"/>
642 + <attribute name="gnm:multi-series">
643 + <ref name="boolean"/>
647 + <attribute name="gnm:vary-style-by-element">
648 + <ref name="boolean"/>
652 + <attribute name="gnm:show-negatives">
653 + <ref name="boolean"/>
657 + <attribute name="gnm:radius-ratio">
658 + <ref name="double"/>
662 + <attribute name="gnm:default-separation">
663 + <ref name="percent"/>
667 + <attribute name="gnm:regression-affine">
668 + <ref name="boolean"/>
672 + <attribute name="loext:regression-force-intercept">
673 + <ref name="boolean"/>
677 + <attribute name="loext:regression-intercept-value">
678 + <ref name="double"/>
682 + <attribute name="gnm:regression-polynomial-dims">
683 + <ref name="nonNegativeInteger"/>
687 + <attribute name="loext:regression-max-degree">
688 + <ref name="nonNegativeInteger"/>
694 <define name="labelPositions">
695 @@ -18124,4 +18503,85 @@
700 + <define name="gnm-selections">
701 + <element name="gnm:selections">
702 + <attribute name="gnm:cursor-col">
703 + <ref name="integer"/>
705 + <attribute name="gnm:cursor-row">
706 + <ref name="integer"/>
709 + <ref name="gnm-selection"/>
713 + <define name="gnm-selection">
714 + <element name="gnm:selection">
715 + <attribute name="gnm:start-col">
716 + <ref name="integer"/>
718 + <attribute name="gnm:start-row">
719 + <ref name="integer"/>
721 + <attribute name="gnm:end-col">
722 + <ref name="integer"/>
724 + <attribute name="gnm:end-row">
725 + <ref name="integer"/>
729 + <define name="gnm-list-linkage-type">
731 + <attribute name="gnm:list-linkage-type">
733 + <value>selection</value>
734 + <value>selection-indices</value>
739 + <define name="gnm-value-type-attlist">
741 + <attribute name="gnm:value-type">
742 + <ref name="valueType"/>
746 + <define name="gnm-truncate-on-overflow">
748 + <attribute name="gnm:truncate-on-overflow">
749 + <ref name="boolean"/>
753 + <define name="gnm-invisible">
754 + <element name="gnm:invisible">
756 + <attribute name="gnm:char">
757 + <ref name="string"/>
761 + <attribute name="office:process-content">
762 + <ref name="boolean"/>
768 + <define name="gnm-repeated">
769 + <element name="gnm:repeated">
773 + <define name="gnm-droplines">
774 + <element name="gnm:droplines">
775 + <attribute name="chart:style-name">
776 + <ref name="styleNameRef"/>