npoi
703 строки · 19.2 Кб
1// ------------------------------------------------------------------------------
2// <auto-generated>
3// Generated by Xsd2Code. Version 3.4.0.38967
4// <NameSpace>NPOI.OpenXmlFormats.Dml.Diagram</NameSpace><Collection>List</Collection><codeType>CSharp</codeType><EnableDataBinding>False</EnableDataBinding><EnableLazyLoading>False</EnableLazyLoading><TrackingChangesEnable>False</TrackingChangesEnable><GenTrackingClasses>False</GenTrackingClasses><HidePrivateFieldInIDE>False</HidePrivateFieldInIDE><EnableSummaryComment>False</EnableSummaryComment><VirtualProp>False</VirtualProp><IncludeSerializeMethod>False</IncludeSerializeMethod><UseBaseClass>False</UseBaseClass><GenBaseClass>False</GenBaseClass><GenerateCloneMethod>False</GenerateCloneMethod><GenerateDataContracts>False</GenerateDataContracts><CodeBaseTag>Net20</CodeBaseTag><SerializeMethodName>Serialize</SerializeMethodName><DeserializeMethodName>Deserialize</DeserializeMethodName><SaveToFileMethodName>SaveToFile</SaveToFileMethodName><LoadFromFileMethodName>LoadFromFile</LoadFromFileMethodName><GenerateXMLAttributes>True</GenerateXMLAttributes><EnableEncoding>False</EnableEncoding><AutomaticProperties>False</AutomaticProperties><GenerateShouldSerialize>False</GenerateShouldSerialize><DisableDebug>True</DisableDebug><PropNameSpecified>Default</PropNameSpecified><Encoder>UTF8</Encoder><CustomUsings></CustomUsings><ExcludeIncludedTypes>True</ExcludeIncludedTypes><EnableInitializeFields>True</EnableInitializeFields>
5// </auto-generated>
6// ------------------------------------------------------------------------------
7namespace NPOI.OpenXmlFormats.Dml.Diagram
8{
9using System;
10using System.Diagnostics;
11using System.Xml.Serialization;
12using System.Collections;
13using System.Xml.Schema;
14using System.ComponentModel;
15using System.Collections.Generic;
16
17
18[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.17379")]
19[Serializable]
20[DebuggerStepThrough]
21[System.ComponentModel.DesignerCategoryAttribute("code")]
22[XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/diagram")]
23[XmlRoot("colorsDef", Namespace = "http://schemas.openxmlformats.org/drawingml/2006/diagram", IsNullable = false)]
24public partial class CT_ColorTransform
25{
26
27private List<CT_CTName> titleField;
28
29private List<CT_CTDescription> descField;
30
31private List<CT_CTCategory> catLstField;
32
33private List<CT_CTStyleLabel> styleLblField;
34
35private CT_OfficeArtExtensionList extLstField;
36
37private string uniqueIdField;
38
39private string minVerField;
40
41public CT_ColorTransform()
42{
43this.extLstField = new CT_OfficeArtExtensionList();
44this.styleLblField = new List<CT_CTStyleLabel>();
45this.catLstField = new List<CT_CTCategory>();
46this.descField = new List<CT_CTDescription>();
47this.titleField = new List<CT_CTName>();
48this.uniqueIdField = "";
49this.minVerField = "http://schemas.openxmlformats.org/drawingml/2006/diagram";
50}
51
52[XmlElement("title", Order = 0)]
53public List<CT_CTName> title
54{
55get
56{
57return this.titleField;
58}
59set
60{
61this.titleField = value;
62}
63}
64
65[XmlElement("desc", Order = 1)]
66public List<CT_CTDescription> desc
67{
68get
69{
70return this.descField;
71}
72set
73{
74this.descField = value;
75}
76}
77
78[XmlArray(Order = 2)]
79[XmlArrayItem("cat", IsNullable = false)]
80public List<CT_CTCategory> catLst
81{
82get
83{
84return this.catLstField;
85}
86set
87{
88this.catLstField = value;
89}
90}
91
92[XmlElement("styleLbl", Order = 3)]
93public List<CT_CTStyleLabel> styleLbl
94{
95get
96{
97return this.styleLblField;
98}
99set
100{
101this.styleLblField = value;
102}
103}
104
105[XmlElement(Order = 4)]
106public CT_OfficeArtExtensionList extLst
107{
108get
109{
110return this.extLstField;
111}
112set
113{
114this.extLstField = value;
115}
116}
117
118[XmlAttribute]
119[DefaultValue("")]
120public string uniqueId
121{
122get
123{
124return this.uniqueIdField;
125}
126set
127{
128this.uniqueIdField = value;
129}
130}
131
132[XmlAttribute]
133[DefaultValue("http://schemas.openxmlformats.org/drawingml/2006/diagram")]
134public string minVer
135{
136get
137{
138return this.minVerField;
139}
140set
141{
142this.minVerField = value;
143}
144}
145}
146
147[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.17379")]
148[Serializable]
149[DebuggerStepThrough]
150[System.ComponentModel.DesignerCategoryAttribute("code")]
151[XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/diagram")]
152[XmlRoot(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/diagram", IsNullable = true)]
153public partial class CT_CTName
154{
155
156private string langField;
157
158private string valField;
159
160public CT_CTName()
161{
162this.langField = "";
163}
164
165[XmlAttribute]
166[DefaultValue("")]
167public string lang
168{
169get
170{
171return this.langField;
172}
173set
174{
175this.langField = value;
176}
177}
178
179[XmlAttribute]
180public string val
181{
182get
183{
184return this.valField;
185}
186set
187{
188this.valField = value;
189}
190}
191}
192
193[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.17379")]
194[Serializable]
195[DebuggerStepThrough]
196[System.ComponentModel.DesignerCategoryAttribute("code")]
197[XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/diagram")]
198[XmlRoot(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/diagram", IsNullable = true)]
199public partial class CT_Colors
200{
201
202private List<object> itemsField;
203
204private ST_ClrAppMethod methField;
205
206private ST_HueDir hueDirField;
207
208public CT_Colors()
209{
210this.itemsField = new List<object>();
211this.methField = ST_ClrAppMethod.span;
212this.hueDirField = ST_HueDir.cw;
213}
214
215[XmlElement("hslClr", typeof(CT_HslColor), Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main", Order = 0)]
216[XmlElement("prstClr", typeof(CT_PresetColor), Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main", Order = 0)]
217[XmlElement("schemeClr", typeof(CT_SchemeColor), Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main", Order = 0)]
218[XmlElement("scrgbClr", typeof(CT_ScRgbColor), Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main", Order = 0)]
219[XmlElement("srgbClr", typeof(CT_SRgbColor), Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main", Order = 0)]
220[XmlElement("sysClr", typeof(CT_SystemColor), Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main", Order = 0)]
221public List<object> Items
222{
223get
224{
225return this.itemsField;
226}
227set
228{
229this.itemsField = value;
230}
231}
232
233[XmlAttribute]
234[DefaultValue(ST_ClrAppMethod.span)]
235public ST_ClrAppMethod meth
236{
237get
238{
239return this.methField;
240}
241set
242{
243this.methField = value;
244}
245}
246
247[XmlAttribute]
248[DefaultValue(ST_HueDir.cw)]
249public ST_HueDir hueDir
250{
251get
252{
253return this.hueDirField;
254}
255set
256{
257this.hueDirField = value;
258}
259}
260}
261
262[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.17379")]
263[Serializable]
264[XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/diagram")]
265public enum ST_ClrAppMethod
266{
267
268/// <remarks/>
269span,
270
271/// <remarks/>
272cycle,
273
274/// <remarks/>
275repeat,
276}
277
278[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.17379")]
279[Serializable]
280[XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/diagram")]
281public enum ST_HueDir
282{
283
284/// <remarks/>
285cw,
286
287/// <remarks/>
288ccw,
289}
290
291[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.17379")]
292[Serializable]
293[DebuggerStepThrough]
294[System.ComponentModel.DesignerCategoryAttribute("code")]
295[XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/diagram")]
296[XmlRoot(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/diagram", IsNullable = true)]
297public partial class CT_CTStyleLabel
298{
299
300private CT_Colors fillClrLstField;
301
302private CT_Colors linClrLstField;
303
304private CT_Colors effectClrLstField;
305
306private CT_Colors txLinClrLstField;
307
308private CT_Colors txFillClrLstField;
309
310private CT_Colors txEffectClrLstField;
311
312private CT_OfficeArtExtensionList extLstField;
313
314private string nameField;
315
316public CT_CTStyleLabel()
317{
318this.txEffectClrLstField = new CT_Colors();
319this.txFillClrLstField = new CT_Colors();
320this.txLinClrLstField = new CT_Colors();
321this.effectClrLstField = new CT_Colors();
322this.linClrLstField = new CT_Colors();
323this.fillClrLstField = new CT_Colors();
324}
325
326[XmlElement(Order = 0)]
327public CT_Colors fillClrLst
328{
329get
330{
331return this.fillClrLstField;
332}
333set
334{
335this.fillClrLstField = value;
336}
337}
338
339[XmlElement(Order = 1)]
340public CT_Colors linClrLst
341{
342get
343{
344return this.linClrLstField;
345}
346set
347{
348this.linClrLstField = value;
349}
350}
351
352[XmlElement(Order = 2)]
353public CT_Colors effectClrLst
354{
355get
356{
357return this.effectClrLstField;
358}
359set
360{
361this.effectClrLstField = value;
362}
363}
364
365[XmlElement(Order = 3)]
366public CT_Colors txLinClrLst
367{
368get
369{
370return this.txLinClrLstField;
371}
372set
373{
374this.txLinClrLstField = value;
375}
376}
377
378[XmlElement(Order = 4)]
379public CT_Colors txFillClrLst
380{
381get
382{
383return this.txFillClrLstField;
384}
385set
386{
387this.txFillClrLstField = value;
388}
389}
390
391[XmlElement(Order = 5)]
392public CT_Colors txEffectClrLst
393{
394get
395{
396return this.txEffectClrLstField;
397}
398set
399{
400this.txEffectClrLstField = value;
401}
402}
403
404[XmlElement(Order = 6)]
405public CT_OfficeArtExtensionList extLst
406{
407get
408{
409return this.extLstField;
410}
411set
412{
413this.extLstField = value;
414}
415}
416
417[XmlAttribute]
418public string name
419{
420get
421{
422return this.nameField;
423}
424set
425{
426this.nameField = value;
427}
428}
429}
430
431[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.17379")]
432[Serializable]
433[DebuggerStepThrough]
434[System.ComponentModel.DesignerCategoryAttribute("code")]
435[XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/diagram")]
436[XmlRoot(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/diagram", IsNullable = true)]
437public partial class CT_CTCategory
438{
439
440private string typeField;
441
442private uint priField;
443
444[System.Xml.Serialization.XmlAttributeAttribute(DataType = "anyURI")]
445public string type
446{
447get
448{
449return this.typeField;
450}
451set
452{
453this.typeField = value;
454}
455}
456
457[XmlAttribute]
458public uint pri
459{
460get
461{
462return this.priField;
463}
464set
465{
466this.priField = value;
467}
468}
469}
470
471[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.17379")]
472[Serializable]
473[DebuggerStepThrough]
474[System.ComponentModel.DesignerCategoryAttribute("code")]
475[XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/diagram")]
476[XmlRoot(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/diagram", IsNullable = true)]
477public partial class CT_CTDescription
478{
479
480private string langField;
481
482private string valField;
483
484public CT_CTDescription()
485{
486this.langField = "";
487}
488
489[XmlAttribute]
490[DefaultValue("")]
491public string lang
492{
493get
494{
495return this.langField;
496}
497set
498{
499this.langField = value;
500}
501}
502
503[XmlAttribute]
504public string val
505{
506get
507{
508return this.valField;
509}
510set
511{
512this.valField = value;
513}
514}
515}
516
517[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.17379")]
518[Serializable]
519[DebuggerStepThrough]
520[System.ComponentModel.DesignerCategoryAttribute("code")]
521[XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/diagram")]
522[XmlRoot("colorsDefHdr", Namespace = "http://schemas.openxmlformats.org/drawingml/2006/diagram", IsNullable = false)]
523public partial class CT_ColorTransformHeader
524{
525
526private List<CT_CTName> titleField;
527
528private List<CT_CTDescription> descField;
529
530private List<CT_CTCategory> catLstField;
531
532private CT_OfficeArtExtensionList extLstField;
533
534private string uniqueIdField;
535
536private string minVerField;
537
538private int resIdField;
539
540public CT_ColorTransformHeader()
541{
542this.catLstField = new List<CT_CTCategory>();
543this.descField = new List<CT_CTDescription>();
544this.titleField = new List<CT_CTName>();
545this.minVerField = "http://schemas.openxmlformats.org/drawingml/2006/diagram";
546this.resIdField = 0;
547}
548
549[XmlElement("title", Order = 0)]
550public List<CT_CTName> title
551{
552get
553{
554return this.titleField;
555}
556set
557{
558this.titleField = value;
559}
560}
561
562[XmlElement("desc", Order = 1)]
563public List<CT_CTDescription> desc
564{
565get
566{
567return this.descField;
568}
569set
570{
571this.descField = value;
572}
573}
574
575[XmlArray(Order = 2)]
576[XmlArrayItem("cat", IsNullable = false)]
577public List<CT_CTCategory> catLst
578{
579get
580{
581return this.catLstField;
582}
583set
584{
585this.catLstField = value;
586}
587}
588
589[XmlElement(Order = 3)]
590public CT_OfficeArtExtensionList extLst
591{
592get
593{
594return this.extLstField;
595}
596set
597{
598this.extLstField = value;
599}
600}
601
602[XmlAttribute]
603public string uniqueId
604{
605get
606{
607return this.uniqueIdField;
608}
609set
610{
611this.uniqueIdField = value;
612}
613}
614
615[XmlAttribute]
616[DefaultValue("http://schemas.openxmlformats.org/drawingml/2006/diagram")]
617public string minVer
618{
619get
620{
621return this.minVerField;
622}
623set
624{
625this.minVerField = value;
626}
627}
628
629[XmlAttribute]
630[DefaultValue(0)]
631public int resId
632{
633get
634{
635return this.resIdField;
636}
637set
638{
639this.resIdField = value;
640}
641}
642}
643
644[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.17379")]
645[Serializable]
646[DebuggerStepThrough]
647[System.ComponentModel.DesignerCategoryAttribute("code")]
648[XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/diagram")]
649[XmlRoot("colorsDefHdrLst", Namespace = "http://schemas.openxmlformats.org/drawingml/2006/diagram", IsNullable = false)]
650public partial class CT_ColorTransformHeaderLst
651{
652
653private List<CT_ColorTransformHeader> colorsDefHdrField;
654
655public CT_ColorTransformHeaderLst()
656{
657this.colorsDefHdrField = new List<CT_ColorTransformHeader>();
658}
659
660[XmlElement("colorsDefHdr", Order = 0)]
661public List<CT_ColorTransformHeader> colorsDefHdr
662{
663get
664{
665return this.colorsDefHdrField;
666}
667set
668{
669this.colorsDefHdrField = value;
670}
671}
672}
673
674[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.17379")]
675[Serializable]
676[DebuggerStepThrough]
677[System.ComponentModel.DesignerCategoryAttribute("code")]
678[XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/diagram")]
679[XmlRoot(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/diagram", IsNullable = true)]
680public partial class CT_CTCategories
681{
682
683private List<CT_CTCategory> catField;
684
685public CT_CTCategories()
686{
687this.catField = new List<CT_CTCategory>();
688}
689
690[XmlElement("cat", Order = 0)]
691public List<CT_CTCategory> cat
692{
693get
694{
695return this.catField;
696}
697set
698{
699this.catField = value;
700}
701}
702}
703}
704