npoi

Форк
0
/
GraphicalObjectAnimation.cs 
312 строк · 7.7 Кб
1
using System;
2
using System.ComponentModel;
3
using System.Xml.Serialization;
4
namespace NPOI.OpenXmlFormats.Dml
5
{
6
    
7
    
8

9
    [Serializable]
10
    [XmlType(Namespace="http://schemas.openxmlformats.org/drawingml/2006/main")]
11
    public enum ST_ChartBuildStep {
12
        
13
    
14
        category,
15
        
16
    
17
        ptInCategory,
18
        
19
    
20
        series,
21
        
22
    
23
        ptInSeries,
24
        
25
    
26
        allPts,
27
        
28
    
29
        gridLegend,
30
    }
31
    
32

33
    [Serializable]
34
    [XmlType(Namespace="http://schemas.openxmlformats.org/drawingml/2006/main")]
35
    public enum ST_DgmBuildStep {
36
        
37
    
38
        sp,
39
        
40
    
41
        bg,
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)]
50
    public partial class CT_AnimationDgmElement {
51
        
52
        private string idField;
53
        
54
        private ST_DgmBuildStep bldStepField;
55
        
56
        public CT_AnimationDgmElement() {
57
            this.idField = "{00000000-0000-0000-0000-000000000000}";
58
            this.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}")]
64
        public string id {
65
            get {
66
                return this.idField;
67
            }
68
            set {
69
                this.idField = value;
70
            }
71
        }
72
        
73
    
74
        [XmlAttribute]
75
        [DefaultValue(ST_DgmBuildStep.sp)]
76
        public ST_DgmBuildStep bldStep {
77
            get {
78
                return this.bldStepField;
79
            }
80
            set {
81
                this.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)]
92
    public partial class CT_AnimationChartElement {
93
        
94
        private int seriesIdxField;
95
        
96
        private int categoryIdxField;
97
        
98
        private ST_ChartBuildStep bldStepField;
99
        
100
        public CT_AnimationChartElement() {
101
            this.seriesIdxField = -1;
102
            this.categoryIdxField = -1;
103
        }
104
        
105
    
106
        [XmlAttribute]
107
        [DefaultValue(-1)]
108
        public int seriesIdx {
109
            get {
110
                return this.seriesIdxField;
111
            }
112
            set {
113
                this.seriesIdxField = value;
114
            }
115
        }
116
        
117
    
118
        [XmlAttribute]
119
        [DefaultValue(-1)]
120
        public int categoryIdx {
121
            get {
122
                return this.categoryIdxField;
123
            }
124
            set {
125
                this.categoryIdxField = value;
126
            }
127
        }
128
        
129
    
130
        [XmlAttribute]
131
        public ST_ChartBuildStep bldStep {
132
            get {
133
                return this.bldStepField;
134
            }
135
            set {
136
                this.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)]
147
    public partial class CT_AnimationElementChoice {
148
        
149
        private object itemField;
150

151

152
        [XmlElement("chart", typeof(CT_AnimationChartElement), Order = 0)]
153
        [XmlElement("dgm", typeof(CT_AnimationDgmElement), Order = 0)]
154
        public object Item {
155
            get {
156
                return this.itemField;
157
            }
158
            set {
159
                this.itemField = value;
160
            }
161
        }
162
    }
163
    
164

165
    [Serializable]
166
    [XmlType(Namespace="http://schemas.openxmlformats.org/drawingml/2006/main")]
167
    public enum ST_AnimationBuildType {
168
        
169
    
170
        allAtOnce,
171
    }
172
    
173

174
    [Serializable]
175
    [XmlType(Namespace="http://schemas.openxmlformats.org/drawingml/2006/main")]
176
    public enum ST_AnimationDgmOnlyBuildType {
177
        
178
    
179
        one,
180
        
181
    
182
        lvlOne,
183
        
184
    
185
        lvlAtOnce,
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)]
194
    public partial class CT_AnimationDgmBuildProperties {
195
        
196
        private string bldField;
197
        
198
        private bool revField;
199
        
200
        public CT_AnimationDgmBuildProperties() {
201
            this.bldField = "allAtOnce";
202
            this.revField = false;
203
        }
204
        
205
    
206
        [XmlAttribute]
207
        [DefaultValue("allAtOnce")]
208
        public string bld {
209
            get {
210
                return this.bldField;
211
            }
212
            set {
213
                this.bldField = value;
214
            }
215
        }
216
        
217
    
218
        [XmlAttribute]
219
        [DefaultValue(false)]
220
        public bool rev {
221
            get {
222
                return this.revField;
223
            }
224
            set {
225
                this.revField = value;
226
            }
227
        }
228
    }
229
    
230

231
    [Serializable]
232
    [XmlType(Namespace="http://schemas.openxmlformats.org/drawingml/2006/main")]
233
    public enum ST_AnimationChartOnlyBuildType {
234
        
235
    
236
        series,
237
        
238
    
239
        category,
240
        
241
    
242
        seriesEl,
243
        
244
    
245
        categoryEl,
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)]
254
    public partial class CT_AnimationChartBuildProperties {
255
        
256
        private string bldField;
257
        
258
        private bool animBgField;
259
        
260
        public CT_AnimationChartBuildProperties() {
261
            this.bldField = "allAtOnce";
262
            this.animBgField = true;
263
        }
264
        
265
    
266
        [XmlAttribute]
267
        [DefaultValue("allAtOnce")]
268
        public string bld {
269
            get {
270
                return this.bldField;
271
            }
272
            set {
273
                this.bldField = value;
274
            }
275
        }
276
        
277
    
278
        [XmlAttribute]
279
        [DefaultValue(true)]
280
        public bool animBg {
281
            get {
282
                return this.animBgField;
283
            }
284
            set {
285
                this.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)]
296
    public partial class CT_AnimationGraphicalObjectBuildProperties {
297
        
298
        private object itemField;
299
        
300
    
301
        [XmlElement("bldChart", typeof(CT_AnimationChartBuildProperties))]
302
        [XmlElement("bldDgm", typeof(CT_AnimationDgmBuildProperties))]
303
        public object Item {
304
            get {
305
                return this.itemField;
306
            }
307
            set {
308
                this.itemField = value;
309
            }
310
        }
311
    }
312
}
313

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.