npoi
1019 строк · 25.3 Кб
1// ------------------------------------------------------------------------------
2// <auto-generated>
3// Generated by Xsd2Code. Version 3.4.0.38967
4// <NameSpace>NPOI.OpenXmlFormats.Dml</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
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[Serializable]
19[DebuggerStepThrough]
20[System.ComponentModel.DesignerCategoryAttribute("code")]
21[XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main")]
22[XmlRoot(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main", IsNullable = true)]
23public partial class CT_Cell3D
24{
25
26private CT_Bevel bevelField;
27
28private CT_LightRig lightRigField;
29
30private CT_OfficeArtExtensionList extLstField;
31
32private ST_PresetMaterialType prstMaterialField;
33
34public CT_Cell3D()
35{
36this.extLstField = new CT_OfficeArtExtensionList();
37this.lightRigField = new CT_LightRig();
38this.bevelField = new CT_Bevel();
39this.prstMaterialField = ST_PresetMaterialType.plastic;
40}
41
42[XmlElement(Order = 0)]
43public CT_Bevel bevel
44{
45get
46{
47return this.bevelField;
48}
49set
50{
51this.bevelField = value;
52}
53}
54
55[XmlElement(Order = 1)]
56public CT_LightRig lightRig
57{
58get
59{
60return this.lightRigField;
61}
62set
63{
64this.lightRigField = value;
65}
66}
67
68[XmlElement(Order = 2)]
69public CT_OfficeArtExtensionList extLst
70{
71get
72{
73return this.extLstField;
74}
75set
76{
77this.extLstField = value;
78}
79}
80
81[XmlAttribute]
82[DefaultValue(ST_PresetMaterialType.plastic)]
83public ST_PresetMaterialType prstMaterial
84{
85get
86{
87return this.prstMaterialField;
88}
89set
90{
91this.prstMaterialField = value;
92}
93}
94}
95
96
97[Serializable]
98[DebuggerStepThrough]
99[System.ComponentModel.DesignerCategoryAttribute("code")]
100[XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main")]
101[XmlRoot(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main", IsNullable = true)]
102public partial class CT_ThemeableLineStyle
103{
104
105private object itemField;
106
107[XmlElement("ln", typeof(CT_LineProperties), Order = 0)]
108[XmlElement("lnRef", typeof(CT_StyleMatrixReference), Order = 0)]
109public object Item
110{
111get
112{
113return this.itemField;
114}
115set
116{
117this.itemField = value;
118}
119}
120}
121
122
123[Serializable]
124[XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main")]
125public enum ST_OnOffStyleType
126{
127
128/// <remarks/>
129on,
130
131/// <remarks/>
132off,
133
134/// <remarks/>
135def,
136}
137
138
139[Serializable]
140[DebuggerStepThrough]
141[System.ComponentModel.DesignerCategoryAttribute("code")]
142[XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main")]
143[XmlRoot(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main", IsNullable = true)]
144public partial class CT_TableStyleTextStyle
145{
146
147private CT_FontCollection fontField;
148
149private CT_FontReference fontRefField;
150
151private CT_ScRgbColor scrgbClrField;
152
153private CT_SRgbColor srgbClrField;
154
155private CT_HslColor hslClrField;
156
157private CT_SystemColor sysClrField;
158
159private CT_SchemeColor schemeClrField;
160
161private CT_PresetColor prstClrField;
162
163private CT_OfficeArtExtensionList extLstField;
164
165private ST_OnOffStyleType bField;
166
167private ST_OnOffStyleType iField;
168
169public CT_TableStyleTextStyle()
170{
171//this.extLstField = new CT_OfficeArtExtensionList();
172//this.prstClrField = new CT_PresetColor();
173//this.schemeClrField = new CT_SchemeColor();
174//this.sysClrField = new CT_SystemColor();
175//this.hslClrField = new CT_HslColor();
176//this.srgbClrField = new CT_SRgbColor();
177//this.scrgbClrField = new CT_ScRgbColor();
178//this.fontRefField = new CT_FontReference();
179//this.fontField = new CT_FontCollection();
180//this.bField = ST_OnOffStyleType.def;
181//this.iField = ST_OnOffStyleType.def;
182}
183
184[XmlElement(Order = 0)]
185public CT_FontCollection font
186{
187get
188{
189return this.fontField;
190}
191set
192{
193this.fontField = value;
194}
195}
196
197[XmlElement(Order = 1)]
198public CT_FontReference fontRef
199{
200get
201{
202return this.fontRefField;
203}
204set
205{
206this.fontRefField = value;
207}
208}
209
210[XmlElement(Order = 2)]
211public CT_ScRgbColor scrgbClr
212{
213get
214{
215return this.scrgbClrField;
216}
217set
218{
219this.scrgbClrField = value;
220}
221}
222
223[XmlElement(Order = 3)]
224public CT_SRgbColor srgbClr
225{
226get
227{
228return this.srgbClrField;
229}
230set
231{
232this.srgbClrField = value;
233}
234}
235
236[XmlElement(Order = 4)]
237public CT_HslColor hslClr
238{
239get
240{
241return this.hslClrField;
242}
243set
244{
245this.hslClrField = value;
246}
247}
248
249[XmlElement(Order = 5)]
250public CT_SystemColor sysClr
251{
252get
253{
254return this.sysClrField;
255}
256set
257{
258this.sysClrField = value;
259}
260}
261
262[XmlElement(Order = 6)]
263public CT_SchemeColor schemeClr
264{
265get
266{
267return this.schemeClrField;
268}
269set
270{
271this.schemeClrField = value;
272}
273}
274
275[XmlElement(Order = 7)]
276public CT_PresetColor prstClr
277{
278get
279{
280return this.prstClrField;
281}
282set
283{
284this.prstClrField = value;
285}
286}
287
288[XmlElement(Order = 8)]
289public CT_OfficeArtExtensionList extLst
290{
291get
292{
293return this.extLstField;
294}
295set
296{
297this.extLstField = value;
298}
299}
300
301[XmlAttribute]
302[DefaultValue(ST_OnOffStyleType.def)]
303public ST_OnOffStyleType b
304{
305get
306{
307return this.bField;
308}
309set
310{
311this.bField = value;
312}
313}
314
315[XmlAttribute]
316[DefaultValue(ST_OnOffStyleType.def)]
317public ST_OnOffStyleType i
318{
319get
320{
321return this.iField;
322}
323set
324{
325this.iField = value;
326}
327}
328}
329
330
331
332[Serializable]
333[DebuggerStepThrough]
334[System.ComponentModel.DesignerCategoryAttribute("code")]
335[XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main")]
336[XmlRoot(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main", IsNullable = true)]
337public partial class CT_TableCellBorderStyle
338{
339
340private CT_ThemeableLineStyle leftField;
341
342private CT_ThemeableLineStyle rightField;
343
344private CT_ThemeableLineStyle topField;
345
346private CT_ThemeableLineStyle bottomField;
347
348private CT_ThemeableLineStyle insideHField;
349
350private CT_ThemeableLineStyle insideVField;
351
352private CT_ThemeableLineStyle tl2brField;
353
354private CT_ThemeableLineStyle tr2blField;
355
356private CT_OfficeArtExtensionList extLstField;
357
358public CT_TableCellBorderStyle()
359{
360this.extLstField = new CT_OfficeArtExtensionList();
361this.tr2blField = new CT_ThemeableLineStyle();
362this.tl2brField = new CT_ThemeableLineStyle();
363this.insideVField = new CT_ThemeableLineStyle();
364this.insideHField = new CT_ThemeableLineStyle();
365this.bottomField = new CT_ThemeableLineStyle();
366this.topField = new CT_ThemeableLineStyle();
367this.rightField = new CT_ThemeableLineStyle();
368this.leftField = new CT_ThemeableLineStyle();
369}
370
371[XmlElement(Order = 0)]
372public CT_ThemeableLineStyle left
373{
374get
375{
376return this.leftField;
377}
378set
379{
380this.leftField = value;
381}
382}
383
384[XmlElement(Order = 1)]
385public CT_ThemeableLineStyle right
386{
387get
388{
389return this.rightField;
390}
391set
392{
393this.rightField = value;
394}
395}
396
397[XmlElement(Order = 2)]
398public CT_ThemeableLineStyle top
399{
400get
401{
402return this.topField;
403}
404set
405{
406this.topField = value;
407}
408}
409
410[XmlElement(Order = 3)]
411public CT_ThemeableLineStyle bottom
412{
413get
414{
415return this.bottomField;
416}
417set
418{
419this.bottomField = value;
420}
421}
422
423[XmlElement(Order = 4)]
424public CT_ThemeableLineStyle insideH
425{
426get
427{
428return this.insideHField;
429}
430set
431{
432this.insideHField = value;
433}
434}
435
436[XmlElement(Order = 5)]
437public CT_ThemeableLineStyle insideV
438{
439get
440{
441return this.insideVField;
442}
443set
444{
445this.insideVField = value;
446}
447}
448
449[XmlElement(Order = 6)]
450public CT_ThemeableLineStyle tl2br
451{
452get
453{
454return this.tl2brField;
455}
456set
457{
458this.tl2brField = value;
459}
460}
461
462[XmlElement(Order = 7)]
463public CT_ThemeableLineStyle tr2bl
464{
465get
466{
467return this.tr2blField;
468}
469set
470{
471this.tr2blField = value;
472}
473}
474
475[XmlElement(Order = 8)]
476public CT_OfficeArtExtensionList extLst
477{
478get
479{
480return this.extLstField;
481}
482set
483{
484this.extLstField = value;
485}
486}
487}
488
489
490[Serializable]
491[DebuggerStepThrough]
492[System.ComponentModel.DesignerCategoryAttribute("code")]
493[XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main")]
494[XmlRoot(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main", IsNullable = true)]
495public partial class CT_TableBackgroundStyle
496{
497
498private CT_FillProperties fillField;
499
500private CT_StyleMatrixReference fillRefField;
501
502private CT_EffectProperties effectField;
503
504private CT_StyleMatrixReference effectRefField;
505
506public CT_TableBackgroundStyle()
507{
508this.effectRefField = new CT_StyleMatrixReference();
509this.effectField = new CT_EffectProperties();
510this.fillRefField = new CT_StyleMatrixReference();
511this.fillField = new CT_FillProperties();
512}
513
514[XmlElement(Order = 0)]
515public CT_FillProperties fill
516{
517get
518{
519return this.fillField;
520}
521set
522{
523this.fillField = value;
524}
525}
526
527[XmlElement(Order = 1)]
528public CT_StyleMatrixReference fillRef
529{
530get
531{
532return this.fillRefField;
533}
534set
535{
536this.fillRefField = value;
537}
538}
539
540[XmlElement(Order = 2)]
541public CT_EffectProperties effect
542{
543get
544{
545return this.effectField;
546}
547set
548{
549this.effectField = value;
550}
551}
552
553[XmlElement(Order = 3)]
554public CT_StyleMatrixReference effectRef
555{
556get
557{
558return this.effectRefField;
559}
560set
561{
562this.effectRefField = value;
563}
564}
565}
566
567
568[Serializable]
569[DebuggerStepThrough]
570[System.ComponentModel.DesignerCategoryAttribute("code")]
571[XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main")]
572[XmlRoot(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main", IsNullable = true)]
573public partial class CT_TableStyleCellStyle
574{
575
576private CT_TableCellBorderStyle tcBdrField;
577
578private CT_FillProperties fillField;
579
580private CT_StyleMatrixReference fillRefField;
581
582private CT_Cell3D cell3DField;
583
584public CT_TableStyleCellStyle()
585{
586this.cell3DField = new CT_Cell3D();
587this.fillRefField = new CT_StyleMatrixReference();
588this.fillField = new CT_FillProperties();
589this.tcBdrField = new CT_TableCellBorderStyle();
590}
591
592[XmlElement(Order = 0)]
593public CT_TableCellBorderStyle tcBdr
594{
595get
596{
597return this.tcBdrField;
598}
599set
600{
601this.tcBdrField = value;
602}
603}
604
605[XmlElement(Order = 1)]
606public CT_FillProperties fill
607{
608get
609{
610return this.fillField;
611}
612set
613{
614this.fillField = value;
615}
616}
617
618[XmlElement(Order = 2)]
619public CT_StyleMatrixReference fillRef
620{
621get
622{
623return this.fillRefField;
624}
625set
626{
627this.fillRefField = value;
628}
629}
630
631[XmlElement(Order = 3)]
632public CT_Cell3D cell3D
633{
634get
635{
636return this.cell3DField;
637}
638set
639{
640this.cell3DField = value;
641}
642}
643}
644
645
646[Serializable]
647[DebuggerStepThrough]
648[System.ComponentModel.DesignerCategoryAttribute("code")]
649[XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main")]
650[XmlRoot(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main", IsNullable = true)]
651public partial class CT_TablePartStyle
652{
653
654private CT_TableStyleTextStyle tcTxStyleField;
655
656private CT_TableStyleCellStyle tcStyleField;
657
658public CT_TablePartStyle()
659{
660this.tcStyleField = new CT_TableStyleCellStyle();
661this.tcTxStyleField = new CT_TableStyleTextStyle();
662}
663
664[XmlElement(Order = 0)]
665public CT_TableStyleTextStyle tcTxStyle
666{
667get
668{
669return this.tcTxStyleField;
670}
671set
672{
673this.tcTxStyleField = value;
674}
675}
676
677[XmlElement(Order = 1)]
678public CT_TableStyleCellStyle tcStyle
679{
680get
681{
682return this.tcStyleField;
683}
684set
685{
686this.tcStyleField = value;
687}
688}
689}
690
691
692[Serializable]
693[DebuggerStepThrough]
694[System.ComponentModel.DesignerCategoryAttribute("code")]
695[XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main")]
696[XmlRoot(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main", IsNullable = true)]
697public partial class CT_TableStyle
698{
699
700private CT_TableBackgroundStyle tblBgField;
701
702private CT_TablePartStyle wholeTblField;
703
704private CT_TablePartStyle band1HField;
705
706private CT_TablePartStyle band2HField;
707
708private CT_TablePartStyle band1VField;
709
710private CT_TablePartStyle band2VField;
711
712private CT_TablePartStyle lastColField;
713
714private CT_TablePartStyle firstColField;
715
716private CT_TablePartStyle lastRowField;
717
718private CT_TablePartStyle seCellField;
719
720private CT_TablePartStyle swCellField;
721
722private CT_TablePartStyle firstRowField;
723
724private CT_TablePartStyle neCellField;
725
726private CT_TablePartStyle nwCellField;
727
728private CT_OfficeArtExtensionList extLstField;
729
730private string styleIdField;
731
732private string styleNameField;
733
734public CT_TableStyle()
735{
736this.extLstField = new CT_OfficeArtExtensionList();
737this.nwCellField = new CT_TablePartStyle();
738this.neCellField = new CT_TablePartStyle();
739this.firstRowField = new CT_TablePartStyle();
740this.swCellField = new CT_TablePartStyle();
741this.seCellField = new CT_TablePartStyle();
742this.lastRowField = new CT_TablePartStyle();
743this.firstColField = new CT_TablePartStyle();
744this.lastColField = new CT_TablePartStyle();
745this.band2VField = new CT_TablePartStyle();
746this.band1VField = new CT_TablePartStyle();
747this.band2HField = new CT_TablePartStyle();
748this.band1HField = new CT_TablePartStyle();
749this.wholeTblField = new CT_TablePartStyle();
750this.tblBgField = new CT_TableBackgroundStyle();
751}
752
753[XmlElement(Order = 0)]
754public CT_TableBackgroundStyle tblBg
755{
756get
757{
758return this.tblBgField;
759}
760set
761{
762this.tblBgField = value;
763}
764}
765
766[XmlElement(Order = 1)]
767public CT_TablePartStyle wholeTbl
768{
769get
770{
771return this.wholeTblField;
772}
773set
774{
775this.wholeTblField = value;
776}
777}
778
779[XmlElement(Order = 2)]
780public CT_TablePartStyle band1H
781{
782get
783{
784return this.band1HField;
785}
786set
787{
788this.band1HField = value;
789}
790}
791
792[XmlElement(Order = 3)]
793public CT_TablePartStyle band2H
794{
795get
796{
797return this.band2HField;
798}
799set
800{
801this.band2HField = value;
802}
803}
804
805[XmlElement(Order = 4)]
806public CT_TablePartStyle band1V
807{
808get
809{
810return this.band1VField;
811}
812set
813{
814this.band1VField = value;
815}
816}
817
818[XmlElement(Order = 5)]
819public CT_TablePartStyle band2V
820{
821get
822{
823return this.band2VField;
824}
825set
826{
827this.band2VField = value;
828}
829}
830
831[XmlElement(Order = 6)]
832public CT_TablePartStyle lastCol
833{
834get
835{
836return this.lastColField;
837}
838set
839{
840this.lastColField = value;
841}
842}
843
844[XmlElement(Order = 7)]
845public CT_TablePartStyle firstCol
846{
847get
848{
849return this.firstColField;
850}
851set
852{
853this.firstColField = value;
854}
855}
856
857[XmlElement(Order = 8)]
858public CT_TablePartStyle lastRow
859{
860get
861{
862return this.lastRowField;
863}
864set
865{
866this.lastRowField = value;
867}
868}
869
870[XmlElement(Order = 9)]
871public CT_TablePartStyle seCell
872{
873get
874{
875return this.seCellField;
876}
877set
878{
879this.seCellField = value;
880}
881}
882
883[XmlElement(Order = 10)]
884public CT_TablePartStyle swCell
885{
886get
887{
888return this.swCellField;
889}
890set
891{
892this.swCellField = value;
893}
894}
895
896[XmlElement(Order = 11)]
897public CT_TablePartStyle firstRow
898{
899get
900{
901return this.firstRowField;
902}
903set
904{
905this.firstRowField = value;
906}
907}
908
909[XmlElement(Order = 12)]
910public CT_TablePartStyle neCell
911{
912get
913{
914return this.neCellField;
915}
916set
917{
918this.neCellField = value;
919}
920}
921
922[XmlElement(Order = 13)]
923public CT_TablePartStyle nwCell
924{
925get
926{
927return this.nwCellField;
928}
929set
930{
931this.nwCellField = value;
932}
933}
934
935[XmlElement(Order = 14)]
936public CT_OfficeArtExtensionList extLst
937{
938get
939{
940return this.extLstField;
941}
942set
943{
944this.extLstField = value;
945}
946}
947
948[System.Xml.Serialization.XmlAttributeAttribute(DataType = "token")]
949public string styleId
950{
951get
952{
953return this.styleIdField;
954}
955set
956{
957this.styleIdField = value;
958}
959}
960
961[XmlAttribute]
962public string styleName
963{
964get
965{
966return this.styleNameField;
967}
968set
969{
970this.styleNameField = value;
971}
972}
973}
974
975
976[Serializable]
977[DebuggerStepThrough]
978[System.ComponentModel.DesignerCategoryAttribute("code")]
979[XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main")]
980[XmlRoot("tblStyleLst", Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main", IsNullable = false)]
981public partial class CT_TableStyleList
982{
983
984private List<CT_TableStyle> tblStyleField;
985
986private string defField;
987
988public CT_TableStyleList()
989{
990this.tblStyleField = new List<CT_TableStyle>();
991}
992
993[XmlElement("tblStyle", Order = 0)]
994public List<CT_TableStyle> tblStyle
995{
996get
997{
998return this.tblStyleField;
999}
1000set
1001{
1002this.tblStyleField = value;
1003}
1004}
1005
1006[System.Xml.Serialization.XmlAttributeAttribute(DataType = "token")]
1007public string def
1008{
1009get
1010{
1011return this.defField;
1012}
1013set
1014{
1015this.defField = value;
1016}
1017}
1018}
1019}
1020