npoi
312 строк · 7.7 Кб
1using System;
2using System.ComponentModel;
3using System.Xml.Serialization;
4namespace NPOI.OpenXmlFormats.Dml
5{
6
7
8
9[Serializable]
10[XmlType(Namespace="http://schemas.openxmlformats.org/drawingml/2006/main")]
11public enum ST_ChartBuildStep {
12
13
14category,
15
16
17ptInCategory,
18
19
20series,
21
22
23ptInSeries,
24
25
26allPts,
27
28
29gridLegend,
30}
31
32
33[Serializable]
34[XmlType(Namespace="http://schemas.openxmlformats.org/drawingml/2006/main")]
35public enum ST_DgmBuildStep {
36
37
38sp,
39
40
41bg,
42}
43
44
45[Serializable]
46[System.Diagnostics.DebuggerStepThrough]
47[System.ComponentModel.DesignerCategory("code")]
48[XmlType(Namespace="http://schemas.openxmlformats.org/drawingml/2006/main")]
49[XmlRoot(Namespace="http://schemas.openxmlformats.org/drawingml/2006/main", IsNullable=true)]
50public partial class CT_AnimationDgmElement {
51
52private string idField;
53
54private ST_DgmBuildStep bldStepField;
55
56public CT_AnimationDgmElement() {
57this.idField = "{00000000-0000-0000-0000-000000000000}";
58this.bldStepField = ST_DgmBuildStep.sp;
59}
60
61[XmlAttribute(Form = System.Xml.Schema.XmlSchemaForm.Qualified, Namespace = "http://schemas.openxmlformats.org/officeDocument/2006/relationships")]
62// [XmlAttribute(DataType = "token")]
63[DefaultValue("{00000000-0000-0000-0000-000000000000}")]
64public string id {
65get {
66return this.idField;
67}
68set {
69this.idField = value;
70}
71}
72
73
74[XmlAttribute]
75[DefaultValue(ST_DgmBuildStep.sp)]
76public ST_DgmBuildStep bldStep {
77get {
78return this.bldStepField;
79}
80set {
81this.bldStepField = value;
82}
83}
84}
85
86
87[Serializable]
88[System.Diagnostics.DebuggerStepThrough]
89[System.ComponentModel.DesignerCategory("code")]
90[XmlType(Namespace="http://schemas.openxmlformats.org/drawingml/2006/main")]
91[XmlRoot(Namespace="http://schemas.openxmlformats.org/drawingml/2006/main", IsNullable=true)]
92public partial class CT_AnimationChartElement {
93
94private int seriesIdxField;
95
96private int categoryIdxField;
97
98private ST_ChartBuildStep bldStepField;
99
100public CT_AnimationChartElement() {
101this.seriesIdxField = -1;
102this.categoryIdxField = -1;
103}
104
105
106[XmlAttribute]
107[DefaultValue(-1)]
108public int seriesIdx {
109get {
110return this.seriesIdxField;
111}
112set {
113this.seriesIdxField = value;
114}
115}
116
117
118[XmlAttribute]
119[DefaultValue(-1)]
120public int categoryIdx {
121get {
122return this.categoryIdxField;
123}
124set {
125this.categoryIdxField = value;
126}
127}
128
129
130[XmlAttribute]
131public ST_ChartBuildStep bldStep {
132get {
133return this.bldStepField;
134}
135set {
136this.bldStepField = value;
137}
138}
139}
140
141
142[Serializable]
143[System.Diagnostics.DebuggerStepThrough]
144[System.ComponentModel.DesignerCategory("code")]
145[XmlType(Namespace="http://schemas.openxmlformats.org/drawingml/2006/main")]
146[XmlRoot(Namespace="http://schemas.openxmlformats.org/drawingml/2006/main", IsNullable=true)]
147public partial class CT_AnimationElementChoice {
148
149private object itemField;
150
151
152[XmlElement("chart", typeof(CT_AnimationChartElement), Order = 0)]
153[XmlElement("dgm", typeof(CT_AnimationDgmElement), Order = 0)]
154public object Item {
155get {
156return this.itemField;
157}
158set {
159this.itemField = value;
160}
161}
162}
163
164
165[Serializable]
166[XmlType(Namespace="http://schemas.openxmlformats.org/drawingml/2006/main")]
167public enum ST_AnimationBuildType {
168
169
170allAtOnce,
171}
172
173
174[Serializable]
175[XmlType(Namespace="http://schemas.openxmlformats.org/drawingml/2006/main")]
176public enum ST_AnimationDgmOnlyBuildType {
177
178
179one,
180
181
182lvlOne,
183
184
185lvlAtOnce,
186}
187
188
189[Serializable]
190[System.Diagnostics.DebuggerStepThrough]
191[System.ComponentModel.DesignerCategory("code")]
192[XmlType(Namespace="http://schemas.openxmlformats.org/drawingml/2006/main")]
193[XmlRoot(Namespace="http://schemas.openxmlformats.org/drawingml/2006/main", IsNullable=true)]
194public partial class CT_AnimationDgmBuildProperties {
195
196private string bldField;
197
198private bool revField;
199
200public CT_AnimationDgmBuildProperties() {
201this.bldField = "allAtOnce";
202this.revField = false;
203}
204
205
206[XmlAttribute]
207[DefaultValue("allAtOnce")]
208public string bld {
209get {
210return this.bldField;
211}
212set {
213this.bldField = value;
214}
215}
216
217
218[XmlAttribute]
219[DefaultValue(false)]
220public bool rev {
221get {
222return this.revField;
223}
224set {
225this.revField = value;
226}
227}
228}
229
230
231[Serializable]
232[XmlType(Namespace="http://schemas.openxmlformats.org/drawingml/2006/main")]
233public enum ST_AnimationChartOnlyBuildType {
234
235
236series,
237
238
239category,
240
241
242seriesEl,
243
244
245categoryEl,
246}
247
248
249[Serializable]
250[System.Diagnostics.DebuggerStepThrough]
251[System.ComponentModel.DesignerCategory("code")]
252[XmlType(Namespace="http://schemas.openxmlformats.org/drawingml/2006/main")]
253[XmlRoot(Namespace="http://schemas.openxmlformats.org/drawingml/2006/main", IsNullable=true)]
254public partial class CT_AnimationChartBuildProperties {
255
256private string bldField;
257
258private bool animBgField;
259
260public CT_AnimationChartBuildProperties() {
261this.bldField = "allAtOnce";
262this.animBgField = true;
263}
264
265
266[XmlAttribute]
267[DefaultValue("allAtOnce")]
268public string bld {
269get {
270return this.bldField;
271}
272set {
273this.bldField = value;
274}
275}
276
277
278[XmlAttribute]
279[DefaultValue(true)]
280public bool animBg {
281get {
282return this.animBgField;
283}
284set {
285this.animBgField = value;
286}
287}
288}
289
290
291[Serializable]
292[System.Diagnostics.DebuggerStepThrough]
293[System.ComponentModel.DesignerCategory("code")]
294[XmlType(Namespace="http://schemas.openxmlformats.org/drawingml/2006/main")]
295[XmlRoot(Namespace="http://schemas.openxmlformats.org/drawingml/2006/main", IsNullable=true)]
296public partial class CT_AnimationGraphicalObjectBuildProperties {
297
298private object itemField;
299
300
301[XmlElement("bldChart", typeof(CT_AnimationChartBuildProperties))]
302[XmlElement("bldDgm", typeof(CT_AnimationDgmBuildProperties))]
303public object Item {
304get {
305return this.itemField;
306}
307set {
308this.itemField = value;
309}
310}
311}
312}
313