npoi
1013 строк · 24.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.Dml8{
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("tbl", Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main", IsNullable = false)]23public class CT_Table24{25
26private CT_TableProperties tblPrField;27
28private List<CT_TableCol> tblGridField;29
30private List<CT_TableRow> trField;31
32public CT_Table()33{34this.trField = new List<CT_TableRow>();35this.tblGridField = new List<CT_TableCol>();36this.tblPrField = new CT_TableProperties();37}38
39[XmlElement(Order = 0)]40public CT_TableProperties tblPr41{42get43{44return this.tblPrField;45}46set47{48this.tblPrField = value;49}50}51
52[XmlArray(Order = 1)]53[XmlArrayItem("gridCol", IsNullable = false)]54public List<CT_TableCol> tblGrid55{56get57{58return this.tblGridField;59}60set61{62this.tblGridField = value;63}64}65
66[XmlElement("tr", Order = 2)]67public List<CT_TableRow> tr68{69get70{71return this.trField;72}73set74{75this.trField = value;76}77}78}79
80
81[Serializable]82[DebuggerStepThrough]83[System.ComponentModel.DesignerCategoryAttribute("code")]84[XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main")]85[XmlRoot(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main", IsNullable = true)]86public class CT_TableProperties87{88
89private CT_NoFillProperties noFillField;90
91private CT_SolidColorFillProperties solidFillField;92
93private CT_GradientFillProperties gradFillField;94
95private CT_BlipFillProperties blipFillField;96
97private CT_PatternFillProperties pattFillField;98
99private CT_GroupFillProperties grpFillField;100
101private CT_EffectList effectLstField;102
103private CT_EffectContainer effectDagField;104
105private object itemField;106
107private CT_OfficeArtExtensionList extLstField;108
109private bool rtlField;110
111private bool firstRowField;112
113private bool firstColField;114
115private bool lastRowField;116
117private bool lastColField;118
119private bool bandRowField;120
121private bool bandColField;122
123public CT_TableProperties()124{125//this.extLstField = new CT_OfficeArtExtensionList();126//this.effectDagField = new CT_EffectContainer();127//this.effectLstField = new CT_EffectList();128//this.grpFillField = new CT_GroupFillProperties();129//this.pattFillField = new CT_PatternFillProperties();130//this.blipFillField = new CT_BlipFillProperties();131//this.gradFillField = new CT_GradientFillProperties();132//this.solidFillField = new CT_SolidColorFillProperties();133//this.noFillField = new CT_NoFillProperties();134//this.rtlField = false;135//this.firstRowField = false;136//this.firstColField = false;137//this.lastRowField = false;138//this.lastColField = false;139//this.bandRowField = false;140//this.bandColField = false;141}142
143[XmlElement(Order = 0)]144public CT_NoFillProperties noFill145{146get147{148return this.noFillField;149}150set151{152this.noFillField = value;153}154}155
156[XmlElement(Order = 1)]157public CT_SolidColorFillProperties solidFill158{159get160{161return this.solidFillField;162}163set164{165this.solidFillField = value;166}167}168
169[XmlElement(Order = 2)]170public CT_GradientFillProperties gradFill171{172get173{174return this.gradFillField;175}176set177{178this.gradFillField = value;179}180}181
182[XmlElement(Order = 3)]183public CT_BlipFillProperties blipFill184{185get186{187return this.blipFillField;188}189set190{191this.blipFillField = value;192}193}194
195[XmlElement(Order = 4)]196public CT_PatternFillProperties pattFill197{198get199{200return this.pattFillField;201}202set203{204this.pattFillField = value;205}206}207
208[XmlElement(Order = 5)]209public CT_GroupFillProperties grpFill210{211get212{213return this.grpFillField;214}215set216{217this.grpFillField = value;218}219}220
221[XmlElement(Order = 6)]222public CT_EffectList effectLst223{224get225{226return this.effectLstField;227}228set229{230this.effectLstField = value;231}232}233
234[XmlElement(Order = 7)]235public CT_EffectContainer effectDag236{237get238{239return this.effectDagField;240}241set242{243this.effectDagField = value;244}245}246
247[XmlElement("tableStyle", typeof(CT_TableStyle), Order = 8)]248[XmlElement("tableStyleId", typeof(string), DataType = "token", Order = 8)]249public object Item250{251get252{253return this.itemField;254}255set256{257this.itemField = value;258}259}260
261[XmlElement(Order = 9)]262public CT_OfficeArtExtensionList extLst263{264get265{266return this.extLstField;267}268set269{270this.extLstField = value;271}272}273
274[XmlAttribute]275[DefaultValue(false)]276public bool rtl277{278get279{280return this.rtlField;281}282set283{284this.rtlField = value;285}286}287
288[XmlAttribute]289[DefaultValue(false)]290public bool firstRow291{292get293{294return this.firstRowField;295}296set297{298this.firstRowField = value;299}300}301
302[XmlAttribute]303[DefaultValue(false)]304public bool firstCol305{306get307{308return this.firstColField;309}310set311{312this.firstColField = value;313}314}315
316[XmlAttribute]317[DefaultValue(false)]318public bool lastRow319{320get321{322return this.lastRowField;323}324set325{326this.lastRowField = value;327}328}329
330[XmlAttribute]331[DefaultValue(false)]332public bool lastCol333{334get335{336return this.lastColField;337}338set339{340this.lastColField = value;341}342}343
344[XmlAttribute]345[DefaultValue(false)]346public bool bandRow347{348get349{350return this.bandRowField;351}352set353{354this.bandRowField = value;355}356}357
358[XmlAttribute]359[DefaultValue(false)]360public bool bandCol361{362get363{364return this.bandColField;365}366set367{368this.bandColField = value;369}370}371}372
373
374[Serializable]375[DebuggerStepThrough]376[System.ComponentModel.DesignerCategoryAttribute("code")]377[XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main")]378[XmlRoot(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main", IsNullable = true)]379public class CT_TableCol380{381
382private CT_OfficeArtExtensionList extLstField;383
384private long wField;385
386public CT_TableCol()387{388this.extLstField = new CT_OfficeArtExtensionList();389}390
391[XmlElement(Order = 0)]392public CT_OfficeArtExtensionList extLst393{394get395{396return this.extLstField;397}398set399{400this.extLstField = value;401}402}403
404[XmlAttribute]405public long w406{407get408{409return this.wField;410}411set412{413this.wField = value;414}415}416}417
418
419[Serializable]420[DebuggerStepThrough]421[System.ComponentModel.DesignerCategoryAttribute("code")]422[XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main")]423[XmlRoot(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main", IsNullable = true)]424public class CT_TableRow425{426
427private List<CT_TableCell> tcField;428
429private CT_OfficeArtExtensionList extLstField;430
431private long hField;432
433public CT_TableRow()434{435this.extLstField = new CT_OfficeArtExtensionList();436this.tcField = new List<CT_TableCell>();437}438
439[XmlElement("tc", Order = 0)]440public List<CT_TableCell> tc441{442get443{444return this.tcField;445}446set447{448this.tcField = value;449}450}451
452[XmlElement(Order = 1)]453public CT_OfficeArtExtensionList extLst454{455get456{457return this.extLstField;458}459set460{461this.extLstField = value;462}463}464
465[XmlAttribute]466public long h467{468get469{470return this.hField;471}472set473{474this.hField = value;475}476}477}478
479
480[Serializable]481[DebuggerStepThrough]482[System.ComponentModel.DesignerCategoryAttribute("code")]483[XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main")]484[XmlRoot(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main", IsNullable = true)]485public class CT_TableCell486{487
488private CT_TextBody txBodyField;489
490private CT_TableCellProperties tcPrField;491
492private CT_OfficeArtExtensionList extLstField;493
494private int rowSpanField;495
496private int gridSpanField;497
498private bool hMergeField;499
500private bool vMergeField;501
502public CT_TableCell()503{504//this.extLstField = new CT_OfficeArtExtensionList();505//this.tcPrField = new CT_TableCellProperties();506//this.txBodyField = new CT_TextBody();507this.rowSpanField = 1;508this.gridSpanField = 1;509this.hMergeField = false;510this.vMergeField = false;511}512
513[XmlElement(Order = 0)]514public CT_TextBody txBody515{516get517{518return this.txBodyField;519}520set521{522this.txBodyField = value;523}524}525
526[XmlElement(Order = 1)]527public CT_TableCellProperties tcPr528{529get530{531return this.tcPrField;532}533set534{535this.tcPrField = value;536}537}538
539[XmlElement(Order = 2)]540public CT_OfficeArtExtensionList extLst541{542get543{544return this.extLstField;545}546set547{548this.extLstField = value;549}550}551
552[XmlAttribute]553[DefaultValue(1)]554public int rowSpan555{556get557{558return this.rowSpanField;559}560set561{562this.rowSpanField = value;563}564}565
566[XmlAttribute]567[DefaultValue(1)]568public int gridSpan569{570get571{572return this.gridSpanField;573}574set575{576this.gridSpanField = value;577}578}579
580[XmlAttribute]581[DefaultValue(false)]582public bool hMerge583{584get585{586return this.hMergeField;587}588set589{590this.hMergeField = value;591}592}593
594[XmlAttribute]595[DefaultValue(false)]596public bool vMerge597{598get599{600return this.vMergeField;601}602set603{604this.vMergeField = value;605}606}607}608
609
610
611[Serializable]612[DebuggerStepThrough]613[System.ComponentModel.DesignerCategoryAttribute("code")]614[XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main")]615[XmlRoot(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main", IsNullable = true)]616public class CT_TableCellProperties617{618
619private CT_LineProperties lnLField;620
621private CT_LineProperties lnRField;622
623private CT_LineProperties lnTField;624
625private CT_LineProperties lnBField;626
627private CT_LineProperties lnTlToBrField;628
629private CT_LineProperties lnBlToTrField;630
631private CT_Cell3D cell3DField;632
633private CT_NoFillProperties noFillField;634
635private CT_SolidColorFillProperties solidFillField;636
637private CT_GradientFillProperties gradFillField;638
639private CT_BlipFillProperties blipFillField;640
641private CT_PatternFillProperties pattFillField;642
643private CT_GroupFillProperties grpFillField;644
645private CT_OfficeArtExtensionList extLstField;646
647private int marLField;648
649private int marRField;650
651private int marTField;652
653private int marBField;654
655private ST_TextVerticalType vertField;656
657private ST_TextAnchoringType anchorField;658
659private bool anchorCtrField;660
661private ST_TextHorzOverflowType horzOverflowField;662
663public CT_TableCellProperties()664{665//this.extLstField = new CT_OfficeArtExtensionList();666//this.grpFillField = new CT_GroupFillProperties();667//this.pattFillField = new CT_PatternFillProperties();668//this.blipFillField = new CT_BlipFillProperties();669//this.gradFillField = new CT_GradientFillProperties();670//this.solidFillField = new CT_SolidColorFillProperties();671//this.noFillField = new CT_NoFillProperties();672//this.cell3DField = new CT_Cell3D();673//this.lnBlToTrField = new CT_LineProperties();674//this.lnTlToBrField = new CT_LineProperties();675//this.lnBField = new CT_LineProperties();676//this.lnTField = new CT_LineProperties();677//this.lnRField = new CT_LineProperties();678//this.lnLField = new CT_LineProperties();679this.marLField = 91440;680this.marRField = 91440;681this.marTField = 45720;682this.marBField = 45720;683this.vertField = ST_TextVerticalType.horz;684this.anchorField = ST_TextAnchoringType.t;685this.anchorCtrField = false;686this.horzOverflowField = ST_TextHorzOverflowType.clip;687}688
689[XmlElement(Order = 0)]690public CT_LineProperties lnL691{692get693{694return this.lnLField;695}696set697{698this.lnLField = value;699}700}701
702[XmlElement(Order = 1)]703public CT_LineProperties lnR704{705get706{707return this.lnRField;708}709set710{711this.lnRField = value;712}713}714
715[XmlElement(Order = 2)]716public CT_LineProperties lnT717{718get719{720return this.lnTField;721}722set723{724this.lnTField = value;725}726}727
728[XmlElement(Order = 3)]729public CT_LineProperties lnB730{731get732{733return this.lnBField;734}735set736{737this.lnBField = value;738}739}740
741[XmlElement(Order = 4)]742public CT_LineProperties lnTlToBr743{744get745{746return this.lnTlToBrField;747}748set749{750this.lnTlToBrField = value;751}752}753
754[XmlElement(Order = 5)]755public CT_LineProperties lnBlToTr756{757get758{759return this.lnBlToTrField;760}761set762{763this.lnBlToTrField = value;764}765}766
767[XmlElement(Order = 6)]768public CT_Cell3D cell3D769{770get771{772return this.cell3DField;773}774set775{776this.cell3DField = value;777}778}779
780[XmlElement(Order = 7)]781public CT_NoFillProperties noFill782{783get784{785return this.noFillField;786}787set788{789this.noFillField = value;790}791}792
793[XmlElement(Order = 8)]794public CT_SolidColorFillProperties solidFill795{796get797{798return this.solidFillField;799}800set801{802this.solidFillField = value;803}804}805
806[XmlElement(Order = 9)]807public CT_GradientFillProperties gradFill808{809get810{811return this.gradFillField;812}813set814{815this.gradFillField = value;816}817}818
819[XmlElement(Order = 10)]820public CT_BlipFillProperties blipFill821{822get823{824return this.blipFillField;825}826set827{828this.blipFillField = value;829}830}831
832[XmlElement(Order = 11)]833public CT_PatternFillProperties pattFill834{835get836{837return this.pattFillField;838}839set840{841this.pattFillField = value;842}843}844
845[XmlElement(Order = 12)]846public CT_GroupFillProperties grpFill847{848get849{850return this.grpFillField;851}852set853{854this.grpFillField = value;855}856}857
858[XmlElement(Order = 13)]859public CT_OfficeArtExtensionList extLst860{861get862{863return this.extLstField;864}865set866{867this.extLstField = value;868}869}870
871[XmlAttribute]872[DefaultValue(91440)]873public int marL874{875get876{877return this.marLField;878}879set880{881this.marLField = value;882}883}884
885[XmlAttribute]886[DefaultValue(91440)]887public int marR888{889get890{891return this.marRField;892}893set894{895this.marRField = value;896}897}898
899[XmlAttribute]900[DefaultValue(45720)]901public int marT902{903get904{905return this.marTField;906}907set908{909this.marTField = value;910}911}912
913[XmlAttribute]914[DefaultValue(45720)]915public int marB916{917get918{919return this.marBField;920}921set922{923this.marBField = value;924}925}926
927[XmlAttribute]928[DefaultValue(ST_TextVerticalType.horz)]929public ST_TextVerticalType vert930{931get932{933return this.vertField;934}935set936{937this.vertField = value;938}939}940
941[XmlAttribute]942[DefaultValue(ST_TextAnchoringType.t)]943public ST_TextAnchoringType anchor944{945get946{947return this.anchorField;948}949set950{951this.anchorField = value;952}953}954
955[XmlAttribute]956[DefaultValue(false)]957public bool anchorCtr958{959get960{961return this.anchorCtrField;962}963set964{965this.anchorCtrField = value;966}967}968
969[XmlAttribute]970[DefaultValue(ST_TextHorzOverflowType.clip)]971public ST_TextHorzOverflowType horzOverflow972{973get974{975return this.horzOverflowField;976}977set978{979this.horzOverflowField = value;980}981}982}983
984
985[Serializable]986[DebuggerStepThrough]987[System.ComponentModel.DesignerCategoryAttribute("code")]988[XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main")]989[XmlRoot(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main", IsNullable = true)]990public class CT_TableGrid991{992
993private List<CT_TableCol> gridColField;994
995public CT_TableGrid()996{997this.gridColField = new List<CT_TableCol>();998}999
1000[XmlElement("gridCol", Order = 0)]1001public List<CT_TableCol> gridCol1002{1003get1004{1005return this.gridColField;1006}1007set1008{1009this.gridColField = value;1010}1011}1012}1013}
1014