npoi

Форк
0
/
ShapeLineProperties.cs 
895 строк · 24.1 Кб
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 NPOI.OpenXml4Net.Util;
18
    using System.IO;
19

20

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

30
        private ST_LineEndType typeField= ST_LineEndType.none;
31

32
        private ST_LineEndWidth wField= ST_LineEndWidth.sm;
33

34
        private ST_LineEndLength lenField= ST_LineEndLength.sm;
35

36
        public static CT_LineEndProperties Parse(XmlNode node, XmlNamespaceManager namespaceManager)
37
        {
38
            if (node == null)
39
                return null;
40
            CT_LineEndProperties ctObj = new CT_LineEndProperties();
41
            if (node.Attributes["type"] != null)
42
                ctObj.type = (ST_LineEndType)Enum.Parse(typeof(ST_LineEndType), node.Attributes["type"].Value);
43
            if (node.Attributes["w"] != null)
44
                ctObj.w = (ST_LineEndWidth)Enum.Parse(typeof(ST_LineEndWidth), node.Attributes["w"].Value);
45
            if (node.Attributes["len"] != null)
46
                ctObj.len = (ST_LineEndLength)Enum.Parse(typeof(ST_LineEndLength), node.Attributes["len"].Value);
47
            return ctObj;
48
        }
49

50

51

52
        internal void Write(StreamWriter sw, string nodeName)
53
        {
54
            sw.Write(string.Format("<a:{0}", nodeName));
55
            if(this.type!= ST_LineEndType.none)
56
                XmlHelper.WriteAttribute(sw, "type", this.type.ToString());
57
            if (this.w != ST_LineEndWidth.sm)
58
                XmlHelper.WriteAttribute(sw, "w", this.w.ToString());
59
            if (this.len != ST_LineEndLength.sm)
60
                XmlHelper.WriteAttribute(sw, "len", this.len.ToString());
61
            sw.Write("/>");
62
        }
63

64
        [XmlAttribute]
65
        public ST_LineEndType type
66
        {
67
            get
68
            {
69
                return this.typeField;
70
            }
71
            set
72
            {
73
                this.typeField = value;
74
            }
75
        }
76

77

78
        [XmlAttribute]
79
        public ST_LineEndWidth w
80
        {
81
            get
82
            {
83
                return this.wField;
84
            }
85
            set
86
            {
87
                this.wField = value;
88
            }
89
        }
90

91
        [XmlAttribute]
92
        public ST_LineEndLength len
93
        {
94
            get
95
            {
96
                return this.lenField;
97
            }
98
            set
99
            {
100
                this.lenField = value;
101
            }
102
        }
103

104
    }
105

106
    
107
    [Serializable]
108
    [XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main")]
109
    public enum ST_LineEndType
110
    {
111

112
        /// <remarks/>
113
        none,
114

115
        /// <remarks/>
116
        triangle,
117

118
        /// <remarks/>
119
        stealth,
120

121
        /// <remarks/>
122
        diamond,
123

124
        /// <remarks/>
125
        oval,
126

127
        /// <remarks/>
128
        arrow,
129
    }
130

131
    
132
    [Serializable]
133
    [XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main")]
134
    public enum ST_LineEndWidth
135
    {
136

137
        /// <remarks/>
138
        sm,
139

140
        /// <remarks/>
141
        med,
142

143
        /// <remarks/>
144
        lg,
145
    }
146

147
    
148
    [Serializable]
149
    [XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main")]
150
    public enum ST_LineEndLength
151
    {
152

153
        /// <remarks/>
154
        sm,
155

156
        /// <remarks/>
157
        med,
158

159
        /// <remarks/>
160
        lg,
161
    }
162

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

173
    
174
    [Serializable]
175
    [DebuggerStepThrough]
176
    [System.ComponentModel.DesignerCategoryAttribute("code")]
177
    [XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main")]
178
    [XmlRoot(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main", IsNullable = true)]
179
    public class CT_LineJoinRound
180
    {
181
    }
182

183
    
184
    [Serializable]
185
    [DebuggerStepThrough]
186
    [System.ComponentModel.DesignerCategoryAttribute("code")]
187
    [XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main")]
188
    [XmlRoot(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main", IsNullable = true)]
189
    public class CT_LineJoinMiterProperties
190
    {
191
        public static CT_LineJoinMiterProperties Parse(XmlNode node, XmlNamespaceManager namespaceManager)
192
        {
193
            if (node == null)
194
                return null;
195
            CT_LineJoinMiterProperties ctObj = new CT_LineJoinMiterProperties();
196
            ctObj.lim = XmlHelper.ReadInt(node.Attributes["lim"]);
197
            return ctObj;
198
        }
199

200

201

202
        internal void Write(StreamWriter sw, string nodeName)
203
        {
204
            sw.Write(string.Format("<a:{0}", nodeName));
205
            XmlHelper.WriteAttribute(sw, "lim", this.lim);
206
            sw.Write("/>");
207
        }
208

209
        private int limField;
210

211
        private bool limFieldSpecified;
212

213
        [XmlAttribute]
214
        public int lim
215
        {
216
            get
217
            {
218
                return this.limField;
219
            }
220
            set
221
            {
222
                this.limField = value;
223
            }
224
        }
225

226
        [XmlIgnore]
227
        public bool limSpecified
228
        {
229
            get
230
            {
231
                return this.limFieldSpecified;
232
            }
233
            set
234
            {
235
                this.limFieldSpecified = value;
236
            }
237
        }
238
    }
239

240
    
241
    [Serializable]
242
    [DebuggerStepThrough]
243
    [System.ComponentModel.DesignerCategoryAttribute("code")]
244
    [XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main")]
245
    [XmlRoot(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main", IsNullable = true)]
246
    public class CT_PresetLineDashProperties
247
    {
248
        public static CT_PresetLineDashProperties Parse(XmlNode node, XmlNamespaceManager namespaceManager)
249
        {
250
            if (node == null)
251
                return null;
252
            CT_PresetLineDashProperties ctObj = new CT_PresetLineDashProperties();
253
            if (node.Attributes["val"] != null)
254
                ctObj.val = (ST_PresetLineDashVal)Enum.Parse(typeof(ST_PresetLineDashVal), node.Attributes["val"].Value);
255
            return ctObj;
256
        }
257

258

259

260
        internal void Write(StreamWriter sw, string nodeName)
261
        {
262
            sw.Write(string.Format("<a:{0}", nodeName));
263
            XmlHelper.WriteAttribute(sw, "val", this.val.ToString());
264
            sw.Write("/>");
265
        }
266

267
        private ST_PresetLineDashVal valField;
268

269
        private bool valFieldSpecified;
270

271
        [XmlAttribute]
272
        public ST_PresetLineDashVal val
273
        {
274
            get
275
            {
276
                return this.valField;
277
            }
278
            set
279
            {
280
                this.valField = value;
281
            }
282
        }
283

284
        [XmlIgnore]
285
        public bool valSpecified
286
        {
287
            get
288
            {
289
                return this.valFieldSpecified;
290
            }
291
            set
292
            {
293
                this.valFieldSpecified = value;
294
            }
295
        }
296
    }
297

298
    
299
    [Serializable]
300
    [XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main")]
301
    public enum ST_PresetLineDashVal
302
    {
303

304
        /// <remarks/>
305
        solid,
306

307
        /// <remarks/>
308
        dot,
309

310
        /// <remarks/>
311
        dash,
312

313
        /// <remarks/>
314
        lgDash,
315

316
        /// <remarks/>
317
        dashDot,
318

319
        /// <remarks/>
320
        lgDashDot,
321

322
        /// <remarks/>
323
        lgDashDotDot,
324

325
        /// <remarks/>
326
        sysDash,
327

328
        /// <remarks/>
329
        sysDot,
330

331
        /// <remarks/>
332
        sysDashDot,
333

334
        /// <remarks/>
335
        sysDashDotDot,
336
    }
337

338
    
339
    [Serializable]
340
    [DebuggerStepThrough]
341
    [System.ComponentModel.DesignerCategoryAttribute("code")]
342
    [XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main")]
343
    [XmlRoot(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main", IsNullable = true)]
344
    public class CT_DashStop
345
    {
346
        public static CT_DashStop Parse(XmlNode node, XmlNamespaceManager namespaceManager)
347
        {
348
            if (node == null)
349
                return null;
350
            CT_DashStop ctObj = new CT_DashStop();
351
            ctObj.d = XmlHelper.ReadInt(node.Attributes["d"]);
352
            ctObj.sp = XmlHelper.ReadInt(node.Attributes["sp"]);
353
            return ctObj;
354
        }
355

356

357

358
        internal void Write(StreamWriter sw, string nodeName)
359
        {
360
            sw.Write(string.Format("<a:{0}", nodeName));
361
            XmlHelper.WriteAttribute(sw, "d", this.d);
362
            XmlHelper.WriteAttribute(sw, "sp", this.sp);
363
            sw.Write(">");
364
            sw.Write(string.Format("</a:{0}>", nodeName));
365
        }
366

367
        private int dField;
368

369
        private int spField;
370

371
        [XmlAttribute]
372
        public int d
373
        {
374
            get
375
            {
376
                return this.dField;
377
            }
378
            set
379
            {
380
                this.dField = value;
381
            }
382
        }
383

384
        [XmlAttribute]
385
        public int sp
386
        {
387
            get
388
            {
389
                return this.spField;
390
            }
391
            set
392
            {
393
                this.spField = value;
394
            }
395
        }
396
    }
397

398
    
399
    [Serializable]
400
    [DebuggerStepThrough]
401
    [System.ComponentModel.DesignerCategoryAttribute("code")]
402
    [XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main")]
403
    [XmlRoot(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main", IsNullable = true)]
404
    public class CT_DashStopList
405
    {
406

407
        private List<CT_DashStop> dsField;
408

409
        public CT_DashStopList()
410
        {
411
            //this.dsField = new List<CT_DashStop>();
412
        }
413

414
        [XmlElement("ds", Order = 0)]
415
        public List<CT_DashStop> ds
416
        {
417
            get
418
            {
419
                return this.dsField;
420
            }
421
            set
422
            {
423
                this.dsField = value;
424
            }
425
        }
426
    }
427

428
    
429
    [Serializable]
430
    [DebuggerStepThrough]
431
    [System.ComponentModel.DesignerCategoryAttribute("code")]
432
    [XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main")]
433
    [XmlRoot(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main", IsNullable = true)]
434
    public class CT_LineProperties
435
    {
436

437
        private CT_NoFillProperties noFillField;
438

439
        private CT_SolidColorFillProperties solidFillField;
440

441
        private CT_GradientFillProperties gradFillField;
442

443
        private CT_PatternFillProperties pattFillField;
444

445
        private CT_PresetLineDashProperties prstDashField;
446

447
        private List<CT_DashStop> custDashField;
448

449
        private CT_LineJoinRound roundField;
450

451
        private CT_LineJoinBevel bevelField;
452

453
        private CT_LineJoinMiterProperties miterField;
454

455
        private CT_LineEndProperties headEndField;
456

457
        private CT_LineEndProperties tailEndField;
458

459
        private CT_OfficeArtExtensionList extLstField;
460

461
        private int wField = 0;
462

463
        private bool wFieldSpecified;
464

465
        private ST_LineCap capField = ST_LineCap.NONE;
466

467
        private bool capFieldSpecified;
468

469
        private ST_CompoundLine cmpdField = ST_CompoundLine.NONE;
470

471
        private bool cmpdFieldSpecified;
472

473
        private ST_PenAlignment algnField = ST_PenAlignment.NONE;
474

475
        private bool algnFieldSpecified;
476
        public static CT_LineProperties Parse(XmlNode node, XmlNamespaceManager namespaceManager)
477
        {
478
            if (node == null)
479
                return null;
480
            CT_LineProperties ctObj = new CT_LineProperties();
481
            ctObj.w = XmlHelper.ReadInt(node.Attributes["w"]);
482
            if (node.Attributes["cap"] != null)
483
                ctObj.cap = (ST_LineCap)Enum.Parse(typeof(ST_LineCap), node.Attributes["cap"].Value);
484
            if (node.Attributes["cmpd"] != null)
485
                ctObj.cmpd = (ST_CompoundLine)Enum.Parse(typeof(ST_CompoundLine), node.Attributes["cmpd"].Value);
486
            if (node.Attributes["algn"] != null)
487
                ctObj.algn = (ST_PenAlignment)Enum.Parse(typeof(ST_PenAlignment), node.Attributes["algn"].Value);
488
            ctObj.custDash = new List<CT_DashStop>();
489
            foreach (XmlNode childNode in node.ChildNodes)
490
            {
491
                if (childNode.LocalName == "noFill")
492
                    ctObj.noFill = new CT_NoFillProperties();
493
                else if (childNode.LocalName == "solidFill")
494
                    ctObj.solidFill = CT_SolidColorFillProperties.Parse(childNode, namespaceManager);
495
                else if (childNode.LocalName == "gradFill")
496
                    ctObj.gradFill = CT_GradientFillProperties.Parse(childNode, namespaceManager);
497
                else if (childNode.LocalName == "pattFill")
498
                    ctObj.pattFill = CT_PatternFillProperties.Parse(childNode, namespaceManager);
499
                else if (childNode.LocalName == "prstDash")
500
                    ctObj.prstDash = CT_PresetLineDashProperties.Parse(childNode, namespaceManager);
501
                else if (childNode.LocalName == "round")
502
                    ctObj.round = new CT_LineJoinRound();
503
                else if (childNode.LocalName == "bevel")
504
                    ctObj.bevel = new CT_LineJoinBevel();
505
                else if (childNode.LocalName == "miter")
506
                    ctObj.miter = CT_LineJoinMiterProperties.Parse(childNode, namespaceManager);
507
                else if (childNode.LocalName == "headEnd")
508
                    ctObj.headEnd = CT_LineEndProperties.Parse(childNode, namespaceManager);
509
                else if (childNode.LocalName == "tailEnd")
510
                    ctObj.tailEnd = CT_LineEndProperties.Parse(childNode, namespaceManager);
511
                else if (childNode.LocalName == "extLst")
512
                    ctObj.extLst = CT_OfficeArtExtensionList.Parse(childNode, namespaceManager);
513
                else if (childNode.LocalName == "custDash")
514
                    ctObj.custDash.Add(CT_DashStop.Parse(childNode, namespaceManager));
515
            }
516
            return ctObj;
517
        }
518

519

520

521
        internal void Write(StreamWriter sw, string nodeName)
522
        {
523
            sw.Write(string.Format("<a:{0}", nodeName));
524
            XmlHelper.WriteAttribute(sw, "w", this.w);
525
            if(this.cap!= ST_LineCap.NONE)
526
                XmlHelper.WriteAttribute(sw, "cap", this.cap.ToString());
527
            if(this.cmpd !=  ST_CompoundLine.NONE)
528
                XmlHelper.WriteAttribute(sw, "cmpd", this.cmpd.ToString());
529
            if(this.algn!= ST_PenAlignment.NONE)
530
                XmlHelper.WriteAttribute(sw, "algn", this.algn.ToString());
531
            sw.Write(">");
532
            if (this.noFill != null)
533
                sw.Write("<a:noFill/>");
534
            if (this.solidFill != null)
535
                this.solidFill.Write(sw, "solidFill");
536
            if (this.gradFill != null)
537
                this.gradFill.Write(sw, "gradFill");
538
            if (this.pattFill != null)
539
                this.pattFill.Write(sw, "pattFill");
540
            if (this.prstDash != null)
541
                this.prstDash.Write(sw, "prstDash");
542
            if (this.custDash != null)
543
            {
544
                foreach (CT_DashStop x in this.custDash)
545
                {
546
                    x.Write(sw, "custDash");
547
                }
548
            }
549
            if (this.round != null)
550
                sw.Write("<a:round/>");
551
            if (this.bevel != null)
552
                sw.Write("<a:bevel/>");
553
            if (this.miter != null)
554
                this.miter.Write(sw, "miter");
555
            if (this.headEnd != null)
556
                this.headEnd.Write(sw, "headEnd");
557
            if (this.tailEnd != null)
558
                this.tailEnd.Write(sw, "tailEnd");
559
            if (this.extLst != null)
560
                this.extLst.Write(sw, "extLst");
561

562
            sw.Write(string.Format("</a:{0}>", nodeName));
563
        }
564

565
        public CT_LineProperties()
566
        {
567

568
        }
569

570
        [XmlElement(Order = 0)]
571
        public CT_NoFillProperties noFill
572
        {
573
            get
574
            {
575
                return this.noFillField;
576
            }
577
            set
578
            {
579
                this.noFillField = value;
580
            }
581
        }
582

583
        [XmlElement(Order = 1)]
584
        public CT_SolidColorFillProperties solidFill
585
        {
586
            get
587
            {
588
                return this.solidFillField;
589
            }
590
            set
591
            {
592
                this.solidFillField = value;
593
            }
594
        }
595

596
        [XmlElement(Order = 2)]
597
        public CT_GradientFillProperties gradFill
598
        {
599
            get
600
            {
601
                return this.gradFillField;
602
            }
603
            set
604
            {
605
                this.gradFillField = value;
606
            }
607
        }
608

609
        [XmlElement(Order = 3)]
610
        public CT_PatternFillProperties pattFill
611
        {
612
            get
613
            {
614
                return this.pattFillField;
615
            }
616
            set
617
            {
618
                this.pattFillField = value;
619
            }
620
        }
621

622
        [XmlElement(Order = 4)]
623
        public CT_PresetLineDashProperties prstDash
624
        {
625
            get
626
            {
627
                return this.prstDashField;
628
            }
629
            set
630
            {
631
                this.prstDashField = value;
632
            }
633
        }
634

635
        [XmlElement(Order = 5)]
636
        public List<CT_DashStop> custDash
637
        {
638
            get
639
            {
640
                return this.custDashField;
641
            }
642
            set
643
            {
644
                this.custDashField = value;
645
            }
646
        }
647

648
        [XmlElement(Order = 6)]
649
        public CT_LineJoinRound round
650
        {
651
            get
652
            {
653
                return this.roundField;
654
            }
655
            set
656
            {
657
                this.roundField = value;
658
            }
659
        }
660

661
        [XmlElement(Order = 7)]
662
        public CT_LineJoinBevel bevel
663
        {
664
            get
665
            {
666
                return this.bevelField;
667
            }
668
            set
669
            {
670
                this.bevelField = value;
671
            }
672
        }
673

674
        [XmlElement(Order = 8)]
675
        public CT_LineJoinMiterProperties miter
676
        {
677
            get
678
            {
679
                return this.miterField;
680
            }
681
            set
682
            {
683
                this.miterField = value;
684
            }
685
        }
686

687
        [XmlElement(Order = 9)]
688
        public CT_LineEndProperties headEnd
689
        {
690
            get
691
            {
692
                return this.headEndField;
693
            }
694
            set
695
            {
696
                this.headEndField = value;
697
            }
698
        }
699

700
        [XmlElement(Order = 10)]
701
        public CT_LineEndProperties tailEnd
702
        {
703
            get
704
            {
705
                return this.tailEndField;
706
            }
707
            set
708
            {
709
                this.tailEndField = value;
710
            }
711
        }
712

713
        [XmlElement(Order = 11)]
714
        public CT_OfficeArtExtensionList extLst
715
        {
716
            get
717
            {
718
                return this.extLstField;
719
            }
720
            set
721
            {
722
                this.extLstField = value;
723
            }
724
        }
725

726
        [XmlAttribute]
727
        public int w
728
        {
729
            get
730
            {
731
                return this.wField;
732
            }
733
            set
734
            {
735
                this.wField = value;
736
            }
737
        }
738

739
        [XmlIgnore]
740
        public bool wSpecified
741
        {
742
            get
743
            {
744
                return this.wFieldSpecified;
745
            }
746
            set
747
            {
748
                this.wFieldSpecified = value;
749
            }
750
        }
751

752
        [XmlAttribute]
753
        public ST_LineCap cap
754
        {
755
            get
756
            {
757
                return this.capField;
758
            }
759
            set
760
            {
761
                this.capField = value;
762
            }
763
        }
764

765
        [XmlIgnore]
766
        public bool capSpecified
767
        {
768
            get
769
            {
770
                return ST_LineCap.NONE != capField;
771
                //return this.capFieldSpecified;
772
            }
773
            set
774
            {
775
                this.capFieldSpecified = value;
776
            }
777
        }
778

779
        [XmlAttribute]
780
        public ST_CompoundLine cmpd
781
        {
782
            get
783
            {
784
                return this.cmpdField;
785
            }
786
            set
787
            {
788
                this.cmpdField = value;
789
            }
790
        }
791

792
        [XmlIgnore]
793
        public bool cmpdSpecified
794
        {
795
            get
796
            {
797
                return ST_CompoundLine.NONE != this.cmpdField;
798
                //return this.cmpdFieldSpecified;
799
            }
800
            set
801
            {
802
                this.cmpdFieldSpecified = value;
803
            }
804
        }
805

806
        [XmlAttribute]
807
        public ST_PenAlignment algn
808
        {
809
            get
810
            {
811
                return this.algnField;
812
            }
813
            set
814
            {
815
                this.algnField = value;
816
            }
817
        }
818

819
        [XmlIgnore]
820
        public bool algnSpecified
821
        {
822
            get
823
            {
824
                return ST_PenAlignment.NONE != this.algnField;
825
                //return this.algnFieldSpecified;
826
            }
827
            set
828
            {
829
                this.algnFieldSpecified = value;
830
            }
831
        }
832

833
        public CT_SolidColorFillProperties AddNewSolidFill()
834
        {
835
            this.solidFillField = new CT_SolidColorFillProperties();
836
            return this.solidFillField;
837
        }
838
        public bool IsSetSolidFill()
839
        {
840
            return this.solidFillField != null;
841
        }
842

843
    }
844

845
    
846
    [Serializable]
847
    [XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main")]
848
    public enum ST_LineCap
849
    {
850
        NONE,
851
        /// <remarks/>
852
        rnd,
853

854
        /// <remarks/>
855
        sq,
856

857
        /// <remarks/>
858
        flat,
859
    }
860

861
    
862
    [Serializable]
863
    [XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main")]
864
    public enum ST_CompoundLine
865
    {
866
        NONE,
867
        /// <remarks/>
868
        sng,
869

870
        /// <remarks/>
871
        dbl,
872

873
        /// <remarks/>
874
        thickThin,
875

876
        /// <remarks/>
877
        thinThick,
878

879
        /// <remarks/>
880
        tri,
881
    }
882

883
    
884
    [Serializable]
885
    [XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/main")]
886
    public enum ST_PenAlignment
887
    {
888
        NONE,
889
        /// <remarks/>
890
        ctr,
891

892
        /// <remarks/>
893
        @in,
894
    }
895
}
896

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

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

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

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