npoi

Форк
0
/
DiagramDataModel.cs 
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
// ------------------------------------------------------------------------------
7
namespace NPOI.OpenXmlFormats.Dml.Diagram
8
{
9
    using System;
10
    using System.Diagnostics;
11
    using System.Xml.Serialization;
12
    using System.Collections;
13
    using System.Xml.Schema;
14
    using System.ComponentModel;
15
    using 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)]
24
    public partial class CT_DataModel
25
    {
26

27
        private List<CT_Pt> ptLstField;
28

29
        private List<CT_Cxn> cxnLstField;
30

31
        private CT_BackgroundFormatting bgField;
32

33
        private CT_WholeE2oFormatting wholeField;
34

35
        private CT_OfficeArtExtensionList extLstField;
36

37
        public CT_DataModel()
38
        {
39
            this.extLstField = new CT_OfficeArtExtensionList();
40
            this.wholeField = new CT_WholeE2oFormatting();
41
            this.bgField = new CT_BackgroundFormatting();
42
            this.cxnLstField = new List<CT_Cxn>();
43
            this.ptLstField = new List<CT_Pt>();
44
        }
45

46
        [XmlArray(Order = 0)]
47
        [XmlArrayItem("pt", IsNullable = false)]
48
        public List<CT_Pt> ptLst
49
        {
50
            get
51
            {
52
                return this.ptLstField;
53
            }
54
            set
55
            {
56
                this.ptLstField = value;
57
            }
58
        }
59

60
        [XmlArray(Order = 1)]
61
        [XmlArrayItem("cxn", IsNullable = false)]
62
        public List<CT_Cxn> cxnLst
63
        {
64
            get
65
            {
66
                return this.cxnLstField;
67
            }
68
            set
69
            {
70
                this.cxnLstField = value;
71
            }
72
        }
73

74
        [XmlElement(Order = 2)]
75
        public CT_BackgroundFormatting bg
76
        {
77
            get
78
            {
79
                return this.bgField;
80
            }
81
            set
82
            {
83
                this.bgField = value;
84
            }
85
        }
86

87
        [XmlElement(Order = 3)]
88
        public CT_WholeE2oFormatting whole
89
        {
90
            get
91
            {
92
                return this.wholeField;
93
            }
94
            set
95
            {
96
                this.wholeField = value;
97
            }
98
        }
99

100
        [XmlElement(Order = 4)]
101
        public CT_OfficeArtExtensionList extLst
102
        {
103
            get
104
            {
105
                return this.extLstField;
106
            }
107
            set
108
            {
109
                this.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)]
120
    public partial class CT_Pt
121
    {
122

123
        private CT_ElemPropSet prSetField;
124

125
        private CT_ShapeProperties spPrField;
126

127
        private CT_TextBody tField;
128

129
        private CT_OfficeArtExtensionList extLstField;
130

131
        private string modelIdField;
132

133
        private ST_PtType typeField;
134

135
        private string cxnIdField;
136

137
        public CT_Pt()
138
        {
139
            this.extLstField = new CT_OfficeArtExtensionList();
140
            this.tField = new CT_TextBody();
141
            this.spPrField = new CT_ShapeProperties();
142
            this.prSetField = new CT_ElemPropSet();
143
            this.typeField = ST_PtType.node;
144
            this.cxnIdField = "0";
145
        }
146

147
        [XmlElement(Order = 0)]
148
        public CT_ElemPropSet prSet
149
        {
150
            get
151
            {
152
                return this.prSetField;
153
            }
154
            set
155
            {
156
                this.prSetField = value;
157
            }
158
        }
159

160
        [XmlElement(Order = 1)]
161
        public CT_ShapeProperties spPr
162
        {
163
            get
164
            {
165
                return this.spPrField;
166
            }
167
            set
168
            {
169
                this.spPrField = value;
170
            }
171
        }
172

173
        [XmlElement(Order = 2)]
174
        public CT_TextBody t
175
        {
176
            get
177
            {
178
                return this.tField;
179
            }
180
            set
181
            {
182
                this.tField = value;
183
            }
184
        }
185

186
        [XmlElement(Order = 3)]
187
        public CT_OfficeArtExtensionList extLst
188
        {
189
            get
190
            {
191
                return this.extLstField;
192
            }
193
            set
194
            {
195
                this.extLstField = value;
196
            }
197
        }
198

199
        [XmlAttribute]
200
        public string modelId
201
        {
202
            get
203
            {
204
                return this.modelIdField;
205
            }
206
            set
207
            {
208
                this.modelIdField = value;
209
            }
210
        }
211

212
        [XmlAttribute]
213
        [DefaultValue(ST_PtType.node)]
214
        public ST_PtType type
215
        {
216
            get
217
            {
218
                return this.typeField;
219
            }
220
            set
221
            {
222
                this.typeField = value;
223
            }
224
        }
225

226
        [XmlAttribute]
227
        [DefaultValue("0")]
228
        public string cxnId
229
        {
230
            get
231
            {
232
                return this.cxnIdField;
233
            }
234
            set
235
            {
236
                this.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)]
247
    public partial class CT_Cxn
248
    {
249

250
        private CT_OfficeArtExtensionList extLstField;
251

252
        private string modelIdField;
253

254
        private ST_CxnType typeField;
255

256
        private string srcIdField;
257

258
        private string destIdField;
259

260
        private uint srcOrdField;
261

262
        private uint destOrdField;
263

264
        private string parTransIdField;
265

266
        private string sibTransIdField;
267

268
        private string presIdField;
269

270
        public CT_Cxn()
271
        {
272
            this.typeField = ST_CxnType.parOf;
273
            this.parTransIdField = "0";
274
            this.sibTransIdField = "0";
275
            this.presIdField = "";
276
        }
277

278
        [XmlElement(Order = 0)]
279
        public CT_OfficeArtExtensionList extLst
280
        {
281
            get
282
            {
283
                return this.extLstField;
284
            }
285
            set
286
            {
287
                this.extLstField = value;
288
            }
289
        }
290

291
        [XmlAttribute]
292
        public string modelId
293
        {
294
            get
295
            {
296
                return this.modelIdField;
297
            }
298
            set
299
            {
300
                this.modelIdField = value;
301
            }
302
        }
303

304
        [XmlAttribute]
305
        [DefaultValue(ST_CxnType.parOf)]
306
        public ST_CxnType type
307
        {
308
            get
309
            {
310
                return this.typeField;
311
            }
312
            set
313
            {
314
                this.typeField = value;
315
            }
316
        }
317

318
        [XmlAttribute]
319
        public string srcId
320
        {
321
            get
322
            {
323
                return this.srcIdField;
324
            }
325
            set
326
            {
327
                this.srcIdField = value;
328
            }
329
        }
330

331
        [XmlAttribute]
332
        public string destId
333
        {
334
            get
335
            {
336
                return this.destIdField;
337
            }
338
            set
339
            {
340
                this.destIdField = value;
341
            }
342
        }
343

344
        [XmlAttribute]
345
        public uint srcOrd
346
        {
347
            get
348
            {
349
                return this.srcOrdField;
350
            }
351
            set
352
            {
353
                this.srcOrdField = value;
354
            }
355
        }
356

357
        [XmlAttribute]
358
        public uint destOrd
359
        {
360
            get
361
            {
362
                return this.destOrdField;
363
            }
364
            set
365
            {
366
                this.destOrdField = value;
367
            }
368
        }
369

370
        [XmlAttribute]
371
        [DefaultValue("0")]
372
        public string parTransId
373
        {
374
            get
375
            {
376
                return this.parTransIdField;
377
            }
378
            set
379
            {
380
                this.parTransIdField = value;
381
            }
382
        }
383

384
        [XmlAttribute]
385
        [DefaultValue("0")]
386
        public string sibTransId
387
        {
388
            get
389
            {
390
                return this.sibTransIdField;
391
            }
392
            set
393
            {
394
                this.sibTransIdField = value;
395
            }
396
        }
397

398
        [XmlAttribute]
399
        [DefaultValue("")]
400
        public string presId
401
        {
402
            get
403
            {
404
                return this.presIdField;
405
            }
406
            set
407
            {
408
                this.presIdField = value;
409
            }
410
        }
411
    }
412

413

414
    [Serializable]
415
    [XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/diagram")]
416
    public enum ST_CxnType
417
    {
418

419
        /// <remarks/>
420
        parOf,
421

422
        /// <remarks/>
423
        presOf,
424

425
        /// <remarks/>
426
        presParOf,
427

428
        /// <remarks/>
429
        unknownRelationship,
430
    }
431

432
    
433

434

435
    [Serializable]
436
    [XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/diagram")]
437
    public enum ST_PtType
438
    {
439

440
        /// <remarks/>
441
        node,
442

443
        /// <remarks/>
444
        asst,
445

446
        /// <remarks/>
447
        doc,
448

449
        /// <remarks/>
450
        pres,
451

452
        /// <remarks/>
453
        parTrans,
454

455
        /// <remarks/>
456
        sibTrans,
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)]
465
    public partial class CT_PtList
466
    {
467

468
        private List<CT_Pt> ptField;
469

470
        public CT_PtList()
471
        {
472
            this.ptField = new List<CT_Pt>();
473
        }
474

475
        [XmlElement("pt", Order = 0)]
476
        public List<CT_Pt> pt
477
        {
478
            get
479
            {
480
                return this.ptField;
481
            }
482
            set
483
            {
484
                this.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)]
495
    public partial class CT_CxnList
496
    {
497

498
        private List<CT_Cxn> cxnField;
499

500
        public CT_CxnList()
501
        {
502
            this.cxnField = new List<CT_Cxn>();
503
        }
504

505
        [XmlElement("cxn", Order = 0)]
506
        public List<CT_Cxn> cxn
507
        {
508
            get
509
            {
510
                return this.cxnField;
511
            }
512
            set
513
            {
514
                this.cxnField = value;
515
            }
516
        }
517
    }
518
}
519

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

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

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

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