update dev300-m58
[ooovba.git] / xmerge / source / palmtests / qa-wrapper / results / baseline / xml-base / chart.mod
blobee63a9162a2a2a881467a73ddbf236181a17a219
1 <!--
3 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 Copyright 2008 by Sun Microsystems, Inc.
7 OpenOffice.org - a multi-platform office productivity suite
9 $RCSfile: chart.mod,v $
11 $Revision: 1.4 $
13 This file is part of OpenOffice.org.
15 OpenOffice.org is free software: you can redistribute it and/or modify
16 it under the terms of the GNU Lesser General Public License version 3
17 only, as published by the Free Software Foundation.
19 OpenOffice.org is distributed in the hope that it will be useful,
20 but WITHOUT ANY WARRANTY; without even the implied warranty of
21 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 GNU Lesser General Public License version 3 for more details
23 (a copy is included in the LICENSE file that accompanied this code).
25 You should have received a copy of the GNU Lesser General Public License
26 version 3 along with OpenOffice.org. If not, see
27 <http://www.openoffice.org/license.html>
28 for a copy of the LGPLv3 License.
30 -->
33 <!ENTITY % chart-class "(line|area|circle|ring|scatter|radar|bar|stock|add-in)">
34 <!ENTITY % chart-solid-type "(cuboid|cylinder|cone|pyramid)">
36 <!-- Chart element -->
37 <!ELEMENT chart:chart ( chart:title?, chart:subtitle?, chart:legend?,
38 chart:plot-area,
39 table:table? )>
40 <!ATTLIST chart:chart
41 chart:class %chart-class; #REQUIRED
42 chart:add-in-name %string; #IMPLIED
43 chart:table-number-list %string; #IMPLIED
44 draw:name %string; #IMPLIED
45 %draw-position;
46 %draw-size;
47 %draw-style-name;
48 chart:style-name %styleName; #IMPLIED>
50 <!ATTLIST chart:chart %presentation-class; >
51 <!ATTLIST chart:chart %zindex;>
52 <!ATTLIST chart:chart %draw-end-position; >
53 <!ATTLIST chart:chart draw:id %draw-shape-id; >
54 <!ATTLIST chart:chart draw:layer %layerName; #IMPLIED>
56 <!ATTLIST style:properties
57 chart:scale-text %boolean; "true"
58 chart:stock-updown-bars %boolean; "false"
59 chart:stock-with-volume %boolean; "false"
60 chart:three-dimensional %boolean; "false"
61 chart:deep %boolean; "false"
62 chart:lines %boolean; "false"
63 chart:percentage %boolean; "false"
64 chart:solid-type %chart-solid-type; "cuboid"
65 chart:splines %nonNegativeInteger; "0"
66 chart:stacked %boolean; "false"
67 chart:symbol %integer; "-1"
68 chart:vertical %boolean; "false"
69 chart:lines-used %nonNegativeInteger; "0"
70 chart:connect-bars %boolean; "false">
72 <!-- Main/Sub Title -->
73 <!-- the cell-address attribute is currently not supported for titles -->
74 <!ELEMENT chart:title (text:p)?>
75 <!ATTLIST chart:title
76 table:cell-range %cell-address; #IMPLIED
77 svg:x %coordinate; #IMPLIED
78 svg:y %coordinate; #IMPLIED
79 chart:style-name %styleName; #IMPLIED >
81 <!ELEMENT chart:subtitle (text:p)?>
82 <!ATTLIST chart:subtitle
83 table:cell-range %cell-address; #IMPLIED
84 svg:x %coordinate; #IMPLIED
85 svg:y %coordinate; #IMPLIED
86 chart:style-name %styleName; #IMPLIED >
88 <!-- you must specify either a legend-position or both, x and y coordinates -->
89 <!ELEMENT chart:legend EMPTY>
90 <!ATTLIST chart:legend
91 chart:legend-position (top|left|bottom|right) "right"
92 svg:x %coordinate; #IMPLIED
93 svg:y %coordinate; #IMPLIED
94 chart:style-name %styleName; #IMPLIED >
96 <!-- Plot-Area specification -->
98 <!ELEMENT chart:plot-area (dr3d:light*,
99 chart:axis*,
100 chart:categories?,
101 chart:series*,
102 chart:wall?,
103 chart:floor?) >
105 <!ATTLIST chart:plot-area
106 svg:x %coordinate; #IMPLIED
107 svg:y %coordinate; #IMPLIED
108 svg:width %length; #IMPLIED
109 svg:height %length; #IMPLIED
110 chart:style-name %styleName; #IMPLIED
111 table:cell-range-address %cell-range-address; #IMPLIED
112 chart:table-number-list %string; #IMPLIED
113 chart:data-source-has-labels (none|row|column|both) "none" >
115 <!-- 3d scene attributes on plot-area -->
116 <!ATTLIST chart:plot-area
117 dr3d:vrp %vector3D; #IMPLIED
118 dr3d:vpn %vector3D; #IMPLIED
119 dr3d:vup %vector3D; #IMPLIED
120 dr3d:projection (parallel|perspective) #IMPLIED
121 dr3d:transform CDATA #IMPLIED
122 dr3d:distance %length; #IMPLIED
123 dr3d:focal-length %length; #IMPLIED
124 dr3d:shadow-slant %nonNegativeInteger; #IMPLIED
125 dr3d:shade-mode (flat|phong|gouraud|draft) #IMPLIED
126 dr3d:ambient-color %color; #IMPLIED
127 dr3d:lighting-mode %boolean; #IMPLIED >
129 <!ATTLIST style:properties
130 chart:series-source (columns|rows) "columns" >
132 <!ELEMENT chart:wall EMPTY>
133 <!ATTLIST chart:wall
134 svg:width %length; #IMPLIED
135 chart:style-name %styleName; #IMPLIED >
137 <!ELEMENT chart:floor EMPTY>
138 <!ATTLIST chart:floor
139 svg:width %length; #IMPLIED
140 chart:style-name %styleName; #IMPLIED >
142 <!-- Axis -->
144 <!ELEMENT chart:axis (chart:title?, chart:grid*)>
145 <!ATTLIST chart:axis
146 chart:class (category|value|series|domain) #REQUIRED
147 chart:name %string; #IMPLIED
148 chart:style-name %styleName; #IMPLIED >
150 <!ATTLIST style:properties
151 chart:tick-marks-major-inner %boolean; "false"
152 chart:tick-marks-major-outer %boolean; "true"
153 chart:tick-marks-minor-inner %boolean; "false"
154 chart:tick-marks-minor-outer %boolean; "false"
155 chart:logarithmic %boolean; "false"
156 chart:maximum %float; #IMPLIED
157 chart:minimum %float; #IMPLIED
158 chart:origin %float; #IMPLIED
159 chart:interval-major %float; #IMPLIED
160 chart:interval-minor %float; #IMPLIED
161 chart:gap-width %integer; #IMPLIED
162 chart:overlap %integer; #IMPLIED
163 text:line-break %boolean; "true"
164 chart:display-label %boolean; "true"
165 chart:label-arrangement (side-by-side|stagger-even|stagger-odd) "side-by-side"
166 chart:visible %boolean; "true"
167 chart:link-data-style-to-source %boolean; "true" >
169 <!ELEMENT chart:grid EMPTY>
170 <!ATTLIST chart:grid
171 chart:class (major|minor) "major"
172 chart:style-name %styleName; #IMPLIED >
175 <!ELEMENT chart:categories EMPTY>
176 <!ATTLIST chart:categories
177 table:cell-range-address %cell-range-address; #REQUIRED >
179 <!--
180 each series element must have an cell-range-address element that points
181 to the underlying table data.
182 Impl. Note: Internally all href elements are merged to one table range
183 that represents the data for the whole chart
185 <!ELEMENT chart:series ( chart:domain*,
186 chart:data-point* )>
187 <!ATTLIST chart:series
188 chart:values-cell-range-address %cell-range-address; #IMPLIED
189 chart:label-cell-address %cell-address; #IMPLIED
190 chart:class %chart-class; #IMPLIED
191 chart:attached-axis %string; #IMPLIED
192 chart:style-name %styleName; #IMPLIED >
194 <!ELEMENT chart:domain EMPTY>
195 <!ATTLIST chart:domain
196 table:cell-range-address %cell-range-address; #IMPLIED >
198 <!ELEMENT chart:data-point EMPTY>
199 <!ATTLIST chart:data-point
200 chart:repeated %nonNegativeInteger; #IMPLIED
201 chart:style-name %styleName; #IMPLIED >
203 <!-- statistical properties -->
205 <!ATTLIST style:properties
206 chart:mean-value %boolean; #IMPLIED
207 chart:error-category (none|variance|standard-deviation|percentage|error-margin|constant) "none"
208 chart:error-percentage %float; #IMPLIED
209 chart:error-margin %float; #IMPLIED
210 chart:error-lower-limit %float; #IMPLIED
211 chart:error-upper-limit %float; #IMPLIED
212 chart:error-upper-indicator %boolean; #IMPLIED
213 chart:error-lower-indicator %boolean; #IMPLIED
214 chart:regression-type (none|linear|logarithmic|exponential|power) "none" >
216 <!-- data label properties -->
218 <!ATTLIST style:properties
219 chart:data-label-number (none|value|percentage) "none"
220 chart:data-label-text %boolean; "false"
221 chart:data-label-symbol %boolean; "false" >
223 <!-- general text properties -->
225 <!ATTLIST style:properties text:rotation-angle %integer; "0" >
227 <!-- symbol properties -->
229 <!ATTLIST style:properties
230 chart:symbol-width %nonNegativeLength; #IMPLIED
231 chart:symbol-height %nonNegativeLength; #IMPLIED
232 chart:symbol-image-name %string; #IMPLIED >