npoi
4156 строк · 101.6 Кб
1using System;2using System.ComponentModel;3using System.Xml.Serialization;4using NPOI.OpenXmlFormats.Vml.Spreadsheet;5using System.Collections.Generic;6using System.Xml;7using System.IO;8using System.Text;9using NPOI.OpenXml4Net.Util;10
11namespace NPOI.OpenXmlFormats.Vml.Office12{
13
14
15
16[Serializable]17
18[System.ComponentModel.DesignerCategory("code")]19[XmlType(Namespace="urn:schemas-microsoft-com:office:office")]20[XmlRoot(Namespace="urn:schemas-microsoft-com:office:office", IsNullable=true)]21public class CT_ShapeDefaults {22
23private CT_Fill fillField;24
25private CT_Stroke strokeField;26
27private CT_Textbox textboxField;28
29private CT_Shadow shadowField;30
31private CT_Skew skewField;32
33private CT_Extrusion extrusionField;34
35private CT_Callout calloutField;36
37private CT_Lock lockField;38
39private CT_ColorMru colormruField;40
41private CT_ColorMenu colormenuField;42
43private ST_Ext extField = ST_Ext.NONE;44
45
46
47private string spidmaxField;48
49private string styleField;50
51private ST_TrueFalse fill1Field;52
53private bool fill1FieldSpecified;54
55private string fillcolorField;56
57private ST_TrueFalse stroke1Field;58
59private bool stroke1FieldSpecified;60
61private string strokecolorField;62
63private ST_TrueFalse allowincellField;64
65private bool allowincellFieldSpecified;66
67
68[XmlElement(Namespace="urn:schemas-microsoft-com:vml")]69public CT_Fill fill {70get {71return this.fillField;72}73set {74this.fillField = value;75}76}77
78
79[XmlElement(Namespace="urn:schemas-microsoft-com:vml")]80public CT_Stroke stroke {81get {82return this.strokeField;83}84set {85this.strokeField = value;86}87}88
89
90[XmlElement(Namespace="urn:schemas-microsoft-com:vml")]91public CT_Textbox textbox {92get {93return this.textboxField;94}95set {96this.textboxField = value;97}98}99
100
101[XmlElement(Namespace="urn:schemas-microsoft-com:vml")]102public CT_Shadow shadow {103get {104return this.shadowField;105}106set {107this.shadowField = value;108}109}110
111
112public CT_Skew skew {113get {114return this.skewField;115}116set {117this.skewField = value;118}119}120
121
122public CT_Extrusion extrusion {123get {124return this.extrusionField;125}126set {127this.extrusionField = value;128}129}130
131
132public CT_Callout callout {133get {134return this.calloutField;135}136set {137this.calloutField = value;138}139}140
141
142public CT_Lock @lock {143get {144return this.lockField;145}146set {147this.lockField = value;148}149}150
151
152public CT_ColorMru colormru {153get {154return this.colormruField;155}156set {157this.colormruField = value;158}159}160
161
162public CT_ColorMenu colormenu {163get {164return this.colormenuField;165}166set {167this.colormenuField = value;168}169}170
171
172[XmlAttribute(Form = System.Xml.Schema.XmlSchemaForm.Qualified, Namespace = "urn:schemas-microsoft-com:vml")]173public ST_Ext ext174{175get { return this.extField; }176set { this.extField = value; }177}178[XmlIgnore]179public bool extSpecified180{181get { return ST_Ext.NONE != this.extField; }182}183
184[XmlAttribute(DataType="integer")]185public string spidmax {186get {187return this.spidmaxField;188}189set {190this.spidmaxField = value;191}192}193
194
195[XmlAttribute]196public string style {197get {198return this.styleField;199}200set {201this.styleField = value;202}203}204
205
206[XmlAttribute("fill")]207public ST_TrueFalse fill1 {208get {209return this.fill1Field;210}211set {212this.fill1Field = value;213}214}215
216
217[XmlIgnore]218public bool fill1Specified {219get {220return this.fill1FieldSpecified;221}222set {223this.fill1FieldSpecified = value;224}225}226
227
228[XmlAttribute]229public string fillcolor {230get {231return this.fillcolorField;232}233set {234this.fillcolorField = value;235}236}237
238
239[XmlAttribute("stroke")]240public ST_TrueFalse stroke1 {241get {242return this.stroke1Field;243}244set {245this.stroke1Field = value;246}247}248
249
250[XmlIgnore]251public bool stroke1Specified {252get {253return this.stroke1FieldSpecified;254}255set {256this.stroke1FieldSpecified = value;257}258}259
260
261[XmlAttribute]262public string strokecolor {263get {264return this.strokecolorField;265}266set {267this.strokecolorField = value;268}269}270
271
272[XmlAttribute(Form=System.Xml.Schema.XmlSchemaForm.Qualified)]273public ST_TrueFalse allowincell {274get {275return this.allowincellField;276}277set {278this.allowincellField = value;279}280}281
282
283[XmlIgnore]284public bool allowincellSpecified {285get {286return this.allowincellFieldSpecified;287}288set {289this.allowincellFieldSpecified = value;290}291}292}293
294
295
296
297[Serializable]298
299[System.ComponentModel.DesignerCategory("code")]300[XmlType(Namespace="urn:schemas-microsoft-com:office:office")]301[XmlRoot(Namespace="urn:schemas-microsoft-com:office:office", IsNullable=true)]302public class CT_Skew {303
304private ST_Ext extField = ST_Ext.NONE;305
306
307
308private string idField;309
310private ST_TrueFalse onField;311
312private bool onFieldSpecified;313
314private string offsetField;315
316private string originField;317
318private string matrixField;319
320
321[XmlAttribute(Form = System.Xml.Schema.XmlSchemaForm.Qualified, Namespace = "urn:schemas-microsoft-com:vml")]322public ST_Ext ext323{324get { return this.extField; }325set { this.extField = value; }326}327[XmlIgnore]328public bool extSpecified329{330get { return ST_Ext.NONE != this.extField; }331}332
333[XmlAttribute]334public string id335{336get {337return this.idField;338}339set {340this.idField = value;341}342}343
344
345[XmlAttribute]346public ST_TrueFalse on {347get {348return this.onField;349}350set {351this.onField = value;352}353}354
355
356[XmlIgnore]357public bool onSpecified {358get {359return this.onFieldSpecified;360}361set {362this.onFieldSpecified = value;363}364}365
366
367[XmlAttribute]368public string offset {369get {370return this.offsetField;371}372set {373this.offsetField = value;374}375}376
377
378[XmlAttribute]379public string origin {380get {381return this.originField;382}383set {384this.originField = value;385}386}387
388
389[XmlAttribute]390public string matrix {391get {392return this.matrixField;393}394set {395this.matrixField = value;396}397}398}399
400
401[Serializable]402[XmlType(TypeName="ST_TrueFalse", Namespace="urn:schemas-microsoft-com:office:office")]403[XmlRoot("ST_TrueFalse", Namespace="urn:schemas-microsoft-com:office:office", IsNullable=false)]404public enum ST_TrueFalse {405f,406t,407@true,408@false,409}410
411
412[Serializable]413
414[System.ComponentModel.DesignerCategory("code")]415[XmlType(Namespace="urn:schemas-microsoft-com:office:office")]416[XmlRoot(Namespace="urn:schemas-microsoft-com:office:office", IsNullable=true)]417public class CT_Extrusion {418
419private ST_Ext extField = ST_Ext.NONE;420
421
422
423private ST_TrueFalse onField;424
425private bool onFieldSpecified;426
427private ST_ExtrusionType typeField;428
429private ST_ExtrusionRender renderField;430
431private string viewpointoriginField;432
433private string viewpointField;434
435private ST_ExtrusionPlane planeField;436
437private float skewangleField;438
439private bool skewangleFieldSpecified;440
441private string skewamtField;442
443private string foredepthField;444
445private string backdepthField;446
447private string orientationField;448
449private float orientationangleField;450
451private bool orientationangleFieldSpecified;452
453private ST_TrueFalse lockrotationcenterField;454
455private bool lockrotationcenterFieldSpecified;456
457private ST_TrueFalse autorotationcenterField;458
459private bool autorotationcenterFieldSpecified;460
461private string rotationcenterField;462
463private string rotationangleField;464
465private ST_ColorMode colormodeField;466
467private bool colormodeFieldSpecified;468
469private string colorField;470
471private float shininessField;472
473private bool shininessFieldSpecified;474
475private string specularityField;476
477private string diffusityField;478
479private ST_TrueFalse metalField;480
481private bool metalFieldSpecified;482
483private string edgeField;484
485private string facetField;486
487private ST_TrueFalse lightfaceField;488
489private bool lightfaceFieldSpecified;490
491private string brightnessField;492
493private string lightpositionField;494
495private string lightlevelField;496
497private ST_TrueFalse lightharshField;498
499private bool lightharshFieldSpecified;500
501private string lightposition2Field;502
503private string lightlevel2Field;504
505private ST_TrueFalse lightharsh2Field;506
507private bool lightharsh2FieldSpecified;508
509public CT_Extrusion() {510this.typeField = ST_ExtrusionType.parallel;511this.renderField = ST_ExtrusionRender.solid;512this.planeField = ST_ExtrusionPlane.XY;513}514
515
516[XmlAttribute(Form = System.Xml.Schema.XmlSchemaForm.Qualified, Namespace = "urn:schemas-microsoft-com:vml")]517public ST_Ext ext518{519get { return this.extField; }520set { this.extField = value; }521}522[XmlIgnore]523public bool extSpecified524{525get { return ST_Ext.NONE != this.extField; }526}527
528[XmlAttribute]529public ST_TrueFalse on {530get {531return this.onField;532}533set {534this.onField = value;535}536}537
538
539[XmlIgnore]540public bool onSpecified {541get {542return this.onFieldSpecified;543}544set {545this.onFieldSpecified = value;546}547}548
549
550[XmlAttribute]551[DefaultValue(ST_ExtrusionType.parallel)]552public ST_ExtrusionType type {553get {554return this.typeField;555}556set {557this.typeField = value;558}559}560
561
562[XmlAttribute]563[DefaultValue(ST_ExtrusionRender.solid)]564public ST_ExtrusionRender render {565get {566return this.renderField;567}568set {569this.renderField = value;570}571}572
573
574[XmlAttribute]575public string viewpointorigin {576get {577return this.viewpointoriginField;578}579set {580this.viewpointoriginField = value;581}582}583
584
585[XmlAttribute]586public string viewpoint {587get {588return this.viewpointField;589}590set {591this.viewpointField = value;592}593}594
595
596[XmlAttribute]597[DefaultValue(ST_ExtrusionPlane.XY)]598public ST_ExtrusionPlane plane {599get {600return this.planeField;601}602set {603this.planeField = value;604}605}606
607
608[XmlAttribute]609public float skewangle {610get {611return this.skewangleField;612}613set {614this.skewangleField = value;615}616}617
618
619[XmlIgnore]620public bool skewangleSpecified {621get {622return this.skewangleFieldSpecified;623}624set {625this.skewangleFieldSpecified = value;626}627}628
629
630[XmlAttribute]631public string skewamt {632get {633return this.skewamtField;634}635set {636this.skewamtField = value;637}638}639
640
641[XmlAttribute]642public string foredepth {643get {644return this.foredepthField;645}646set {647this.foredepthField = value;648}649}650
651
652[XmlAttribute]653public string backdepth {654get {655return this.backdepthField;656}657set {658this.backdepthField = value;659}660}661
662
663[XmlAttribute]664public string orientation {665get {666return this.orientationField;667}668set {669this.orientationField = value;670}671}672
673
674[XmlAttribute]675public float orientationangle {676get {677return this.orientationangleField;678}679set {680this.orientationangleField = value;681}682}683
684
685[XmlIgnore]686public bool orientationangleSpecified {687get {688return this.orientationangleFieldSpecified;689}690set {691this.orientationangleFieldSpecified = value;692}693}694
695
696[XmlAttribute]697public ST_TrueFalse lockrotationcenter {698get {699return this.lockrotationcenterField;700}701set {702this.lockrotationcenterField = value;703}704}705
706
707[XmlIgnore]708public bool lockrotationcenterSpecified {709get {710return this.lockrotationcenterFieldSpecified;711}712set {713this.lockrotationcenterFieldSpecified = value;714}715}716
717
718[XmlAttribute]719public ST_TrueFalse autorotationcenter {720get {721return this.autorotationcenterField;722}723set {724this.autorotationcenterField = value;725}726}727
728
729[XmlIgnore]730public bool autorotationcenterSpecified {731get {732return this.autorotationcenterFieldSpecified;733}734set {735this.autorotationcenterFieldSpecified = value;736}737}738
739
740[XmlAttribute]741public string rotationcenter {742get {743return this.rotationcenterField;744}745set {746this.rotationcenterField = value;747}748}749
750
751[XmlAttribute]752public string rotationangle {753get {754return this.rotationangleField;755}756set {757this.rotationangleField = value;758}759}760
761
762[XmlAttribute]763public ST_ColorMode colormode {764get {765return this.colormodeField;766}767set {768this.colormodeField = value;769}770}771
772
773[XmlIgnore]774public bool colormodeSpecified {775get {776return this.colormodeFieldSpecified;777}778set {779this.colormodeFieldSpecified = value;780}781}782
783
784[XmlAttribute]785public string color {786get {787return this.colorField;788}789set {790this.colorField = value;791}792}793
794
795[XmlAttribute]796public float shininess {797get {798return this.shininessField;799}800set {801this.shininessField = value;802}803}804
805
806[XmlIgnore]807public bool shininessSpecified {808get {809return this.shininessFieldSpecified;810}811set {812this.shininessFieldSpecified = value;813}814}815
816
817[XmlAttribute]818public string specularity {819get {820return this.specularityField;821}822set {823this.specularityField = value;824}825}826
827
828[XmlAttribute]829public string diffusity {830get {831return this.diffusityField;832}833set {834this.diffusityField = value;835}836}837
838
839[XmlAttribute]840public ST_TrueFalse metal {841get {842return this.metalField;843}844set {845this.metalField = value;846}847}848
849
850[XmlIgnore]851public bool metalSpecified {852get {853return this.metalFieldSpecified;854}855set {856this.metalFieldSpecified = value;857}858}859
860
861[XmlAttribute]862public string edge {863get {864return this.edgeField;865}866set {867this.edgeField = value;868}869}870
871
872[XmlAttribute]873public string facet {874get {875return this.facetField;876}877set {878this.facetField = value;879}880}881
882
883[XmlAttribute]884public ST_TrueFalse lightface {885get {886return this.lightfaceField;887}888set {889this.lightfaceField = value;890}891}892
893
894[XmlIgnore]895public bool lightfaceSpecified {896get {897return this.lightfaceFieldSpecified;898}899set {900this.lightfaceFieldSpecified = value;901}902}903
904
905[XmlAttribute]906public string brightness {907get {908return this.brightnessField;909}910set {911this.brightnessField = value;912}913}914
915
916[XmlAttribute]917public string lightposition {918get {919return this.lightpositionField;920}921set {922this.lightpositionField = value;923}924}925
926
927[XmlAttribute]928public string lightlevel {929get {930return this.lightlevelField;931}932set {933this.lightlevelField = value;934}935}936
937
938[XmlAttribute]939public ST_TrueFalse lightharsh {940get {941return this.lightharshField;942}943set {944this.lightharshField = value;945}946}947
948
949[XmlIgnore]950public bool lightharshSpecified {951get {952return this.lightharshFieldSpecified;953}954set {955this.lightharshFieldSpecified = value;956}957}958
959
960[XmlAttribute]961public string lightposition2 {962get {963return this.lightposition2Field;964}965set {966this.lightposition2Field = value;967}968}969
970
971[XmlAttribute]972public string lightlevel2 {973get {974return this.lightlevel2Field;975}976set {977this.lightlevel2Field = value;978}979}980
981
982[XmlAttribute]983public ST_TrueFalse lightharsh2 {984get {985return this.lightharsh2Field;986}987set {988this.lightharsh2Field = value;989}990}991
992
993[XmlIgnore]994public bool lightharsh2Specified {995get {996return this.lightharsh2FieldSpecified;997}998set {999this.lightharsh2FieldSpecified = value;1000}1001}1002}1003
1004
1005[Serializable]1006[XmlType(Namespace="urn:schemas-microsoft-com:office:office")]1007[XmlRoot(Namespace="urn:schemas-microsoft-com:office:office", IsNullable=false)]1008public enum ST_ExtrusionType {1009
1010
1011perspective,1012
1013
1014parallel,1015}1016
1017
1018[Serializable]1019[XmlType(Namespace="urn:schemas-microsoft-com:office:office")]1020[XmlRoot(Namespace="urn:schemas-microsoft-com:office:office", IsNullable=false)]1021public enum ST_ExtrusionRender {1022
1023
1024solid,1025
1026
1027wireFrame,1028
1029
1030boundingCube,1031}1032
1033
1034[Serializable]1035[XmlType(Namespace="urn:schemas-microsoft-com:office:office")]1036[XmlRoot(Namespace="urn:schemas-microsoft-com:office:office", IsNullable=false)]1037public enum ST_ExtrusionPlane {1038
1039
1040XY,1041
1042
1043ZX,1044
1045
1046YZ,1047}1048
1049
1050[Serializable]1051[XmlType(Namespace="urn:schemas-microsoft-com:office:office")]1052[XmlRoot(Namespace="urn:schemas-microsoft-com:office:office", IsNullable=false)]1053public enum ST_ColorMode {1054
1055
1056auto,1057
1058
1059custom,1060}1061
1062
1063[Serializable]1064
1065[System.ComponentModel.DesignerCategory("code")]1066[XmlType(Namespace="urn:schemas-microsoft-com:office:office")]1067[XmlRoot(Namespace="urn:schemas-microsoft-com:office:office", IsNullable=true)]1068public class CT_Callout {1069
1070private ST_Ext extField = ST_Ext.NONE;1071
1072
1073
1074private ST_TrueFalse onField;1075
1076private bool onFieldSpecified;1077
1078private string typeField;1079
1080private string gapField;1081
1082private ST_Angle angleField;1083
1084private bool angleFieldSpecified;1085
1086private ST_TrueFalse dropautoField;1087
1088private bool dropautoFieldSpecified;1089
1090private string dropField;1091
1092private string distanceField;1093
1094private ST_TrueFalse lengthspecifiedField;1095
1096private string lengthField;1097
1098private ST_TrueFalse accentbarField;1099
1100private bool accentbarFieldSpecified;1101
1102private ST_TrueFalse textborderField;1103
1104private bool textborderFieldSpecified;1105
1106private ST_TrueFalse minusxField;1107
1108private bool minusxFieldSpecified;1109
1110private ST_TrueFalse minusyField;1111
1112private bool minusyFieldSpecified;1113
1114public CT_Callout() {1115this.lengthspecifiedField = ST_TrueFalse.f;1116}1117
1118[XmlAttribute(Form = System.Xml.Schema.XmlSchemaForm.Qualified, Namespace = "urn:schemas-microsoft-com:vml")]1119public ST_Ext ext1120{1121get { return this.extField; }1122set { this.extField = value; }1123}1124[XmlIgnore]1125public bool extSpecified1126{1127get { return ST_Ext.NONE != this.extField; }1128}1129
1130[XmlAttribute]1131public ST_TrueFalse on {1132get {1133return this.onField;1134}1135set {1136this.onField = value;1137}1138}1139
1140
1141[XmlIgnore]1142public bool onSpecified {1143get {1144return this.onFieldSpecified;1145}1146set {1147this.onFieldSpecified = value;1148}1149}1150
1151
1152[XmlAttribute]1153public string type {1154get {1155return this.typeField;1156}1157set {1158this.typeField = value;1159}1160}1161
1162
1163[XmlAttribute]1164public string gap {1165get {1166return this.gapField;1167}1168set {1169this.gapField = value;1170}1171}1172
1173
1174[XmlAttribute]1175public ST_Angle angle {1176get {1177return this.angleField;1178}1179set {1180this.angleField = value;1181}1182}1183
1184
1185[XmlIgnore]1186public bool angleSpecified {1187get {1188return this.angleFieldSpecified;1189}1190set {1191this.angleFieldSpecified = value;1192}1193}1194
1195
1196[XmlAttribute]1197public ST_TrueFalse dropauto {1198get {1199return this.dropautoField;1200}1201set {1202this.dropautoField = value;1203}1204}1205
1206
1207[XmlIgnore]1208public bool dropautoSpecified {1209get {1210return this.dropautoFieldSpecified;1211}1212set {1213this.dropautoFieldSpecified = value;1214}1215}1216
1217
1218[XmlAttribute]1219public string drop {1220get {1221return this.dropField;1222}1223set {1224this.dropField = value;1225}1226}1227
1228
1229[XmlAttribute]1230public string distance {1231get {1232return this.distanceField;1233}1234set {1235this.distanceField = value;1236}1237}1238
1239
1240[XmlAttribute]1241[DefaultValue(ST_TrueFalse.f)]1242public ST_TrueFalse lengthspecified {1243get {1244return this.lengthspecifiedField;1245}1246set {1247this.lengthspecifiedField = value;1248}1249}1250
1251
1252[XmlAttribute]1253public string length {1254get {1255return this.lengthField;1256}1257set {1258this.lengthField = value;1259}1260}1261
1262
1263[XmlAttribute]1264public ST_TrueFalse accentbar {1265get {1266return this.accentbarField;1267}1268set {1269this.accentbarField = value;1270}1271}1272
1273
1274[XmlIgnore]1275public bool accentbarSpecified {1276get {1277return this.accentbarFieldSpecified;1278}1279set {1280this.accentbarFieldSpecified = value;1281}1282}1283
1284
1285[XmlAttribute]1286public ST_TrueFalse textborder {1287get {1288return this.textborderField;1289}1290set {1291this.textborderField = value;1292}1293}1294
1295
1296[XmlIgnore]1297public bool textborderSpecified {1298get {1299return this.textborderFieldSpecified;1300}1301set {1302this.textborderFieldSpecified = value;1303}1304}1305
1306
1307[XmlAttribute]1308public ST_TrueFalse minusx {1309get {1310return this.minusxField;1311}1312set {1313this.minusxField = value;1314}1315}1316
1317
1318[XmlIgnore]1319public bool minusxSpecified {1320get {1321return this.minusxFieldSpecified;1322}1323set {1324this.minusxFieldSpecified = value;1325}1326}1327
1328
1329[XmlAttribute]1330public ST_TrueFalse minusy {1331get {1332return this.minusyField;1333}1334set {1335this.minusyField = value;1336}1337}1338
1339
1340[XmlIgnore]1341public bool minusySpecified {1342get {1343return this.minusyFieldSpecified;1344}1345set {1346this.minusyFieldSpecified = value;1347}1348}1349}1350
1351
1352[Serializable]1353[XmlType(Namespace="urn:schemas-microsoft-com:office:office")]1354[XmlRoot(Namespace="urn:schemas-microsoft-com:office:office", IsNullable=false)]1355public enum ST_Angle {1356
1357
1358any,1359
1360
1361[XmlEnum("30")]1362Item30,1363
1364
1365[XmlEnum("45")]1366Item45,1367
1368
1369[XmlEnum("60")]1370Item60,1371
1372
1373[XmlEnum("90")]1374Item90,1375
1376
1377auto,1378}1379
1380
1381[Serializable]1382
1383[System.ComponentModel.DesignerCategory("code")]1384[XmlType(Namespace="urn:schemas-microsoft-com:office:office")]1385[XmlRoot(Namespace="urn:schemas-microsoft-com:office:office", IsNullable=true)]1386public class CT_Lock {1387
1388private ST_Ext extField = ST_Ext.NONE;1389
1390
1391
1392private ST_TrueFalse positionField;1393
1394private bool positionFieldSpecified;1395
1396private ST_TrueFalse selectionField;1397
1398private bool selectionFieldSpecified;1399
1400private ST_TrueFalse groupingField;1401
1402private bool groupingFieldSpecified;1403
1404private ST_TrueFalse ungroupingField;1405
1406private bool ungroupingFieldSpecified;1407
1408private ST_TrueFalse rotationField;1409
1410private bool rotationFieldSpecified;1411
1412private ST_TrueFalse croppingField;1413
1414private bool croppingFieldSpecified;1415
1416private ST_TrueFalse verticiesField;1417
1418private bool verticiesFieldSpecified;1419
1420private ST_TrueFalse adjusthandlesField;1421
1422private bool adjusthandlesFieldSpecified;1423
1424private ST_TrueFalse textField;1425
1426private bool textFieldSpecified;1427
1428private ST_TrueFalse aspectratioField;1429
1430private bool aspectratioFieldSpecified;1431
1432private ST_TrueFalse shapetypeField;1433
1434private bool shapetypeFieldSpecified;1435
1436[XmlAttribute(Form = System.Xml.Schema.XmlSchemaForm.Qualified, Namespace = "urn:schemas-microsoft-com:vml")]1437public ST_Ext ext1438{1439get { return this.extField; }1440set { this.extField = value; }1441}1442[XmlIgnore]1443public bool extSpecified1444{1445get { return ST_Ext.NONE != this.extField; }1446}1447
1448[XmlAttribute]1449public ST_TrueFalse position {1450get {1451return this.positionField;1452}1453set {1454this.positionField = value;1455}1456}1457
1458
1459[XmlIgnore]1460public bool positionSpecified {1461get {1462return this.positionFieldSpecified;1463}1464set {1465this.positionFieldSpecified = value;1466}1467}1468
1469
1470[XmlAttribute]1471public ST_TrueFalse selection {1472get {1473return this.selectionField;1474}1475set {1476this.selectionField = value;1477}1478}1479
1480
1481[XmlIgnore]1482public bool selectionSpecified {1483get {1484return this.selectionFieldSpecified;1485}1486set {1487this.selectionFieldSpecified = value;1488}1489}1490
1491
1492[XmlAttribute]1493public ST_TrueFalse grouping {1494get {1495return this.groupingField;1496}1497set {1498this.groupingField = value;1499}1500}1501
1502
1503[XmlIgnore]1504public bool groupingSpecified {1505get {1506return this.groupingFieldSpecified;1507}1508set {1509this.groupingFieldSpecified = value;1510}1511}1512
1513
1514[XmlAttribute]1515public ST_TrueFalse ungrouping {1516get {1517return this.ungroupingField;1518}1519set {1520this.ungroupingField = value;1521}1522}1523
1524
1525[XmlIgnore]1526public bool ungroupingSpecified {1527get {1528return this.ungroupingFieldSpecified;1529}1530set {1531this.ungroupingFieldSpecified = value;1532}1533}1534
1535
1536[XmlAttribute]1537public ST_TrueFalse rotation {1538get {1539return this.rotationField;1540}1541set {1542this.rotationField = value;1543}1544}1545
1546
1547[XmlIgnore]1548public bool rotationSpecified {1549get {1550return this.rotationFieldSpecified;1551}1552set {1553this.rotationFieldSpecified = value;1554}1555}1556
1557
1558[XmlAttribute]1559public ST_TrueFalse cropping {1560get {1561return this.croppingField;1562}1563set {1564this.croppingField = value;1565}1566}1567
1568
1569[XmlIgnore]1570public bool croppingSpecified {1571get {1572return this.croppingFieldSpecified;1573}1574set {1575this.croppingFieldSpecified = value;1576}1577}1578
1579
1580[XmlAttribute]1581public ST_TrueFalse verticies {1582get {1583return this.verticiesField;1584}1585set {1586this.verticiesField = value;1587}1588}1589
1590
1591[XmlIgnore]1592public bool verticiesSpecified {1593get {1594return this.verticiesFieldSpecified;1595}1596set {1597this.verticiesFieldSpecified = value;1598}1599}1600
1601
1602[XmlAttribute]1603public ST_TrueFalse adjusthandles {1604get {1605return this.adjusthandlesField;1606}1607set {1608this.adjusthandlesField = value;1609}1610}1611
1612
1613[XmlIgnore]1614public bool adjusthandlesSpecified {1615get {1616return this.adjusthandlesFieldSpecified;1617}1618set {1619this.adjusthandlesFieldSpecified = value;1620}1621}1622
1623
1624[XmlAttribute]1625public ST_TrueFalse text {1626get {1627return this.textField;1628}1629set {1630this.textField = value;1631}1632}1633
1634
1635[XmlIgnore]1636public bool textSpecified {1637get {1638return this.textFieldSpecified;1639}1640set {1641this.textFieldSpecified = value;1642}1643}1644
1645
1646[XmlAttribute]1647public ST_TrueFalse aspectratio {1648get {1649return this.aspectratioField;1650}1651set {1652this.aspectratioField = value;1653}1654}1655
1656
1657[XmlIgnore]1658public bool aspectratioSpecified {1659get {1660return this.aspectratioFieldSpecified;1661}1662set {1663this.aspectratioFieldSpecified = value;1664}1665}1666
1667
1668[XmlAttribute]1669public ST_TrueFalse shapetype {1670get {1671return this.shapetypeField;1672}1673set {1674this.shapetypeField = value;1675}1676}1677
1678
1679[XmlIgnore]1680public bool shapetypeSpecified {1681get {1682return this.shapetypeFieldSpecified;1683}1684set {1685this.shapetypeFieldSpecified = value;1686}1687}1688
1689public static CT_Lock Parse(XmlNode node, XmlNamespaceManager namespaceManager)1690{1691if (node == null)1692return null;1693CT_Lock ctObj = new CT_Lock();1694if (node.Attributes["v:ext"] != null)1695ctObj.ext = (ST_Ext)Enum.Parse(typeof(ST_Ext), node.Attributes["v:ext"].Value);1696if (node.Attributes["position"] != null)1697ctObj.position = NPOI.OpenXmlFormats.Util.XmlHelper.ReadTrueFalse(node.Attributes["position"]);1698if (node.Attributes["selection"] != null)1699ctObj.selection = NPOI.OpenXmlFormats.Util.XmlHelper.ReadTrueFalse(node.Attributes["selection"]);1700if (node.Attributes["grouping"] != null)1701ctObj.grouping = NPOI.OpenXmlFormats.Util.XmlHelper.ReadTrueFalse(node.Attributes["grouping"]);1702if (node.Attributes["ungrouping"] != null)1703ctObj.ungrouping = NPOI.OpenXmlFormats.Util.XmlHelper.ReadTrueFalse(node.Attributes["ungrouping"]);1704if (node.Attributes["rotation"] != null)1705ctObj.rotation = NPOI.OpenXmlFormats.Util.XmlHelper.ReadTrueFalse(node.Attributes["rotation"]);1706if (node.Attributes["cropping"] != null)1707ctObj.cropping = NPOI.OpenXmlFormats.Util.XmlHelper.ReadTrueFalse(node.Attributes["cropping"]);1708if (node.Attributes["verticies"] != null)1709ctObj.verticies = NPOI.OpenXmlFormats.Util.XmlHelper.ReadTrueFalse(node.Attributes["verticies"]);1710if (node.Attributes["adjusthandles"] != null)1711ctObj.adjusthandles = NPOI.OpenXmlFormats.Util.XmlHelper.ReadTrueFalse(node.Attributes["adjusthandles"]);1712if (node.Attributes["text"] != null)1713ctObj.text = NPOI.OpenXmlFormats.Util.XmlHelper.ReadTrueFalse(node.Attributes["text"]);1714if (node.Attributes["aspectratio"] != null)1715ctObj.aspectratio = NPOI.OpenXmlFormats.Util.XmlHelper.ReadTrueFalse(node.Attributes["aspectratio"]);1716if (node.Attributes["shapetype"] != null)1717ctObj.shapetype = NPOI.OpenXmlFormats.Util.XmlHelper.ReadTrueFalse(node.Attributes["shapetype"]);1718return ctObj;1719}1720
1721
1722
1723internal void Write(StreamWriter sw, string nodeName)1724{1725sw.Write(string.Format("<o:{0}", nodeName));1726if(this.ext != ST_Ext.NONE)1727XmlHelper.WriteAttribute(sw, "v:ext", this.ext.ToString());1728NPOI.OpenXmlFormats.Util.XmlHelper.WriteAttribute(sw, "position", this.position);1729NPOI.OpenXmlFormats.Util.XmlHelper.WriteAttribute(sw, "selection", this.selection);1730NPOI.OpenXmlFormats.Util.XmlHelper.WriteAttribute(sw, "grouping", this.grouping);1731NPOI.OpenXmlFormats.Util.XmlHelper.WriteAttribute(sw, "ungrouping", this.ungrouping);1732NPOI.OpenXmlFormats.Util.XmlHelper.WriteAttribute(sw, "rotation", this.rotation);1733NPOI.OpenXmlFormats.Util.XmlHelper.WriteAttribute(sw, "cropping", this.cropping);1734NPOI.OpenXmlFormats.Util.XmlHelper.WriteAttribute(sw, "verticies", this.verticies);1735NPOI.OpenXmlFormats.Util.XmlHelper.WriteAttribute(sw, "adjusthandles", this.adjusthandles);1736NPOI.OpenXmlFormats.Util.XmlHelper.WriteAttribute(sw, "text", this.text);1737NPOI.OpenXmlFormats.Util.XmlHelper.WriteAttribute(sw, "aspectratio", this.aspectratio);1738NPOI.OpenXmlFormats.Util.XmlHelper.WriteAttribute(sw, "shapetype", this.shapetype);1739sw.Write("/>");1740}1741}1742
1743
1744[Serializable]1745
1746[System.ComponentModel.DesignerCategory("code")]1747[XmlType(Namespace="urn:schemas-microsoft-com:office:office")]1748[XmlRoot(Namespace="urn:schemas-microsoft-com:office:office", IsNullable=true)]1749public class CT_ColorMru {1750
1751private ST_Ext extField = ST_Ext.NONE;1752
1753
1754
1755private string colorsField;1756
1757[XmlAttribute(Form = System.Xml.Schema.XmlSchemaForm.Qualified, Namespace = "urn:schemas-microsoft-com:vml")]1758public ST_Ext ext1759{1760get { return this.extField; }1761set { this.extField = value; }1762}1763[XmlIgnore]1764public bool extSpecified1765{1766get { return ST_Ext.NONE != this.extField; }1767}1768
1769[XmlAttribute]1770public string colors {1771get {1772return this.colorsField;1773}1774set {1775this.colorsField = value;1776}1777}1778}1779
1780
1781[Serializable]1782
1783[System.ComponentModel.DesignerCategory("code")]1784[XmlType(Namespace="urn:schemas-microsoft-com:office:office")]1785[XmlRoot(Namespace="urn:schemas-microsoft-com:office:office", IsNullable=true)]1786public class CT_ColorMenu {1787
1788private ST_Ext extField = ST_Ext.NONE;1789
1790
1791
1792private string strokecolorField;1793
1794private string fillcolorField;1795
1796private string shadowcolorField;1797
1798private string extrusioncolorField;1799
1800[XmlAttribute(Form = System.Xml.Schema.XmlSchemaForm.Qualified, Namespace = "urn:schemas-microsoft-com:vml")]1801public ST_Ext ext1802{1803get { return this.extField; }1804set { this.extField = value; }1805}1806[XmlIgnore]1807public bool extSpecified1808{1809get { return ST_Ext.NONE != this.extField; }1810}1811
1812[XmlAttribute]1813public string strokecolor {1814get {1815return this.strokecolorField;1816}1817set {1818this.strokecolorField = value;1819}1820}1821
1822
1823[XmlAttribute]1824public string fillcolor {1825get {1826return this.fillcolorField;1827}1828set {1829this.fillcolorField = value;1830}1831}1832
1833
1834[XmlAttribute]1835public string shadowcolor {1836get {1837return this.shadowcolorField;1838}1839set {1840this.shadowcolorField = value;1841}1842}1843
1844
1845[XmlAttribute]1846public string extrusioncolor {1847get {1848return this.extrusioncolorField;1849}1850set {1851this.extrusioncolorField = value;1852}1853}1854}1855
1856
1857[Serializable]1858
1859[System.ComponentModel.DesignerCategory("code")]1860[XmlType(Namespace="urn:schemas-microsoft-com:office:office")]1861[XmlRoot(Namespace="urn:schemas-microsoft-com:office:office", IsNullable=true)]1862public class CT_Ink {1863
1864private byte[] iField;1865
1866private ST_TrueFalse annotationField;1867
1868private bool annotationFieldSpecified;1869
1870
1871[XmlAttribute(DataType="base64Binary")]1872public byte[] i {1873get {1874return this.iField;1875}1876set {1877this.iField = value;1878}1879}1880
1881
1882[XmlAttribute]1883public ST_TrueFalse annotation {1884get {1885return this.annotationField;1886}1887set {1888this.annotationField = value;1889}1890}1891
1892
1893[XmlIgnore]1894public bool annotationSpecified {1895get {1896return this.annotationFieldSpecified;1897}1898set {1899this.annotationFieldSpecified = value;1900}1901}1902}1903
1904
1905[Serializable]1906
1907[System.ComponentModel.DesignerCategory("code")]1908[XmlType(Namespace="urn:schemas-microsoft-com:office:office")]1909[XmlRoot(Namespace="urn:schemas-microsoft-com:office:office", IsNullable=true)]1910public class CT_SignatureLine {1911
1912private ST_Ext extField = ST_Ext.NONE;1913
1914
1915
1916private ST_TrueFalse issignaturelineField;1917
1918private bool issignaturelineFieldSpecified;1919
1920private string idField;1921
1922private string providField;1923
1924private ST_TrueFalse signinginstructionssetField;1925
1926private bool signinginstructionssetFieldSpecified;1927
1928private ST_TrueFalse allowcommentsField;1929
1930private bool allowcommentsFieldSpecified;1931
1932private ST_TrueFalse showsigndateField;1933
1934private bool showsigndateFieldSpecified;1935
1936private string suggestedsignerField;1937
1938private string suggestedsigner2Field;1939
1940private string suggestedsigneremailField;1941
1942private string signinginstructionsField;1943
1944private string addlxmlField;1945
1946private string sigprovurlField;1947
1948[XmlAttribute(Form = System.Xml.Schema.XmlSchemaForm.Qualified, Namespace = "urn:schemas-microsoft-com:vml")]1949public ST_Ext ext1950{1951get { return this.extField; }1952set { this.extField = value; }1953}1954[XmlIgnore]1955public bool extSpecified1956{1957get { return ST_Ext.NONE != this.extField; }1958}1959
1960[XmlAttribute]1961public ST_TrueFalse issignatureline {1962get {1963return this.issignaturelineField;1964}1965set {1966this.issignaturelineField = value;1967}1968}1969
1970
1971[XmlIgnore]1972public bool issignaturelineSpecified {1973get {1974return this.issignaturelineFieldSpecified;1975}1976set {1977this.issignaturelineFieldSpecified = value;1978}1979}1980
1981
1982[XmlAttribute(DataType = "token")]1983public string id {1984get {1985return this.idField;1986}1987set {1988this.idField = value;1989}1990}1991
1992
1993[XmlAttribute(DataType="token")]1994public string provid {1995get {1996return this.providField;1997}1998set {1999this.providField = value;2000}2001}2002
2003
2004[XmlAttribute]2005public ST_TrueFalse signinginstructionsset {2006get {2007return this.signinginstructionssetField;2008}2009set {2010this.signinginstructionssetField = value;2011}2012}2013
2014
2015[XmlIgnore]2016public bool signinginstructionssetSpecified {2017get {2018return this.signinginstructionssetFieldSpecified;2019}2020set {2021this.signinginstructionssetFieldSpecified = value;2022}2023}2024
2025
2026[XmlAttribute]2027public ST_TrueFalse allowcomments {2028get {2029return this.allowcommentsField;2030}2031set {2032this.allowcommentsField = value;2033}2034}2035
2036
2037[XmlIgnore]2038public bool allowcommentsSpecified {2039get {2040return this.allowcommentsFieldSpecified;2041}2042set {2043this.allowcommentsFieldSpecified = value;2044}2045}2046
2047
2048[XmlAttribute]2049public ST_TrueFalse showsigndate {2050get {2051return this.showsigndateField;2052}2053set {2054this.showsigndateField = value;2055}2056}2057
2058
2059[XmlIgnore]2060public bool showsigndateSpecified {2061get {2062return this.showsigndateFieldSpecified;2063}2064set {2065this.showsigndateFieldSpecified = value;2066}2067}2068
2069
2070[XmlAttribute(Form=System.Xml.Schema.XmlSchemaForm.Qualified)]2071public string suggestedsigner {2072get {2073return this.suggestedsignerField;2074}2075set {2076this.suggestedsignerField = value;2077}2078}2079
2080
2081[XmlAttribute(Form=System.Xml.Schema.XmlSchemaForm.Qualified)]2082public string suggestedsigner2 {2083get {2084return this.suggestedsigner2Field;2085}2086set {2087this.suggestedsigner2Field = value;2088}2089}2090
2091
2092[XmlAttribute(Form=System.Xml.Schema.XmlSchemaForm.Qualified)]2093public string suggestedsigneremail {2094get {2095return this.suggestedsigneremailField;2096}2097set {2098this.suggestedsigneremailField = value;2099}2100}2101
2102
2103[XmlAttribute]2104public string signinginstructions {2105get {2106return this.signinginstructionsField;2107}2108set {2109this.signinginstructionsField = value;2110}2111}2112
2113
2114[XmlAttribute]2115public string addlxml {2116get {2117return this.addlxmlField;2118}2119set {2120this.addlxmlField = value;2121}2122}2123
2124
2125[XmlAttribute]2126public string sigprovurl {2127get {2128return this.sigprovurlField;2129}2130set {2131this.sigprovurlField = value;2132}2133}2134}2135
2136
2137[Serializable]2138
2139[System.ComponentModel.DesignerCategory("code")]2140[XmlType(Namespace = "urn:schemas-microsoft-com:office:office")]2141[XmlRoot("shapelayout",Namespace = "urn:schemas-microsoft-com:office:office", IsNullable = true)]2142public class CT_ShapeLayout2143{2144private CT_IdMap idmapField = null;2145private CT_RegroupTable regrouptableField = null;2146private CT_Rules rulesField = null;2147private ST_Ext extField = ST_Ext.NONE;2148
2149//static XmlSerializer serializer = new XmlSerializer(typeof(CT_ShapeLayout), "urn:schemas-microsoft-com:office:office");2150//public static CT_ShapeLayout Parse(string xmltext)2151//{2152// TextReader tr = new StringReader(xmltext);2153// CT_ShapeLayout obj = (CT_ShapeLayout)serializer.Deserialize(tr);2154// return obj;2155//}2156
2157public CT_IdMap AddNewIdmap()2158{2159idmapField = new CT_IdMap();2160return idmapField;2161}2162
2163[XmlElement]2164public CT_IdMap idmap2165{2166get { return this.idmapField; }2167set { this.idmapField = value; }2168}2169
2170[XmlElement]2171public CT_RegroupTable regrouptable2172{2173get { return this.regrouptableField; }2174set { this.regrouptableField = value; }2175}2176
2177[XmlElement]2178public CT_Rules rules2179{2180get { return this.rulesField; }2181set { this.rulesField = value; }2182}2183
2184
2185[XmlAttribute(Form = System.Xml.Schema.XmlSchemaForm.Qualified, Namespace = "urn:schemas-microsoft-com:vml")]2186public ST_Ext ext2187{2188get { return this.extField; }2189set { this.extField = value; }2190}2191[XmlIgnore]2192public bool extSpecified2193{2194get { return ST_Ext.NONE != this.extField; }2195}2196//internal static XmlSerializerNamespaces namespaces = new XmlSerializerNamespaces(new XmlQualifiedName[] {2197// new XmlQualifiedName("o", "urn:schemas-microsoft-com:office:office"),2198// new XmlQualifiedName("x", "urn:schemas-microsoft-com:office:excel"),2199// new XmlQualifiedName("v", "urn:schemas-microsoft-com:vml")2200//});2201
2202//public override string ToString()2203//{2204// using (StringWriter stringWriter = new StringWriter())2205// {2206// XmlWriterSettings settings = new XmlWriterSettings();2207
2208// settings.Encoding = Encoding.UTF8;2209// settings.OmitXmlDeclaration = true;2210// using (XmlWriter writer = XmlWriter.Create(stringWriter, settings))2211// {2212// serializer.Serialize(writer, this, namespaces);2213// }2214// return stringWriter.ToString();2215// }2216//}2217
2218public static CT_ShapeLayout Parse(XmlNode node, XmlNamespaceManager namespaceManager)2219{2220if (node == null)2221return null;2222CT_ShapeLayout ctObj = new CT_ShapeLayout();2223if (node.Attributes["v:ext"] != null)2224ctObj.ext = (ST_Ext)Enum.Parse(typeof(ST_Ext), node.Attributes["v:ext"].Value);2225foreach (XmlNode childNode in node.ChildNodes)2226{2227if (childNode.LocalName == "idmap")2228ctObj.idmap = CT_IdMap.Parse(childNode, namespaceManager);2229else if (childNode.LocalName == "regrouptable")2230ctObj.regrouptable = CT_RegroupTable.Parse(childNode, namespaceManager);2231else if (childNode.LocalName == "rules")2232ctObj.rules = CT_Rules.Parse(childNode, namespaceManager);2233}2234return ctObj;2235}2236
2237
2238
2239public void Write(StreamWriter sw, string nodeName)2240{2241sw.Write(string.Format("<o:{0}", nodeName));2242XmlHelper.WriteAttribute(sw, "v:ext", this.ext.ToString());2243sw.Write(">");2244if (this.idmap != null)2245this.idmap.Write(sw, "idmap");2246if (this.regrouptable != null)2247this.regrouptable.Write(sw, "regrouptable");2248if (this.rules != null)2249this.rules.Write(sw, "rules");2250sw.Write(string.Format("</o:{0}>", nodeName));2251}2252
2253}2254
2255
2256[Serializable]2257
2258[System.ComponentModel.DesignerCategory("code")]2259[XmlType(Namespace = "urn:schemas-microsoft-com:office:office")]2260[XmlRoot(Namespace = "urn:schemas-microsoft-com:office:office", IsNullable = true)]2261public class CT_IdMap2262{2263private ST_Ext extField = ST_Ext.NONE;2264private string dataField = null;2265
2266[XmlAttribute(Form = System.Xml.Schema.XmlSchemaForm.Qualified, Namespace = "urn:schemas-microsoft-com:vml")]2267public ST_Ext ext2268{2269get { return this.extField; }2270set { this.extField = value; }2271}2272[XmlIgnore]2273public bool extSpecified2274{2275get { return ST_Ext.NONE != this.extField; }2276}2277
2278[XmlAttribute]2279public string data2280{2281get { return this.dataField; }2282set { this.dataField = value; }2283}2284[XmlIgnore]2285public bool dataSpecified2286{2287get { return null != this.dataField; }2288}2289
2290public static CT_IdMap Parse(XmlNode node, XmlNamespaceManager namespaceManager)2291{2292if (node == null)2293return null;2294CT_IdMap ctObj = new CT_IdMap();2295if (node.Attributes["v:ext"] != null)2296ctObj.ext = (ST_Ext)Enum.Parse(typeof(ST_Ext), node.Attributes["v:ext"].Value);2297ctObj.data = XmlHelper.ReadString(node.Attributes["data"]);2298return ctObj;2299}2300
2301internal void Write(StreamWriter sw, string nodeName)2302{2303sw.Write(string.Format("<o:{0}", nodeName));2304XmlHelper.WriteAttribute(sw, "v:ext", this.ext.ToString());2305XmlHelper.WriteAttribute(sw, "data", this.data);2306sw.Write("/>");2307}2308
2309}2310
2311
2312[Serializable]2313
2314[System.ComponentModel.DesignerCategory("code")]2315[XmlType(Namespace = "urn:schemas-microsoft-com:office:office")]2316[XmlRoot(Namespace = "urn:schemas-microsoft-com:office:office", IsNullable = true)]2317public class CT_RegroupTable2318{2319public static CT_RegroupTable Parse(XmlNode node, XmlNamespaceManager namespaceManager)2320{2321if (node == null)2322return null;2323CT_RegroupTable ctObj = new CT_RegroupTable();2324if (node.Attributes["v:ext"] != null)2325ctObj.ext = (ST_Ext)Enum.Parse(typeof(ST_Ext), node.Attributes["v:ext"].Value);2326ctObj.entry = new List<CT_Entry>();2327foreach (XmlNode childNode in node.ChildNodes)2328{2329if (childNode.LocalName == "entry")2330ctObj.entry.Add(CT_Entry.Parse(childNode, namespaceManager));2331}2332return ctObj;2333}2334
2335
2336
2337internal void Write(StreamWriter sw, string nodeName)2338{2339sw.Write(string.Format("<o:{0}", nodeName));2340XmlHelper.WriteAttribute(sw, "v:ext", this.ext.ToString());2341sw.Write(">");2342if (this.entry != null)2343{2344foreach (CT_Entry x in this.entry)2345{2346x.Write(sw, "entry");2347}2348}2349sw.Write(string.Format("</o:{0}>", nodeName));2350}2351
2352
2353private List<CT_Entry> entryField = null; // 0..*2354private ST_Ext extField = ST_Ext.NONE;2355
2356[XmlElement("entry")]2357public List<CT_Entry> entry2358{2359get { return this.entryField; }2360set { this.entryField = value; }2361}2362
2363[XmlAttribute(Form = System.Xml.Schema.XmlSchemaForm.Qualified, Namespace = "urn:schemas-microsoft-com:vml")]2364public ST_Ext ext2365{2366get { return this.extField; }2367set { this.extField = value; }2368}2369[XmlIgnore]2370public bool extSpecified2371{2372get { return ST_Ext.NONE != this.extField; }2373}2374}2375
2376
2377[Serializable]2378
2379[System.ComponentModel.DesignerCategory("code")]2380[XmlType(Namespace = "urn:schemas-microsoft-com:office:office")]2381[XmlRoot(Namespace = "urn:schemas-microsoft-com:office:office", IsNullable = true)]2382public class CT_Entry2383{2384private int? newField = null;2385private int? oldField = null;2386
2387[XmlAttribute]2388public int? @new2389{2390get { return newField; }2391set { newField = value; }2392}2393[XmlIgnore]2394public bool newSpecified2395{2396get { return null != this.newField; }2397}2398
2399[XmlAttribute]2400public int? old2401{2402get { return oldField; }2403set { oldField = value; }2404}2405[XmlIgnore]2406public bool oldSpecified2407{2408get { return null != this.oldField; }2409}2410public static CT_Entry Parse(XmlNode node, XmlNamespaceManager namespaceManager)2411{2412if (node == null)2413return null;2414CT_Entry ctObj = new CT_Entry();2415if (node.Attributes["new"] != null)2416ctObj.@new = XmlHelper.ReadInt(node.Attributes["new"]);2417if (node.Attributes["old"] != null)2418ctObj.old = XmlHelper.ReadInt(node.Attributes["old"]);2419return ctObj;2420}2421
2422
2423
2424internal void Write(StreamWriter sw, string nodeName)2425{2426sw.Write(string.Format("<o:{0}", nodeName));2427
2428if(@new.HasValue)2429{2430XmlHelper.WriteAttribute(sw, "new", @new.Value);2431}2432
2433if(old.HasValue)2434{2435XmlHelper.WriteAttribute(sw, "old", old.Value);2436}2437
2438sw.Write(">");2439sw.Write(string.Format("</o:{0}>", nodeName));2440}2441
2442}2443
2444
2445[Serializable]2446
2447[System.ComponentModel.DesignerCategory("code")]2448[XmlType(Namespace = "urn:schemas-microsoft-com:office:office")]2449[XmlRoot(Namespace = "urn:schemas-microsoft-com:office:office", IsNullable = true)]2450public class CT_Rules2451{2452private List<CT_R> rField = null; // 0..*2453private ST_Ext extField = ST_Ext.NONE;2454
2455
2456[XmlElement("r")]2457public List<CT_R> r2458{2459get { return this.rField; }2460set { this.rField = value; }2461}2462
2463[XmlAttribute(Form = System.Xml.Schema.XmlSchemaForm.Qualified, Namespace = "urn:schemas-microsoft-com:vml")]2464public ST_Ext ext2465{2466get { return this.extField; }2467set { this.extField = value; }2468}2469[XmlIgnore]2470public bool extSpecified2471{2472get { return ST_Ext.NONE != this.extField; }2473}2474
2475public static CT_Rules Parse(XmlNode node, XmlNamespaceManager namespaceManager)2476{2477if (node == null)2478return null;2479CT_Rules ctObj = new CT_Rules();2480if (node.Attributes["v:ext"] != null)2481ctObj.ext = (ST_Ext)Enum.Parse(typeof(ST_Ext), node.Attributes["v:ext"].Value);2482ctObj.r = new List<CT_R>();2483foreach (XmlNode childNode in node.ChildNodes)2484{2485if (childNode.LocalName == "r")2486ctObj.r.Add(CT_R.Parse(childNode, namespaceManager));2487}2488return ctObj;2489}2490
2491
2492
2493internal void Write(StreamWriter sw, string nodeName)2494{2495sw.Write(string.Format("<o:{0}", nodeName));2496if(this.ext!= ST_Ext.NONE)2497XmlHelper.WriteAttribute(sw, "v:ext", this.ext.ToString());2498sw.Write(">");2499if (this.r != null)2500{2501foreach (CT_R x in this.r)2502{2503x.Write(sw, "r");2504}2505}2506sw.Write(string.Format("</o:{0}>", nodeName));2507}2508
2509}2510
2511
2512[Serializable]2513
2514[System.ComponentModel.DesignerCategory("code")]2515[XmlType(Namespace = "urn:schemas-microsoft-com:office:office")]2516[XmlRoot(Namespace = "urn:schemas-microsoft-com:office:office", IsNullable = true)]2517public class CT_R2518{2519
2520private List<CT_Proxy> proxyField = null; // 0..*2521private string idField = string.Empty; // 1..12522private ST_RType typeField = ST_RType.NONE; // others optional2523private ST_How howField = ST_How.NONE;2524private string idrefField = null;2525
2526[XmlElement("proxy")]2527public List<CT_Proxy> proxy2528{2529get { return this.proxyField; }2530set { this.proxyField = value; }2531}2532
2533[XmlAttribute]2534public string id2535{2536get { return this.idField; }2537set { this.idField = value; }2538}2539
2540[XmlAttribute]2541public ST_RType type2542{2543get { return this.typeField; }2544set { this.typeField = value; }2545}2546[XmlIgnore]2547public bool typeSpecified2548{2549get { return ST_RType.NONE != this.typeField; }2550}2551
2552[XmlAttribute]2553public ST_How how2554{2555get { return this.howField; }2556set { this.howField = value; }2557}2558[XmlIgnore]2559public bool howSpecified2560{2561get { return ST_How.NONE != this.howField; }2562}2563
2564[XmlAttribute]2565public string idref2566{2567get { return this.idrefField; }2568set { this.idrefField = value; }2569}2570[XmlIgnore]2571public bool idrefSpecified2572{2573get { return null != this.idrefField; }2574}2575
2576public static CT_R Parse(XmlNode node, XmlNamespaceManager namespaceManager)2577{2578if (node == null)2579return null;2580CT_R ctObj = new CT_R();2581ctObj.id = XmlHelper.ReadString(node.Attributes["id"]);2582if (node.Attributes["type"] != null)2583ctObj.type = (ST_RType)Enum.Parse(typeof(ST_RType), node.Attributes["type"].Value);2584if (node.Attributes["how"] != null)2585ctObj.how = (ST_How)Enum.Parse(typeof(ST_How), node.Attributes["how"].Value);2586ctObj.idref = XmlHelper.ReadString(node.Attributes["idref"]);2587ctObj.proxy = new List<CT_Proxy>();2588foreach (XmlNode childNode in node.ChildNodes)2589{2590if (childNode.LocalName == "proxy")2591ctObj.proxy.Add(CT_Proxy.Parse(childNode, namespaceManager));2592}2593return ctObj;2594}2595
2596
2597
2598internal void Write(StreamWriter sw, string nodeName)2599{2600sw.Write(string.Format("<o:{0}", nodeName));2601XmlHelper.WriteAttribute(sw, "id", this.id);2602if(this.type!=ST_RType.NONE)2603XmlHelper.WriteAttribute(sw, "type", this.type.ToString());2604if (this.how != ST_How.NONE)2605XmlHelper.WriteAttribute(sw, "how", this.how.ToString());2606XmlHelper.WriteAttribute(sw, "idref", this.idref);2607sw.Write(">");2608if (this.proxy != null)2609{2610foreach (CT_Proxy x in this.proxy)2611{2612x.Write(sw, "proxy");2613}2614}2615sw.Write(string.Format("</o:{0}>", nodeName));2616}2617}2618
2619
2620[Serializable]2621
2622[System.ComponentModel.DesignerCategory("code")]2623[XmlType(Namespace = "urn:schemas-microsoft-com:office:office")]2624[XmlRoot(Namespace = "urn:schemas-microsoft-com:office:office", IsNullable = true)]2625public class CT_Proxy2626{2627
2628private ST_TrueFalseBlank startField = ST_TrueFalseBlank.NONE;2629private ST_TrueFalseBlank endField = ST_TrueFalseBlank.NONE;2630private string idrefField = null;2631private int? connectlocField;2632
2633[XmlAttribute]2634[DefaultValue(ST_TrueFalseBlank.@false)]2635public ST_TrueFalseBlank start2636{2637get { return this.startField; }2638set { this.startField = value; }2639}2640[XmlIgnore]2641public bool startSpecified2642{2643get { return (ST_TrueFalseBlank.NONE != startField); }2644}2645
2646[XmlAttribute]2647[DefaultValue(ST_TrueFalseBlank.@false)]2648public ST_TrueFalseBlank end2649{2650get { return this.endField; }2651set { this.endField = value; }2652}2653[XmlIgnore]2654public bool endSpecified2655{2656get { return (ST_TrueFalseBlank.NONE != endField); }2657}2658
2659[XmlAttribute]2660public string idref2661{2662get { return this.idrefField; }2663set { this.idrefField = value; }2664}2665[XmlIgnore]2666public bool idrefSpecified2667{2668get { return (null != idrefField); }2669}2670
2671[XmlAttribute]2672public int connectloc2673{2674get { return (int)this.connectlocField; }2675set { this.connectlocField = value; }2676}2677[XmlIgnore]2678public bool connectlocSpecified2679{2680get2681{2682return null != this.connectlocField;2683}2684}2685
2686public static CT_Proxy Parse(XmlNode node, XmlNamespaceManager namespaceManager)2687{2688if (node == null)2689return null;2690CT_Proxy ctObj = new CT_Proxy();2691if (node.Attributes["start"] != null)2692ctObj.start = NPOI.OpenXmlFormats.Util.XmlHelper.ReadTrueFalseBlank(node.Attributes["start"]);2693if (node.Attributes["end"] != null)2694ctObj.end = NPOI.OpenXmlFormats.Util.XmlHelper.ReadTrueFalseBlank(node.Attributes["end"]);2695ctObj.idref = XmlHelper.ReadString(node.Attributes["idref"]);2696if (node.Attributes["connectloc"] != null)2697ctObj.connectloc = XmlHelper.ReadInt(node.Attributes["connectloc"]);2698return ctObj;2699}2700
2701internal void Write(StreamWriter sw, string nodeName)2702{2703sw.Write(string.Format("<o:{0}", nodeName));2704NPOI.OpenXmlFormats.Util.XmlHelper.WriteAttribute(sw, "start", this.start);2705NPOI.OpenXmlFormats.Util.XmlHelper.WriteAttribute(sw, "end", this.end);2706XmlHelper.WriteAttribute(sw, "idref", this.idref);2707XmlHelper.WriteAttribute(sw, "connectloc", this.connectloc);2708sw.Write(">");2709sw.Write(string.Format("</o:{0}>", nodeName));2710}2711
2712
2713}2714
2715
2716[Serializable]2717[XmlType(Namespace = "urn:schemas-microsoft-com:office:office")]2718[XmlRoot(Namespace = "urn:schemas-microsoft-com:office:office", IsNullable = false)]2719public enum ST_RType2720{2721NONE,2722arc,2723callout,2724connector,2725align,2726}2727
2728
2729[Serializable]2730[XmlType(Namespace = "urn:schemas-microsoft-com:office:office")]2731[XmlRoot(Namespace = "urn:schemas-microsoft-com:office:office", IsNullable = false)]2732public enum ST_How2733{2734NONE,2735top,2736middle,2737bottom,2738left,2739center,2740right,2741}2742
2743
2744[Serializable]2745
2746[System.ComponentModel.DesignerCategory("code")]2747[XmlType(Namespace="urn:schemas-microsoft-com:office:office")]2748[XmlRoot(Namespace="urn:schemas-microsoft-com:office:office", IsNullable=true)]2749public class CT_Diagram {2750
2751private CT_RelationTable relationtableField;2752
2753private ST_Ext extField = ST_Ext.NONE;2754
2755
2756
2757private string dgmstyleField;2758
2759private ST_TrueFalse autoformatField;2760
2761private bool autoformatFieldSpecified;2762
2763private ST_TrueFalse reverseField;2764
2765private bool reverseFieldSpecified;2766
2767private ST_TrueFalse autolayoutField;2768
2769private bool autolayoutFieldSpecified;2770
2771private string dgmscalexField;2772
2773private string dgmscaleyField;2774
2775private string dgmfontsizeField;2776
2777private string constrainboundsField;2778
2779private string dgmbasetextscaleField;2780
2781
2782public CT_RelationTable relationtable {2783get {2784return this.relationtableField;2785}2786set {2787this.relationtableField = value;2788}2789}2790
2791
2792[XmlAttribute(Form = System.Xml.Schema.XmlSchemaForm.Qualified, Namespace = "urn:schemas-microsoft-com:vml")]2793public ST_Ext ext2794{2795get { return this.extField; }2796set { this.extField = value; }2797}2798[XmlIgnore]2799public bool extSpecified2800{2801get { return ST_Ext.NONE != this.extField; }2802}2803
2804
2805[XmlAttribute(DataType="integer")]2806public string dgmstyle {2807get {2808return this.dgmstyleField;2809}2810set {2811this.dgmstyleField = value;2812}2813}2814
2815
2816[XmlAttribute]2817public ST_TrueFalse autoformat {2818get {2819return this.autoformatField;2820}2821set {2822this.autoformatField = value;2823}2824}2825
2826
2827[XmlIgnore]2828public bool autoformatSpecified {2829get {2830return this.autoformatFieldSpecified;2831}2832set {2833this.autoformatFieldSpecified = value;2834}2835}2836
2837
2838[XmlAttribute]2839public ST_TrueFalse reverse {2840get {2841return this.reverseField;2842}2843set {2844this.reverseField = value;2845}2846}2847
2848
2849[XmlIgnore]2850public bool reverseSpecified {2851get {2852return this.reverseFieldSpecified;2853}2854set {2855this.reverseFieldSpecified = value;2856}2857}2858
2859
2860[XmlAttribute]2861public ST_TrueFalse autolayout {2862get {2863return this.autolayoutField;2864}2865set {2866this.autolayoutField = value;2867}2868}2869
2870
2871[XmlIgnore]2872public bool autolayoutSpecified {2873get {2874return this.autolayoutFieldSpecified;2875}2876set {2877this.autolayoutFieldSpecified = value;2878}2879}2880
2881
2882[XmlAttribute(DataType="integer")]2883public string dgmscalex {2884get {2885return this.dgmscalexField;2886}2887set {2888this.dgmscalexField = value;2889}2890}2891
2892
2893[XmlAttribute(DataType="integer")]2894public string dgmscaley {2895get {2896return this.dgmscaleyField;2897}2898set {2899this.dgmscaleyField = value;2900}2901}2902
2903
2904[XmlAttribute(DataType="integer")]2905public string dgmfontsize {2906get {2907return this.dgmfontsizeField;2908}2909set {2910this.dgmfontsizeField = value;2911}2912}2913
2914
2915[XmlAttribute]2916public string constrainbounds {2917get {2918return this.constrainboundsField;2919}2920set {2921this.constrainboundsField = value;2922}2923}2924
2925
2926[XmlAttribute(DataType="integer")]2927public string dgmbasetextscale {2928get {2929return this.dgmbasetextscaleField;2930}2931set {2932this.dgmbasetextscaleField = value;2933}2934}2935}2936
2937
2938[Serializable]2939
2940[System.ComponentModel.DesignerCategory("code")]2941[XmlType(Namespace="urn:schemas-microsoft-com:office:office")]2942[XmlRoot(Namespace="urn:schemas-microsoft-com:office:office", IsNullable=true)]2943public class CT_RelationTable {2944
2945private List<CT_Relation> relField;2946
2947private ST_Ext extField = ST_Ext.NONE;2948
2949
2950
2951
2952[XmlElement("rel")]2953public List<CT_Relation> rel {2954get {2955return this.relField;2956}2957set {2958this.relField = value;2959}2960}2961
2962
2963[XmlAttribute(Form = System.Xml.Schema.XmlSchemaForm.Qualified, Namespace = "urn:schemas-microsoft-com:vml")]2964public ST_Ext ext2965{2966get { return this.extField; }2967set { this.extField = value; }2968}2969[XmlIgnore]2970public bool extSpecified2971{2972get { return ST_Ext.NONE != this.extField; }2973}2974}2975
2976
2977[Serializable]2978
2979[System.ComponentModel.DesignerCategory("code")]2980[XmlType(Namespace="urn:schemas-microsoft-com:office:office")]2981[XmlRoot(Namespace="urn:schemas-microsoft-com:office:office", IsNullable=true)]2982public class CT_Relation {2983
2984private ST_Ext extField = ST_Ext.NONE;2985
2986
2987
2988private string idsrcField;2989
2990private string iddestField;2991
2992private string idcntrField;2993
2994
2995[XmlAttribute(Form = System.Xml.Schema.XmlSchemaForm.Qualified, Namespace = "urn:schemas-microsoft-com:vml")]2996public ST_Ext ext2997{2998get { return this.extField; }2999set { this.extField = value; }3000}3001[XmlIgnore]3002public bool extSpecified3003{3004get { return ST_Ext.NONE != this.extField; }3005}3006
3007[XmlAttribute]3008public string idsrc {3009get {3010return this.idsrcField;3011}3012set {3013this.idsrcField = value;3014}3015}3016
3017
3018[XmlAttribute]3019public string iddest {3020get {3021return this.iddestField;3022}3023set {3024this.iddestField = value;3025}3026}3027
3028
3029[XmlAttribute]3030public string idcntr {3031get {3032return this.idcntrField;3033}3034set {3035this.idcntrField = value;3036}3037}3038}3039
3040
3041[Serializable]3042
3043[System.ComponentModel.DesignerCategory("code")]3044[XmlType(Namespace="urn:schemas-microsoft-com:office:office")]3045[XmlRoot(Namespace="urn:schemas-microsoft-com:office:office", IsNullable=true)]3046public class CT_OLEObject {3047
3048private ST_OLELinkType linkTypeField;3049
3050private bool linkTypeFieldSpecified;3051
3052private ST_TrueFalseBlank lockedFieldField;3053
3054private bool lockedFieldFieldSpecified;3055
3056private string fieldCodesField;3057
3058private ST_OLEType typeField;3059
3060private bool typeFieldSpecified;3061
3062private string progIDField;3063
3064private string shapeIDField;3065
3066private ST_OLEDrawAspect drawAspectField;3067
3068private bool drawAspectFieldSpecified;3069
3070private string objectIDField;3071
3072private string idField;3073
3074private ST_OLEUpdateMode updateModeField;3075
3076private bool updateModeFieldSpecified;3077
3078
3079public ST_OLELinkType LinkType {3080get {3081return this.linkTypeField;3082}3083set {3084this.linkTypeField = value;3085}3086}3087
3088
3089[XmlIgnore]3090public bool LinkTypeSpecified {3091get {3092return this.linkTypeFieldSpecified;3093}3094set {3095this.linkTypeFieldSpecified = value;3096}3097}3098
3099
3100public ST_TrueFalseBlank LockedField {3101get {3102return this.lockedFieldField;3103}3104set {3105this.lockedFieldField = value;3106}3107}3108
3109
3110[XmlIgnore]3111public bool LockedFieldSpecified {3112get {3113return this.lockedFieldFieldSpecified;3114}3115set {3116this.lockedFieldFieldSpecified = value;3117}3118}3119
3120
3121public string FieldCodes {3122get {3123return this.fieldCodesField;3124}3125set {3126this.fieldCodesField = value;3127}3128}3129
3130
3131[XmlAttribute]3132public ST_OLEType Type {3133get {3134return this.typeField;3135}3136set {3137this.typeField = value;3138}3139}3140
3141
3142[XmlIgnore]3143public bool TypeSpecified {3144get {3145return this.typeFieldSpecified;3146}3147set {3148this.typeFieldSpecified = value;3149}3150}3151
3152
3153[XmlAttribute]3154public string ProgID {3155get {3156return this.progIDField;3157}3158set {3159this.progIDField = value;3160}3161}3162
3163
3164[XmlAttribute]3165public string ShapeID {3166get {3167return this.shapeIDField;3168}3169set {3170this.shapeIDField = value;3171}3172}3173
3174
3175[XmlAttribute]3176public ST_OLEDrawAspect DrawAspect {3177get {3178return this.drawAspectField;3179}3180set {3181this.drawAspectField = value;3182}3183}3184
3185
3186[XmlIgnore]3187public bool DrawAspectSpecified {3188get {3189return this.drawAspectFieldSpecified;3190}3191set {3192this.drawAspectFieldSpecified = value;3193}3194}3195
3196
3197[XmlAttribute]3198public string ObjectID {3199get {3200return this.objectIDField;3201}3202set {3203this.objectIDField = value;3204}3205}3206
3207
3208[XmlAttribute]3209public string id3210{3211get {3212return this.idField;3213}3214set {3215this.idField = value;3216}3217}3218
3219
3220[XmlAttribute]3221public ST_OLEUpdateMode UpdateMode {3222get {3223return this.updateModeField;3224}3225set {3226this.updateModeField = value;3227}3228}3229
3230
3231[XmlIgnore]3232public bool UpdateModeSpecified {3233get {3234return this.updateModeFieldSpecified;3235}3236set {3237this.updateModeFieldSpecified = value;3238}3239}3240}3241
3242
3243[Serializable]3244[XmlType(Namespace="urn:schemas-microsoft-com:office:office")]3245[XmlRoot(Namespace="urn:schemas-microsoft-com:office:office", IsNullable=false)]3246public enum ST_OLELinkType {3247
3248
3249Picture,3250
3251
3252Bitmap,3253
3254
3255EnhancedMetaFile,3256}3257
3258
3259[Serializable]3260[XmlType(Namespace="urn:schemas-microsoft-com:office:office")]3261[XmlRoot(Namespace="urn:schemas-microsoft-com:office:office", IsNullable=false)]3262public enum ST_OLEType {3263
3264
3265Embed,3266
3267
3268Link,3269}3270
3271
3272[Serializable]3273[XmlType(Namespace="urn:schemas-microsoft-com:office:office")]3274[XmlRoot(Namespace="urn:schemas-microsoft-com:office:office", IsNullable=false)]3275public enum ST_OLEDrawAspect {3276
3277
3278Content,3279
3280
3281Icon,3282}3283
3284
3285[Serializable]3286[XmlType(Namespace="urn:schemas-microsoft-com:office:office")]3287[XmlRoot(Namespace="urn:schemas-microsoft-com:office:office", IsNullable=false)]3288public enum ST_OLEUpdateMode {3289
3290
3291Always,3292
3293
3294OnCall,3295}3296
3297
3298[Serializable]3299
3300[System.ComponentModel.DesignerCategory("code")]3301[XmlType(Namespace = "urn:schemas-microsoft-com:office:office")]3302[XmlRoot(Namespace = "urn:schemas-microsoft-com:office:office", IsNullable = true)]3303public class CT_Complex3304{3305
3306private ST_Ext extField = ST_Ext.NONE;3307
3308
3309
3310
3311[XmlAttribute(Form = System.Xml.Schema.XmlSchemaForm.Qualified, Namespace = "urn:schemas-microsoft-com:vml")]3312public ST_Ext ext3313{3314get { return this.extField; }3315set { this.extField = value; }3316}3317[XmlIgnore]3318public bool extSpecified3319{3320get { return ST_Ext.NONE != this.extField; }3321}3322}3323
3324[Serializable]3325
3326[System.ComponentModel.DesignerCategory("code")]3327[XmlType(Namespace="urn:schemas-microsoft-com:office:office")]3328[XmlRoot(Namespace="urn:schemas-microsoft-com:office:office", IsNullable=true)]3329public class CT_StrokeChild {3330
3331private ST_Ext extField = ST_Ext.NONE;3332
3333
3334
3335private ST_TrueFalse onField;3336
3337private bool onFieldSpecified;3338
3339private string weightField;3340
3341private string colorField;3342
3343private string color2Field;3344
3345private string opacityField;3346
3347private ST_StrokeLineStyle linestyleField;3348
3349private bool linestyleFieldSpecified;3350
3351private decimal miterlimitField;3352
3353private bool miterlimitFieldSpecified;3354
3355private ST_StrokeJoinStyle joinstyleField;3356
3357private bool joinstyleFieldSpecified;3358
3359private ST_StrokeEndCap endcapField;3360
3361private bool endcapFieldSpecified;3362
3363private string dashstyleField;3364
3365private ST_TrueFalse insetpenField;3366
3367private bool insetpenFieldSpecified;3368
3369private ST_FillType filltypeField;3370
3371private bool filltypeFieldSpecified;3372
3373private string srcField;3374
3375private ST_ImageAspect imageaspectField;3376
3377private bool imageaspectFieldSpecified;3378
3379private string imagesizeField;3380
3381private ST_TrueFalse imagealignshapeField;3382
3383private bool imagealignshapeFieldSpecified;3384
3385private ST_StrokeArrowType startarrowField;3386
3387private bool startarrowFieldSpecified;3388
3389private ST_StrokeArrowWidth startarrowwidthField;3390
3391private bool startarrowwidthFieldSpecified;3392
3393private ST_StrokeArrowLength startarrowlengthField;3394
3395private bool startarrowlengthFieldSpecified;3396
3397private ST_StrokeArrowType endarrowField;3398
3399private bool endarrowFieldSpecified;3400
3401private ST_StrokeArrowWidth endarrowwidthField;3402
3403private bool endarrowwidthFieldSpecified;3404
3405private ST_StrokeArrowLength endarrowlengthField;3406
3407private bool endarrowlengthFieldSpecified;3408
3409private string hrefField;3410
3411private string althrefField;3412
3413private string titleField;3414
3415private ST_TrueFalse forcedashField;3416
3417private bool forcedashFieldSpecified;3418
3419
3420[XmlAttribute(Form = System.Xml.Schema.XmlSchemaForm.Qualified, Namespace = "urn:schemas-microsoft-com:vml")]3421public ST_Ext ext3422{3423get { return this.extField; }3424set { this.extField = value; }3425}3426[XmlIgnore]3427public bool extSpecified3428{3429get { return ST_Ext.NONE != this.extField; }3430}3431
3432[XmlAttribute]3433public ST_TrueFalse on {3434get {3435return this.onField;3436}3437set {3438this.onField = value;3439}3440}3441
3442
3443[XmlIgnore]3444public bool onSpecified {3445get {3446return this.onFieldSpecified;3447}3448set {3449this.onFieldSpecified = value;3450}3451}3452
3453
3454[XmlAttribute]3455public string weight {3456get {3457return this.weightField;3458}3459set {3460this.weightField = value;3461}3462}3463
3464
3465[XmlAttribute]3466public string color {3467get {3468return this.colorField;3469}3470set {3471this.colorField = value;3472}3473}3474
3475
3476[XmlAttribute]3477public string color2 {3478get {3479return this.color2Field;3480}3481set {3482this.color2Field = value;3483}3484}3485
3486
3487[XmlAttribute]3488public string opacity {3489get {3490return this.opacityField;3491}3492set {3493this.opacityField = value;3494}3495}3496
3497
3498[XmlAttribute]3499public ST_StrokeLineStyle linestyle {3500get {3501return this.linestyleField;3502}3503set {3504this.linestyleField = value;3505}3506}3507
3508
3509[XmlIgnore]3510public bool linestyleSpecified {3511get {3512return this.linestyleFieldSpecified;3513}3514set {3515this.linestyleFieldSpecified = value;3516}3517}3518
3519
3520[XmlAttribute]3521public decimal miterlimit {3522get {3523return this.miterlimitField;3524}3525set {3526this.miterlimitField = value;3527}3528}3529
3530
3531[XmlIgnore]3532public bool miterlimitSpecified {3533get {3534return this.miterlimitFieldSpecified;3535}3536set {3537this.miterlimitFieldSpecified = value;3538}3539}3540
3541
3542[XmlAttribute]3543public ST_StrokeJoinStyle joinstyle {3544get {3545return this.joinstyleField;3546}3547set {3548this.joinstyleField = value;3549}3550}3551
3552
3553[XmlIgnore]3554public bool joinstyleSpecified {3555get {3556return this.joinstyleFieldSpecified;3557}3558set {3559this.joinstyleFieldSpecified = value;3560}3561}3562
3563
3564[XmlAttribute]3565public ST_StrokeEndCap endcap {3566get {3567return this.endcapField;3568}3569set {3570this.endcapField = value;3571}3572}3573
3574
3575[XmlIgnore]3576public bool endcapSpecified {3577get {3578return this.endcapFieldSpecified;3579}3580set {3581this.endcapFieldSpecified = value;3582}3583}3584
3585
3586[XmlAttribute]3587public string dashstyle {3588get {3589return this.dashstyleField;3590}3591set {3592this.dashstyleField = value;3593}3594}3595
3596
3597[XmlAttribute]3598public ST_TrueFalse insetpen {3599get {3600return this.insetpenField;3601}3602set {3603this.insetpenField = value;3604}3605}3606
3607
3608[XmlIgnore]3609public bool insetpenSpecified {3610get {3611return this.insetpenFieldSpecified;3612}3613set {3614this.insetpenFieldSpecified = value;3615}3616}3617
3618
3619[XmlAttribute]3620public ST_FillType filltype {3621get {3622return this.filltypeField;3623}3624set {3625this.filltypeField = value;3626}3627}3628
3629
3630[XmlIgnore]3631public bool filltypeSpecified {3632get {3633return this.filltypeFieldSpecified;3634}3635set {3636this.filltypeFieldSpecified = value;3637}3638}3639
3640
3641[XmlAttribute]3642public string src {3643get {3644return this.srcField;3645}3646set {3647this.srcField = value;3648}3649}3650
3651
3652[XmlAttribute]3653public ST_ImageAspect imageaspect {3654get {3655return this.imageaspectField;3656}3657set {3658this.imageaspectField = value;3659}3660}3661
3662
3663[XmlIgnore]3664public bool imageaspectSpecified {3665get {3666return this.imageaspectFieldSpecified;3667}3668set {3669this.imageaspectFieldSpecified = value;3670}3671}3672
3673
3674[XmlAttribute]3675public string imagesize {3676get {3677return this.imagesizeField;3678}3679set {3680this.imagesizeField = value;3681}3682}3683
3684
3685[XmlAttribute]3686public ST_TrueFalse imagealignshape {3687get {3688return this.imagealignshapeField;3689}3690set {3691this.imagealignshapeField = value;3692}3693}3694
3695
3696[XmlIgnore]3697public bool imagealignshapeSpecified {3698get {3699return this.imagealignshapeFieldSpecified;3700}3701set {3702this.imagealignshapeFieldSpecified = value;3703}3704}3705
3706
3707[XmlAttribute]3708public ST_StrokeArrowType startarrow {3709get {3710return this.startarrowField;3711}3712set {3713this.startarrowField = value;3714}3715}3716
3717
3718[XmlIgnore]3719public bool startarrowSpecified {3720get {3721return this.startarrowFieldSpecified;3722}3723set {3724this.startarrowFieldSpecified = value;3725}3726}3727
3728
3729[XmlAttribute]3730public ST_StrokeArrowWidth startarrowwidth {3731get {3732return this.startarrowwidthField;3733}3734set {3735this.startarrowwidthField = value;3736}3737}3738
3739
3740[XmlIgnore]3741public bool startarrowwidthSpecified {3742get {3743return this.startarrowwidthFieldSpecified;3744}3745set {3746this.startarrowwidthFieldSpecified = value;3747}3748}3749
3750
3751[XmlAttribute]3752public ST_StrokeArrowLength startarrowlength {3753get {3754return this.startarrowlengthField;3755}3756set {3757this.startarrowlengthField = value;3758}3759}3760
3761
3762[XmlIgnore]3763public bool startarrowlengthSpecified {3764get {3765return this.startarrowlengthFieldSpecified;3766}3767set {3768this.startarrowlengthFieldSpecified = value;3769}3770}3771
3772
3773[XmlAttribute]3774public ST_StrokeArrowType endarrow {3775get {3776return this.endarrowField;3777}3778set {3779this.endarrowField = value;3780}3781}3782
3783
3784[XmlIgnore]3785public bool endarrowSpecified {3786get {3787return this.endarrowFieldSpecified;3788}3789set {3790this.endarrowFieldSpecified = value;3791}3792}3793
3794
3795[XmlAttribute]3796public ST_StrokeArrowWidth endarrowwidth {3797get {3798return this.endarrowwidthField;3799}3800set {3801this.endarrowwidthField = value;3802}3803}3804
3805
3806[XmlIgnore]3807public bool endarrowwidthSpecified {3808get {3809return this.endarrowwidthFieldSpecified;3810}3811set {3812this.endarrowwidthFieldSpecified = value;3813}3814}3815
3816
3817[XmlAttribute]3818public ST_StrokeArrowLength endarrowlength {3819get {3820return this.endarrowlengthField;3821}3822set {3823this.endarrowlengthField = value;3824}3825}3826
3827
3828[XmlIgnore]3829public bool endarrowlengthSpecified {3830get {3831return this.endarrowlengthFieldSpecified;3832}3833set {3834this.endarrowlengthFieldSpecified = value;3835}3836}3837
3838
3839[XmlAttribute(Form=System.Xml.Schema.XmlSchemaForm.Qualified)]3840public string href {3841get {3842return this.hrefField;3843}3844set {3845this.hrefField = value;3846}3847}3848
3849
3850[XmlAttribute(Form=System.Xml.Schema.XmlSchemaForm.Qualified)]3851public string althref {3852get {3853return this.althrefField;3854}3855set {3856this.althrefField = value;3857}3858}3859
3860
3861[XmlAttribute(Form=System.Xml.Schema.XmlSchemaForm.Qualified)]3862public string title {3863get {3864return this.titleField;3865}3866set {3867this.titleField = value;3868}3869}3870
3871
3872[XmlAttribute(Form=System.Xml.Schema.XmlSchemaForm.Qualified)]3873public ST_TrueFalse forcedash {3874get {3875return this.forcedashField;3876}3877set {3878this.forcedashField = value;3879}3880}3881
3882
3883[XmlIgnore]3884public bool forcedashSpecified {3885get {3886return this.forcedashFieldSpecified;3887}3888set {3889this.forcedashFieldSpecified = value;3890}3891}3892}3893
3894
3895[Serializable]3896
3897[System.ComponentModel.DesignerCategory("code")]3898[XmlType(Namespace="urn:schemas-microsoft-com:office:office")]3899[XmlRoot(Namespace="urn:schemas-microsoft-com:office:office", IsNullable=true)]3900public class CT_ClipPath {3901
3902private string vField;3903
3904
3905[XmlAttribute(Form=System.Xml.Schema.XmlSchemaForm.Qualified)]3906public string v {3907get {3908return this.vField;3909}3910set {3911this.vField = value;3912}3913}3914}3915
3916
3917[Serializable]3918
3919[System.ComponentModel.DesignerCategory("code")]3920[XmlType(TypeName="CT_Fill", Namespace="urn:schemas-microsoft-com:office:office")]3921[XmlRoot("CT_Fill", Namespace="urn:schemas-microsoft-com:office:office", IsNullable=true)]3922public class CT_Fill {3923
3924private ST_Ext extField = ST_Ext.NONE;3925
3926
3927
3928private ST_FillType1 typeField;3929
3930private bool typeFieldSpecified;3931
3932
3933[XmlAttribute(Form = System.Xml.Schema.XmlSchemaForm.Qualified, Namespace = "urn:schemas-microsoft-com:vml")]3934public ST_Ext ext3935{3936get { return this.extField; }3937set { this.extField = value; }3938}3939[XmlIgnore]3940public bool extSpecified3941{3942get { return ST_Ext.NONE != this.extField; }3943}3944
3945[XmlAttribute]3946public ST_FillType1 type {3947get {3948return this.typeField;3949}3950set {3951this.typeField = value;3952}3953}3954
3955
3956[XmlIgnore]3957public bool typeSpecified {3958get {3959return this.typeFieldSpecified;3960}3961set {3962this.typeFieldSpecified = value;3963}3964}3965}3966
3967
3968[Serializable]3969[XmlType(TypeName="ST_FillType", Namespace="urn:schemas-microsoft-com:office:office")]3970[XmlRoot("ST_FillType", Namespace="urn:schemas-microsoft-com:office:office", IsNullable=false)]3971public enum ST_FillType1 {3972
3973
3974gradientCenter,3975
3976
3977solid,3978
3979
3980pattern,3981
3982
3983tile,3984
3985
3986frame,3987
3988
3989gradientUnscaled,3990
3991
3992gradientRadial,3993
3994
3995gradient,3996
3997
3998background,3999}4000
4001
4002[Serializable]4003[XmlType(Namespace="urn:schemas-microsoft-com:office:office")]4004[XmlRoot(Namespace="urn:schemas-microsoft-com:office:office", IsNullable=false)]4005public enum ST_BWMode {4006
4007
4008color,4009
4010
4011auto,4012
4013
4014grayScale,4015
4016
4017lightGrayscale,4018
4019
4020inverseGray,4021
4022
4023grayOutline,4024
4025
4026highContrast,4027
4028
4029black,4030
4031
4032white,4033
4034
4035hide,4036
4037
4038undrawn,4039
4040
4041blackTextAndLines,4042}4043
4044
4045[Serializable]4046[XmlType(Namespace="urn:schemas-microsoft-com:office:office")]4047[XmlRoot(Namespace="urn:schemas-microsoft-com:office:office", IsNullable=false)]4048public enum ST_ScreenSize {4049
4050
4051[XmlEnum("544,376")]4052Item544376,4053
4054
4055[XmlEnum("640,480")]4056Item640480,4057
4058
4059[XmlEnum("720,512")]4060Item720512,4061
4062
4063[XmlEnum("800,600")]4064Item800600,4065
4066
4067[XmlEnum("1024,768")]4068Item1024768,4069
4070
4071[XmlEnum("1152,862")]4072Item1152862,4073}4074
4075
4076[Serializable]4077[XmlType(Namespace="urn:schemas-microsoft-com:office:office")]4078[XmlRoot(Namespace="urn:schemas-microsoft-com:office:office", IsNullable=false)]4079public enum ST_InsetMode {4080auto,4081custom,4082}4083
4084
4085[Serializable]4086[XmlType(Namespace="urn:schemas-microsoft-com:office:office")]4087[XmlRoot(Namespace="urn:schemas-microsoft-com:office:office", IsNullable=false)]4088public enum ST_CalloutPlacement {4089
4090
4091top,4092
4093
4094center,4095
4096
4097bottom,4098
4099
4100user,4101}4102
4103
4104[Serializable]4105[XmlType(Namespace="urn:schemas-microsoft-com:office:office")]4106[XmlRoot(Namespace="urn:schemas-microsoft-com:office:office", IsNullable=false)]4107public enum ST_ConnectorType {4108
4109
4110none,4111
4112
4113straight,4114
4115
4116elbow,4117
4118
4119curved,4120}4121
4122
4123[Serializable]4124[XmlType(Namespace="urn:schemas-microsoft-com:office:office")]4125[XmlRoot(Namespace="urn:schemas-microsoft-com:office:office", IsNullable=false)]4126public enum ST_HrAlign {4127
4128
4129left,4130
4131
4132right,4133
4134
4135center,4136}4137
4138
4139[Serializable]4140[XmlType(Namespace="urn:schemas-microsoft-com:office:office")]4141[XmlRoot(Namespace="urn:schemas-microsoft-com:office:office", IsNullable=false)]4142public enum ST_ConnectType {4143
4144
4145none,4146
4147
4148rect,4149
4150
4151segments,4152
4153
4154custom,4155}4156}
4157