npoi

Форк
0
/
TextBullet.cs 
490 строк · 13.6 Кб
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
// ------------------------------------------------------------------------------
7
namespace NPOI.OpenXmlFormats.Dml
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
    using System.Xml;
17
    using System.IO;
18
    using NPOI.OpenXml4Net.Util;
19

20

21

22

23
    [Serializable]
24
    [DebuggerStepThrough]
25
    [System.ComponentModel.DesignerCategoryAttribute("code")]
26
    [XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main")]
27
    [XmlRoot(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main", IsNullable = true)]
28
    public class CT_TextBulletColorFollowText
29
    {
30
    }
31

32

33
    [Serializable]
34
    [DebuggerStepThrough]
35
    [System.ComponentModel.DesignerCategoryAttribute("code")]
36
    [XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main")]
37
    [XmlRoot(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main", IsNullable = true)]
38
    public class CT_TextBulletSizeFollowText
39
    {
40
    }
41

42

43
    [Serializable]
44
    [DebuggerStepThrough]
45
    [System.ComponentModel.DesignerCategoryAttribute("code")]
46
    [XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main")]
47
    [XmlRoot(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main", IsNullable = true)]
48
    public class CT_TextBulletSizePercent
49
    {
50
        public static CT_TextBulletSizePercent Parse(XmlNode node, XmlNamespaceManager namespaceManager)
51
        {
52
            if (node == null)
53
                return null;
54
            CT_TextBulletSizePercent ctObj = new CT_TextBulletSizePercent();
55
            ctObj.val = XmlHelper.ReadInt(node.Attributes["val"]);
56
            return ctObj;
57
        }
58

59

60

61
        internal void Write(StreamWriter sw, string nodeName)
62
        {
63
            sw.Write(string.Format("<a:{0}", nodeName));
64
            XmlHelper.WriteAttribute(sw, "val", this.val);
65
            sw.Write(">");
66
            sw.Write(string.Format("</a:{0}>", nodeName));
67
        }
68

69
        private int valField;
70

71
        private bool valFieldSpecified;
72

73
        [XmlAttribute]
74
        public int val
75
        {
76
            get
77
            {
78
                return this.valField;
79
            }
80
            set
81
            {
82
                this.valField = value;
83
                this.valFieldSpecified = true;
84
            }
85
        }
86

87
        [XmlIgnore]
88
        public bool valSpecified
89
        {
90
            get
91
            {
92
                return this.valFieldSpecified;
93
            }
94
            set
95
            {
96
                this.valFieldSpecified = value;
97
            }
98
        }
99
    }
100

101

102
    [Serializable]
103
    [DebuggerStepThrough]
104
    [System.ComponentModel.DesignerCategoryAttribute("code")]
105
    [XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main")]
106
    [XmlRoot(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main", IsNullable = true)]
107
    public class CT_TextBulletSizePoint
108
    {
109
        public static CT_TextBulletSizePoint Parse(XmlNode node, XmlNamespaceManager namespaceManager)
110
        {
111
            if (node == null)
112
                return null;
113
            CT_TextBulletSizePoint ctObj = new CT_TextBulletSizePoint();
114
            ctObj.val = XmlHelper.ReadInt(node.Attributes["val"]);
115
            return ctObj;
116
        }
117

118

119

120
        internal void Write(StreamWriter sw, string nodeName)
121
        {
122
            sw.Write(string.Format("<a:{0}", nodeName));
123
            XmlHelper.WriteAttribute(sw, "val", this.val);
124
            sw.Write(">");
125
            sw.Write(string.Format("</a:{0}>", nodeName));
126
        }
127

128
        private int valField;
129

130
        private bool valFieldSpecified;
131

132
        [XmlAttribute]
133
        public int val
134
        {
135
            get
136
            {
137
                return this.valField;
138
            }
139
            set
140
            {
141
                this.valField = value;
142
                this.valFieldSpecified = true;
143
            }
144
        }
145

146
        [XmlIgnore]
147
        public bool valSpecified
148
        {
149
            get
150
            {
151
                return this.valFieldSpecified;
152
            }
153
            set
154
            {
155
                this.valFieldSpecified = value;
156
            }
157
        }
158
    }
159

160

161
    [Serializable]
162
    [DebuggerStepThrough]
163
    [System.ComponentModel.DesignerCategoryAttribute("code")]
164
    [XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main")]
165
    [XmlRoot(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main", IsNullable = true)]
166
    public class CT_TextBulletTypefaceFollowText
167
    {
168
    }
169

170

171
    [Serializable]
172
    [DebuggerStepThrough]
173
    [System.ComponentModel.DesignerCategoryAttribute("code")]
174
    [XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main")]
175
    [XmlRoot(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main", IsNullable = true)]
176
    public class CT_TextAutonumberBullet
177
    {
178
        public static CT_TextAutonumberBullet Parse(XmlNode node, XmlNamespaceManager namespaceManager)
179
        {
180
            if (node == null)
181
                return null;
182
            CT_TextAutonumberBullet ctObj = new CT_TextAutonumberBullet();
183
            if (node.Attributes["type"] != null)
184
                ctObj.type = (ST_TextAutonumberScheme)Enum.Parse(typeof(ST_TextAutonumberScheme), node.Attributes["type"].Value);
185
            ctObj.startAt = XmlHelper.ReadInt(node.Attributes["startAt"]);
186
            return ctObj;
187
        }
188

189

190

191
        internal void Write(StreamWriter sw, string nodeName)
192
        {
193
            sw.Write(string.Format("<a:{0}", nodeName));
194
            XmlHelper.WriteAttribute(sw, "type", this.type.ToString());
195
            XmlHelper.WriteAttribute(sw, "startAt", this.startAt);
196
            sw.Write(">");
197
            sw.Write(string.Format("</a:{0}>", nodeName));
198
        }
199

200
        private ST_TextAutonumberScheme typeField;
201

202
        private bool typeFieldSpecified;
203

204
        private int startAtField;
205

206
        private bool startAtFieldSpecified;
207

208
        public CT_TextAutonumberBullet()
209
        {
210
            this.startAtField = 1;
211
        }
212

213
        [XmlAttribute]
214
        public ST_TextAutonumberScheme type
215
        {
216
            get
217
            {
218
                return this.typeField;
219
            }
220
            set
221
            {
222
                this.typeField = value;
223
            }
224
        }
225
        [XmlIgnore]
226
        public bool typeSpecified
227
        {
228
            get { return this.typeFieldSpecified; }
229
            set { this.typeFieldSpecified = value; }
230
        }
231

232
        [XmlAttribute]
233
        [DefaultValue(1)]
234
        public int startAt
235
        {
236
            get
237
            {
238
                return this.startAtField;
239
            }
240
            set
241
            {
242
                this.startAtField = value;
243
            }
244
        }
245
        [XmlIgnore]
246
        public bool startAtSpecified
247
        {
248
            get { return this.startAtFieldSpecified; }
249
            set { this.startAtFieldSpecified = value; }
250
        }
251
        public bool IsSetStartAt()
252
        {
253
            return this.startAtField >= 1;
254
        }
255
    }
256

257

258
    [Serializable]
259
    [XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main")]
260
    public enum ST_TextAutonumberScheme
261
    {
262

263
        /// <remarks/>
264
        alphaLcParenBoth,
265

266
        /// <remarks/>
267
        alphaUcParenBoth,
268

269
        /// <remarks/>
270
        alphaLcParenR,
271

272
        /// <remarks/>
273
        alphaUcParenR,
274

275
        /// <remarks/>
276
        alphaLcPeriod,
277

278
        /// <remarks/>
279
        alphaUcPeriod,
280

281
        /// <remarks/>
282
        arabicParenBoth,
283

284
        /// <remarks/>
285
        arabicParenR,
286

287
        /// <remarks/>
288
        arabicPeriod,
289

290
        /// <remarks/>
291
        arabicPlain,
292

293
        /// <remarks/>
294
        romanLcParenBoth,
295

296
        /// <remarks/>
297
        romanUcParenBoth,
298

299
        /// <remarks/>
300
        romanLcParenR,
301

302
        /// <remarks/>
303
        romanUcParenR,
304

305
        /// <remarks/>
306
        romanLcPeriod,
307

308
        /// <remarks/>
309
        romanUcPeriod,
310

311
        /// <remarks/>
312
        circleNumDbPlain,
313

314
        /// <remarks/>
315
        circleNumWdBlackPlain,
316

317
        /// <remarks/>
318
        circleNumWdWhitePlain,
319

320
        /// <remarks/>
321
        arabicDbPeriod,
322

323
        /// <remarks/>
324
        arabicDbPlain,
325

326
        /// <remarks/>
327
        ea1ChsPeriod,
328

329
        /// <remarks/>
330
        ea1ChsPlain,
331

332
        /// <remarks/>
333
        ea1ChtPeriod,
334

335
        /// <remarks/>
336
        ea1ChtPlain,
337

338
        /// <remarks/>
339
        ea1JpnChsDbPeriod,
340

341
        /// <remarks/>
342
        ea1JpnKorPlain,
343

344
        /// <remarks/>
345
        ea1JpnKorPeriod,
346

347
        /// <remarks/>
348
        arabic1Minus,
349

350
        /// <remarks/>
351
        arabic2Minus,
352

353
        /// <remarks/>
354
        hebrew2Minus,
355

356
        /// <remarks/>
357
        thaiAlphaPeriod,
358

359
        /// <remarks/>
360
        thaiAlphaParenR,
361

362
        /// <remarks/>
363
        thaiAlphaParenBoth,
364

365
        /// <remarks/>
366
        thaiNumPeriod,
367

368
        /// <remarks/>
369
        thaiNumParenR,
370

371
        /// <remarks/>
372
        thaiNumParenBoth,
373

374
        /// <remarks/>
375
        hindiAlphaPeriod,
376

377
        /// <remarks/>
378
        hindiNumPeriod,
379

380
        /// <remarks/>
381
        hindiNumParenR,
382

383
        /// <remarks/>
384
        hindiAlpha1Period,
385
    }
386

387

388
    [Serializable]
389
    [DebuggerStepThrough]
390
    [System.ComponentModel.DesignerCategoryAttribute("code")]
391
    [XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main")]
392
    [XmlRoot(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main", IsNullable = true)]
393
    public class CT_TextCharBullet
394
    {
395
        public static CT_TextCharBullet Parse(XmlNode node, XmlNamespaceManager namespaceManager)
396
        {
397
            if(node==null)
398
                return null;
399
            CT_TextCharBullet ctObj = new CT_TextCharBullet();
400
            ctObj.@char = XmlHelper.ReadString(node.Attributes["char"]);
401
            return ctObj;
402
        }
403

404

405

406
        internal void Write(StreamWriter sw, string nodeName)
407
        {
408
            sw.Write(string.Format("<a:{0}", nodeName));
409
            XmlHelper.WriteAttribute(sw, "char", this.@char);
410
            sw.Write(">");
411
            sw.Write(string.Format("</a:{0}>", nodeName));
412
        }
413

414
        private string charField;
415

416
        [XmlAttribute]
417
        public string @char
418
        {
419
            get
420
            {
421
                return this.charField;
422
            }
423
            set
424
            {
425
                this.charField = value;
426
            }
427
        }
428
    }
429

430

431
    [Serializable]
432
    [DebuggerStepThrough]
433
    [System.ComponentModel.DesignerCategoryAttribute("code")]
434
    [XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main")]
435
    [XmlRoot(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main", IsNullable = true)]
436
    public class CT_TextBlipBullet
437
    {
438
        public static CT_TextBlipBullet Parse(XmlNode node, XmlNamespaceManager namespaceManager)
439
        {
440
            if (node == null)
441
                return null;
442
            CT_TextBlipBullet ctObj = new CT_TextBlipBullet();
443
            foreach (XmlNode childNode in node.ChildNodes)
444
            {
445
                if (childNode.LocalName == "blip")
446
                    ctObj.blip = CT_Blip.Parse(childNode, namespaceManager);
447
            }
448
            return ctObj;
449
        }
450

451
        internal void Write(StreamWriter sw, string nodeName)
452
        {
453
            sw.Write(string.Format("<a:{0}", nodeName));
454
            sw.Write(">");
455
            if (this.blip != null)
456
                this.blip.Write(sw, "blip");
457
            sw.Write(string.Format("</a:{0}>", nodeName));
458
        }
459

460
        private CT_Blip blipField;
461

462
        public CT_TextBlipBullet()
463
        {
464
            this.blipField = new CT_Blip();
465
        }
466

467
        [XmlElement(Order = 0)]
468
        public CT_Blip blip
469
        {
470
            get
471
            {
472
                return this.blipField;
473
            }
474
            set
475
            {
476
                this.blipField = value;
477
            }
478
        }
479
    }
480

481

482
    [Serializable]
483
    [DebuggerStepThrough]
484
    [System.ComponentModel.DesignerCategoryAttribute("code")]
485
    [XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main")]
486
    [XmlRoot(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main", IsNullable = true)]
487
    public class CT_TextNoBullet
488
    {
489
    }
490
}
491

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

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

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

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