npoi
518 строк · 12.4 Кб
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.Diagram8{
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
19[Serializable]20[DebuggerStepThrough]21[System.ComponentModel.DesignerCategoryAttribute("code")]22[XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/diagram")]23[XmlRoot("dataModel", Namespace = "http://schemas.openxmlformats.org/drawingml/2006/diagram", IsNullable = false)]24public partial class CT_DataModel25{26
27private List<CT_Pt> ptLstField;28
29private List<CT_Cxn> cxnLstField;30
31private CT_BackgroundFormatting bgField;32
33private CT_WholeE2oFormatting wholeField;34
35private CT_OfficeArtExtensionList extLstField;36
37public CT_DataModel()38{39this.extLstField = new CT_OfficeArtExtensionList();40this.wholeField = new CT_WholeE2oFormatting();41this.bgField = new CT_BackgroundFormatting();42this.cxnLstField = new List<CT_Cxn>();43this.ptLstField = new List<CT_Pt>();44}45
46[XmlArray(Order = 0)]47[XmlArrayItem("pt", IsNullable = false)]48public List<CT_Pt> ptLst49{50get51{52return this.ptLstField;53}54set55{56this.ptLstField = value;57}58}59
60[XmlArray(Order = 1)]61[XmlArrayItem("cxn", IsNullable = false)]62public List<CT_Cxn> cxnLst63{64get65{66return this.cxnLstField;67}68set69{70this.cxnLstField = value;71}72}73
74[XmlElement(Order = 2)]75public CT_BackgroundFormatting bg76{77get78{79return this.bgField;80}81set82{83this.bgField = value;84}85}86
87[XmlElement(Order = 3)]88public CT_WholeE2oFormatting whole89{90get91{92return this.wholeField;93}94set95{96this.wholeField = value;97}98}99
100[XmlElement(Order = 4)]101public CT_OfficeArtExtensionList extLst102{103get104{105return this.extLstField;106}107set108{109this.extLstField = value;110}111}112}113
114
115[Serializable]116[DebuggerStepThrough]117[System.ComponentModel.DesignerCategoryAttribute("code")]118[XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/diagram")]119[XmlRoot(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/diagram", IsNullable = true)]120public partial class CT_Pt121{122
123private CT_ElemPropSet prSetField;124
125private CT_ShapeProperties spPrField;126
127private CT_TextBody tField;128
129private CT_OfficeArtExtensionList extLstField;130
131private string modelIdField;132
133private ST_PtType typeField;134
135private string cxnIdField;136
137public CT_Pt()138{139this.extLstField = new CT_OfficeArtExtensionList();140this.tField = new CT_TextBody();141this.spPrField = new CT_ShapeProperties();142this.prSetField = new CT_ElemPropSet();143this.typeField = ST_PtType.node;144this.cxnIdField = "0";145}146
147[XmlElement(Order = 0)]148public CT_ElemPropSet prSet149{150get151{152return this.prSetField;153}154set155{156this.prSetField = value;157}158}159
160[XmlElement(Order = 1)]161public CT_ShapeProperties spPr162{163get164{165return this.spPrField;166}167set168{169this.spPrField = value;170}171}172
173[XmlElement(Order = 2)]174public CT_TextBody t175{176get177{178return this.tField;179}180set181{182this.tField = value;183}184}185
186[XmlElement(Order = 3)]187public CT_OfficeArtExtensionList extLst188{189get190{191return this.extLstField;192}193set194{195this.extLstField = value;196}197}198
199[XmlAttribute]200public string modelId201{202get203{204return this.modelIdField;205}206set207{208this.modelIdField = value;209}210}211
212[XmlAttribute]213[DefaultValue(ST_PtType.node)]214public ST_PtType type215{216get217{218return this.typeField;219}220set221{222this.typeField = value;223}224}225
226[XmlAttribute]227[DefaultValue("0")]228public string cxnId229{230get231{232return this.cxnIdField;233}234set235{236this.cxnIdField = value;237}238}239}240
241
242[Serializable]243[DebuggerStepThrough]244[System.ComponentModel.DesignerCategoryAttribute("code")]245[XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/diagram")]246[XmlRoot(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/diagram", IsNullable = true)]247public partial class CT_Cxn248{249
250private CT_OfficeArtExtensionList extLstField;251
252private string modelIdField;253
254private ST_CxnType typeField;255
256private string srcIdField;257
258private string destIdField;259
260private uint srcOrdField;261
262private uint destOrdField;263
264private string parTransIdField;265
266private string sibTransIdField;267
268private string presIdField;269
270public CT_Cxn()271{272this.typeField = ST_CxnType.parOf;273this.parTransIdField = "0";274this.sibTransIdField = "0";275this.presIdField = "";276}277
278[XmlElement(Order = 0)]279public CT_OfficeArtExtensionList extLst280{281get282{283return this.extLstField;284}285set286{287this.extLstField = value;288}289}290
291[XmlAttribute]292public string modelId293{294get295{296return this.modelIdField;297}298set299{300this.modelIdField = value;301}302}303
304[XmlAttribute]305[DefaultValue(ST_CxnType.parOf)]306public ST_CxnType type307{308get309{310return this.typeField;311}312set313{314this.typeField = value;315}316}317
318[XmlAttribute]319public string srcId320{321get322{323return this.srcIdField;324}325set326{327this.srcIdField = value;328}329}330
331[XmlAttribute]332public string destId333{334get335{336return this.destIdField;337}338set339{340this.destIdField = value;341}342}343
344[XmlAttribute]345public uint srcOrd346{347get348{349return this.srcOrdField;350}351set352{353this.srcOrdField = value;354}355}356
357[XmlAttribute]358public uint destOrd359{360get361{362return this.destOrdField;363}364set365{366this.destOrdField = value;367}368}369
370[XmlAttribute]371[DefaultValue("0")]372public string parTransId373{374get375{376return this.parTransIdField;377}378set379{380this.parTransIdField = value;381}382}383
384[XmlAttribute]385[DefaultValue("0")]386public string sibTransId387{388get389{390return this.sibTransIdField;391}392set393{394this.sibTransIdField = value;395}396}397
398[XmlAttribute]399[DefaultValue("")]400public string presId401{402get403{404return this.presIdField;405}406set407{408this.presIdField = value;409}410}411}412
413
414[Serializable]415[XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/diagram")]416public enum ST_CxnType417{418
419/// <remarks/>420parOf,421
422/// <remarks/>423presOf,424
425/// <remarks/>426presParOf,427
428/// <remarks/>429unknownRelationship,430}431
432
433
434
435[Serializable]436[XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/diagram")]437public enum ST_PtType438{439
440/// <remarks/>441node,442
443/// <remarks/>444asst,445
446/// <remarks/>447doc,448
449/// <remarks/>450pres,451
452/// <remarks/>453parTrans,454
455/// <remarks/>456sibTrans,457}458
459
460[Serializable]461[DebuggerStepThrough]462[System.ComponentModel.DesignerCategoryAttribute("code")]463[XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/diagram")]464[XmlRoot(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/diagram", IsNullable = true)]465public partial class CT_PtList466{467
468private List<CT_Pt> ptField;469
470public CT_PtList()471{472this.ptField = new List<CT_Pt>();473}474
475[XmlElement("pt", Order = 0)]476public List<CT_Pt> pt477{478get479{480return this.ptField;481}482set483{484this.ptField = value;485}486}487}488
489
490[Serializable]491[DebuggerStepThrough]492[System.ComponentModel.DesignerCategoryAttribute("code")]493[XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/diagram")]494[XmlRoot(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/diagram", IsNullable = true)]495public partial class CT_CxnList496{497
498private List<CT_Cxn> cxnField;499
500public CT_CxnList()501{502this.cxnField = new List<CT_Cxn>();503}504
505[XmlElement("cxn", Order = 0)]506public List<CT_Cxn> cxn507{508get509{510return this.cxnField;511}512set513{514this.cxnField = value;515}516}517}518}
519