-
Notifications
You must be signed in to change notification settings - Fork 225
/
ChartFromToBinary.cpp
13059 lines (12565 loc) · 407 KB
/
ChartFromToBinary.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/*
* (c) Copyright Ascensio System SIA 2010-2023
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at 20A-6 Ernesta Birznieka-Upish
* street, Riga, Latvia, EU, LV-1050.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
#include "../Writer/BinaryReader.h"
#include "../../Presentation/BinReaderWriterDefines.h"
#include "../../Document/BinReader/DefaultThemeWriter.h"
#include "../../../XlsxFormat/Chart/Chart.h"
#include "../../../XlsxFormat/Chart/ChartDrawing.h"
#include "../../../PPTXFormat/Theme.h"
#include "../../Document/DocWrapper/XlsxSerializer.h"
#include "../../../../OfficeUtils/src/OfficeUtils.h"
using namespace OOX::Spreadsheet;
namespace BinXlsxRW
{
SaveParams::SaveParams(const std::wstring& _sDrawingsPath, const std::wstring& _sEmbeddingsPath, const std::wstring& _sThemePath, OOX::CContentTypes* _pContentTypes, CSVWriter* _pCSVWriter, bool bMacro) :
bMacroEnabled(bMacro), pContentTypes(_pContentTypes), sThemePath(_sThemePath),
sDrawingsPath(_sDrawingsPath), sEmbeddingsPath(_sEmbeddingsPath), pCSVWriter(_pCSVWriter)
{
}
const BYTE c_oserct_extlstEXT = 0;
const BYTE c_oserct_chartspaceDATE1904 = 0;
const BYTE c_oserct_chartspaceLANG = 1;
const BYTE c_oserct_chartspaceROUNDEDCORNERS = 2;
const BYTE c_oserct_chartspaceALTERNATECONTENT = 3;
const BYTE c_oserct_chartspaceSTYLE = 4;
const BYTE c_oserct_chartspaceCLRMAPOVR = 5;
const BYTE c_oserct_chartspacePIVOTSOURCE = 6;
const BYTE c_oserct_chartspacePROTECTION = 7;
const BYTE c_oserct_chartspaceCHART = 8;
const BYTE c_oserct_chartspaceSPPR = 9;
const BYTE c_oserct_chartspaceTXPR = 10;
const BYTE c_oserct_chartspaceEXTERNALDATA = 11;
const BYTE c_oserct_chartspacePRINTSETTINGS = 12;
const BYTE c_oserct_chartspaceUSERSHAPES = 13;
const BYTE c_oserct_chartspaceTHEMEOVERRIDE = 15;
const BYTE c_oserct_chartspaceXLSX = 16;
const BYTE c_oserct_chartspaceSTYLES = 17;
const BYTE c_oserct_chartspaceCOLORS = 18;
const BYTE c_oserct_chartspaceXLSXEXTERNAL = 19;
const BYTE c_oserct_chartspaceXLSXZIP = 20;
const BYTE c_oserct_usershapes_COUNT = 0;
const BYTE c_oserct_usershapes_SHAPE_REL = 1;
const BYTE c_oserct_usershapes_SHAPE_ABS = 2;
const BYTE c_oserct_unsignedintVAL = 0;
const BYTE c_oserct_booleanVAL = 0;
const BYTE c_oserct_doubleVAL = 0;
const BYTE c_oserct_stringVAL = 0;
const BYTE c_oserct_byteVAL = 0;
const BYTE c_oserct_pagesetupPAPERSIZE = 0;
const BYTE c_oserct_pagesetupPAPERHEIGHT = 1;
const BYTE c_oserct_pagesetupPAPERWIDTH = 2;
const BYTE c_oserct_pagesetupFIRSTPAGENUMBER = 3;
const BYTE c_oserct_pagesetupORIENTATION = 4;
const BYTE c_oserct_pagesetupBLACKANDWHITE = 5;
const BYTE c_oserct_pagesetupDRAFT = 6;
const BYTE c_oserct_pagesetupUSEFIRSTPAGENUMBER = 7;
const BYTE c_oserct_pagesetupHORIZONTALDPI = 8;
const BYTE c_oserct_pagesetupVERTICALDPI = 9;
const BYTE c_oserct_pagesetupCOPIES = 10;
const BYTE c_oserct_pagemarginsL = 0;
const BYTE c_oserct_pagemarginsR = 1;
const BYTE c_oserct_pagemarginsT = 2;
const BYTE c_oserct_pagemarginsB = 3;
const BYTE c_oserct_pagemarginsHEADER = 4;
const BYTE c_oserct_pagemarginsFOOTER = 5;
const BYTE c_oserct_headerfooterODDHEADER = 0;
const BYTE c_oserct_headerfooterODDFOOTER = 1;
const BYTE c_oserct_headerfooterEVENHEADER = 2;
const BYTE c_oserct_headerfooterEVENFOOTER = 3;
const BYTE c_oserct_headerfooterFIRSTHEADER = 4;
const BYTE c_oserct_headerfooterFIRSTFOOTER = 5;
const BYTE c_oserct_headerfooterALIGNWITHMARGINS = 6;
const BYTE c_oserct_headerfooterDIFFERENTODDEVEN = 7;
const BYTE c_oserct_headerfooterDIFFERENTFIRST = 8;
const BYTE c_oserct_printsettingsHEADERFOOTER = 0;
const BYTE c_oserct_printsettingsPAGEMARGINS = 1;
const BYTE c_oserct_printsettingsPAGESETUP = 2;
const BYTE c_oserct_externaldataAUTOUPDATE = 0;
const BYTE c_oserct_dispblanksasVAL = 0;
const BYTE c_oserct_legendentryIDX = 0;
const BYTE c_oserct_legendentryDELETE = 1;
const BYTE c_oserct_legendentryTXPR = 2;
const BYTE c_oserct_extensionANY = 0;
const BYTE c_oserct_extensionURI = 1;
const BYTE c_oserct_legendposVAL = 0;
const BYTE c_oserct_legendLEGENDPOS = 0;
const BYTE c_oserct_legendLEGENDENTRY = 1;
const BYTE c_oserct_legendLAYOUT = 2;
const BYTE c_oserct_legendOVERLAY = 3;
const BYTE c_oserct_legendSPPR = 4;
const BYTE c_oserct_legendTXPR = 5;
const BYTE c_oserct_layoutMANUALLAYOUT = 0;
const BYTE c_oserct_manuallayoutLAYOUTTARGET = 0;
const BYTE c_oserct_manuallayoutXMODE = 1;
const BYTE c_oserct_manuallayoutYMODE = 2;
const BYTE c_oserct_manuallayoutWMODE = 3;
const BYTE c_oserct_manuallayoutHMODE = 4;
const BYTE c_oserct_manuallayoutX = 5;
const BYTE c_oserct_manuallayoutY = 6;
const BYTE c_oserct_manuallayoutW = 7;
const BYTE c_oserct_manuallayoutH = 8;
const BYTE c_oserct_layouttargetVAL = 0;
const BYTE c_oserct_layoutmodeVAL = 0;
const BYTE c_oserct_dtableSHOWHORZBORDER = 0;
const BYTE c_oserct_dtableSHOWVERTBORDER = 1;
const BYTE c_oserct_dtableSHOWOUTLINE = 2;
const BYTE c_oserct_dtableSHOWKEYS = 3;
const BYTE c_oserct_dtableSPPR = 4;
const BYTE c_oserct_dtableTXPR = 5;
const BYTE c_oserct_seraxAXID = 0;
const BYTE c_oserct_seraxSCALING = 1;
const BYTE c_oserct_seraxDELETE = 2;
const BYTE c_oserct_seraxAXPOS = 3;
const BYTE c_oserct_seraxMAJORGRIDLINES = 4;
const BYTE c_oserct_seraxMINORGRIDLINES = 5;
const BYTE c_oserct_seraxTITLE = 6;
const BYTE c_oserct_seraxNUMFMT = 7;
const BYTE c_oserct_seraxMAJORTICKMARK = 8;
const BYTE c_oserct_seraxMINORTICKMARK = 9;
const BYTE c_oserct_seraxTICKLBLPOS = 10;
const BYTE c_oserct_seraxSPPR = 11;
const BYTE c_oserct_seraxTXPR = 12;
const BYTE c_oserct_seraxCROSSAX = 13;
const BYTE c_oserct_seraxCROSSES = 14;
const BYTE c_oserct_seraxCROSSESAT = 15;
const BYTE c_oserct_seraxTICKLBLSKIP = 16;
const BYTE c_oserct_seraxTICKMARKSKIP = 17;
const BYTE c_oserct_scalingLOGBASE = 0;
const BYTE c_oserct_scalingORIENTATION = 1;
const BYTE c_oserct_scalingMAX = 2;
const BYTE c_oserct_scalingMIN = 3;
const BYTE c_oserct_logbaseVAL = 0;
const BYTE c_oserct_orientationVAL = 0;
const BYTE c_oserct_axposVAL = 0;
const BYTE c_oserct_chartlinesSPPR = 0;
const BYTE c_oserct_titleTX = 0;
const BYTE c_oserct_titleLAYOUT = 1;
const BYTE c_oserct_titleOVERLAY = 2;
const BYTE c_oserct_titleSPPR = 3;
const BYTE c_oserct_titleTXPR = 4;
const BYTE c_oserct_txRICH = 0;
const BYTE c_oserct_txSTRREF = 1;
const BYTE c_oserct_strrefF = 0;
const BYTE c_oserct_strrefSTRCACHE = 1;
const BYTE c_oserct_strdataPTCOUNT = 0;
const BYTE c_oserct_strdataPT = 1;
const BYTE c_oserct_strvalV = 0;
const BYTE c_oserct_strvalIDX = 1;
const BYTE c_oserct_numfmtFORMATCODE = 0;
const BYTE c_oserct_numfmtSOURCELINKED = 1;
const BYTE c_oserct_tickmarkVAL = 0;
const BYTE c_oserct_ticklblposVAL = 0;
const BYTE c_oserct_crossesVAL = 0;
const BYTE c_oserct_skipVAL = 0;
const BYTE c_oserct_timeunitVAL = 0;
const BYTE c_oserct_dateaxAXID = 0;
const BYTE c_oserct_dateaxSCALING = 1;
const BYTE c_oserct_dateaxDELETE = 2;
const BYTE c_oserct_dateaxAXPOS = 3;
const BYTE c_oserct_dateaxMAJORGRIDLINES = 4;
const BYTE c_oserct_dateaxMINORGRIDLINES = 5;
const BYTE c_oserct_dateaxTITLE = 6;
const BYTE c_oserct_dateaxNUMFMT = 7;
const BYTE c_oserct_dateaxMAJORTICKMARK = 8;
const BYTE c_oserct_dateaxMINORTICKMARK = 9;
const BYTE c_oserct_dateaxTICKLBLPOS = 10;
const BYTE c_oserct_dateaxSPPR = 11;
const BYTE c_oserct_dateaxTXPR = 12;
const BYTE c_oserct_dateaxCROSSAX = 13;
const BYTE c_oserct_dateaxCROSSES = 14;
const BYTE c_oserct_dateaxCROSSESAT = 15;
const BYTE c_oserct_dateaxAUTO = 16;
const BYTE c_oserct_dateaxLBLOFFSET = 17;
const BYTE c_oserct_dateaxBASETIMEUNIT = 18;
const BYTE c_oserct_dateaxMAJORUNIT = 19;
const BYTE c_oserct_dateaxMAJORTIMEUNIT = 20;
const BYTE c_oserct_dateaxMINORUNIT = 21;
const BYTE c_oserct_dateaxMINORTIMEUNIT = 22;
const BYTE c_oserct_lbloffsetVAL = 0;
const BYTE c_oserct_axisunitVAL = 0;
const BYTE c_oserct_lblalgnVAL = 0;
const BYTE c_oserct_cataxAXID = 0;
const BYTE c_oserct_cataxSCALING = 1;
const BYTE c_oserct_cataxDELETE = 2;
const BYTE c_oserct_cataxAXPOS = 3;
const BYTE c_oserct_cataxMAJORGRIDLINES = 4;
const BYTE c_oserct_cataxMINORGRIDLINES = 5;
const BYTE c_oserct_cataxTITLE = 6;
const BYTE c_oserct_cataxNUMFMT = 7;
const BYTE c_oserct_cataxMAJORTICKMARK = 8;
const BYTE c_oserct_cataxMINORTICKMARK = 9;
const BYTE c_oserct_cataxTICKLBLPOS = 10;
const BYTE c_oserct_cataxSPPR = 11;
const BYTE c_oserct_cataxTXPR = 12;
const BYTE c_oserct_cataxCROSSAX = 13;
const BYTE c_oserct_cataxCROSSES = 14;
const BYTE c_oserct_cataxCROSSESAT = 15;
const BYTE c_oserct_cataxAUTO = 16;
const BYTE c_oserct_cataxLBLALGN = 17;
const BYTE c_oserct_cataxLBLOFFSET = 18;
const BYTE c_oserct_cataxTICKLBLSKIP = 19;
const BYTE c_oserct_cataxTICKMARKSKIP = 20;
const BYTE c_oserct_cataxNOMULTILVLLBL = 21;
const BYTE c_oserct_dispunitslblLAYOUT = 0;
const BYTE c_oserct_dispunitslblTX = 1;
const BYTE c_oserct_dispunitslblSPPR = 2;
const BYTE c_oserct_dispunitslblTXPR = 3;
const BYTE c_oserct_builtinunitVAL = 0;
const BYTE c_oserct_dispunitsBUILTINUNIT = 0;
const BYTE c_oserct_dispunitsCUSTUNIT = 1;
const BYTE c_oserct_dispunitsDISPUNITSLBL = 2;
const BYTE c_oserct_crossbetweenVAL = 0;
const BYTE c_oserct_valaxAXID = 0;
const BYTE c_oserct_valaxSCALING = 1;
const BYTE c_oserct_valaxDELETE = 2;
const BYTE c_oserct_valaxAXPOS = 3;
const BYTE c_oserct_valaxMAJORGRIDLINES = 4;
const BYTE c_oserct_valaxMINORGRIDLINES = 5;
const BYTE c_oserct_valaxTITLE = 6;
const BYTE c_oserct_valaxNUMFMT = 7;
const BYTE c_oserct_valaxMAJORTICKMARK = 8;
const BYTE c_oserct_valaxMINORTICKMARK = 9;
const BYTE c_oserct_valaxTICKLBLPOS = 10;
const BYTE c_oserct_valaxSPPR = 11;
const BYTE c_oserct_valaxTXPR = 12;
const BYTE c_oserct_valaxCROSSAX = 13;
const BYTE c_oserct_valaxCROSSES = 14;
const BYTE c_oserct_valaxCROSSESAT = 15;
const BYTE c_oserct_valaxCROSSBETWEEN = 16;
const BYTE c_oserct_valaxMAJORUNIT = 17;
const BYTE c_oserct_valaxMINORUNIT = 18;
const BYTE c_oserct_valaxDISPUNITS = 19;
const BYTE c_oserct_sizerepresentsVAL = 0;
const BYTE c_oserct_bubblescaleVAL = 0;
const BYTE c_oserct_bubbleserIDX = 0;
const BYTE c_oserct_bubbleserORDER = 1;
const BYTE c_oserct_bubbleserTX = 2;
const BYTE c_oserct_bubbleserSPPR = 3;
const BYTE c_oserct_bubbleserINVERTIFNEGATIVE = 4;
const BYTE c_oserct_bubbleserDPT = 5;
const BYTE c_oserct_bubbleserDLBLS = 6;
const BYTE c_oserct_bubbleserTRENDLINE = 7;
const BYTE c_oserct_bubbleserERRBARS = 8;
const BYTE c_oserct_bubbleserXVAL = 9;
const BYTE c_oserct_bubbleserYVAL = 10;
const BYTE c_oserct_bubbleserBUBBLESIZE = 11;
const BYTE c_oserct_bubbleserBUBBLE3D = 12;
const BYTE c_oserct_sertxSTRREF = 0;
const BYTE c_oserct_sertxV = 1;
const BYTE c_oserct_dptIDX = 0;
const BYTE c_oserct_dptINVERTIFNEGATIVE = 1;
const BYTE c_oserct_dptMARKER = 2;
const BYTE c_oserct_dptBUBBLE3D = 3;
const BYTE c_oserct_dptEXPLOSION = 4;
const BYTE c_oserct_dptSPPR = 5;
const BYTE c_oserct_dptPICTUREOPTIONS = 6;
const BYTE c_oserct_markerSYMBOL = 0;
const BYTE c_oserct_markerSIZE = 1;
const BYTE c_oserct_markerSPPR = 2;
const BYTE c_oserct_markerstyleVAL = 0;
const BYTE c_oserct_markersizeVAL = 0;
const BYTE c_oserct_pictureoptionsAPPLYTOFRONT = 0;
const BYTE c_oserct_pictureoptionsAPPLYTOSIDES = 1;
const BYTE c_oserct_pictureoptionsAPPLYTOEND = 2;
const BYTE c_oserct_pictureoptionsPICTUREFORMAT = 3;
const BYTE c_oserct_pictureoptionsPICTURESTACKUNIT = 4;
const BYTE c_oserct_pictureformatVAL = 0;
const BYTE c_oserct_picturestackunitVAL = 0;
const BYTE c_oserct_dlblsDLBL = 0;
const BYTE c_oserct_dlblsITEMS = 1;
const BYTE c_oserct_dlblsDLBLPOS = 2;
const BYTE c_oserct_dlblsDELETE = 3;
const BYTE c_oserct_dlblsLEADERLINES = 4;
const BYTE c_oserct_dlblsNUMFMT = 5;
const BYTE c_oserct_dlblsSEPARATOR = 6;
const BYTE c_oserct_dlblsSHOWBUBBLESIZE = 7;
const BYTE c_oserct_dlblsSHOWCATNAME = 8;
const BYTE c_oserct_dlblsSHOWLEADERLINES = 9;
const BYTE c_oserct_dlblsSHOWLEGENDKEY = 10;
const BYTE c_oserct_dlblsSHOWPERCENT = 11;
const BYTE c_oserct_dlblsSHOWSERNAME = 12;
const BYTE c_oserct_dlblsSHOWVAL = 13;
const BYTE c_oserct_dlblsSPPR = 14;
const BYTE c_oserct_dlblsTXPR = 15;
const BYTE c_oserct_dlblIDX = 0;
const BYTE c_oserct_dlblITEMS = 1;
const BYTE c_oserct_dlblDLBLPOS = 2;
const BYTE c_oserct_dlblDELETE = 3;
const BYTE c_oserct_dlblLAYOUT = 4;
const BYTE c_oserct_dlblNUMFMT = 5;
const BYTE c_oserct_dlblSEPARATOR = 6;
const BYTE c_oserct_dlblSHOWBUBBLESIZE = 7;
const BYTE c_oserct_dlblSHOWCATNAME = 8;
const BYTE c_oserct_dlblSHOWLEGENDKEY = 9;
const BYTE c_oserct_dlblSHOWPERCENT = 10;
const BYTE c_oserct_dlblSHOWSERNAME = 11;
const BYTE c_oserct_dlblSHOWVAL = 12;
const BYTE c_oserct_dlblSPPR = 13;
const BYTE c_oserct_dlblTX = 14;
const BYTE c_oserct_dlblTXPR = 15;
const BYTE c_oserct_xForSave = 25;
const BYTE c_oserct_showDataLabelsRange = 26;
const BYTE c_oserct_showLeaderLines = 27;
const BYTE c_oserct_leaderLines = 28;
const BYTE c_oserct_dlblFieldTable = 29;
const BYTE c_oserct_dlblposVAL = 0;
const BYTE c_oserct_trendlineNAME = 0;
const BYTE c_oserct_trendlineSPPR = 1;
const BYTE c_oserct_trendlineTRENDLINETYPE = 2;
const BYTE c_oserct_trendlineORDER = 3;
const BYTE c_oserct_trendlinePERIOD = 4;
const BYTE c_oserct_trendlineFORWARD = 5;
const BYTE c_oserct_trendlineBACKWARD = 6;
const BYTE c_oserct_trendlineINTERCEPT = 7;
const BYTE c_oserct_trendlineDISPRSQR = 8;
const BYTE c_oserct_trendlineDISPEQ = 9;
const BYTE c_oserct_trendlineTRENDLINELBL = 10;
const BYTE c_oserct_trendlinetypeVAL = 0;
const BYTE c_oserct_orderVAL = 0;
const BYTE c_oserct_periodVAL = 0;
const BYTE c_oserct_trendlinelblLAYOUT = 0;
const BYTE c_oserct_trendlinelblTX = 1;
const BYTE c_oserct_trendlinelblNUMFMT = 2;
const BYTE c_oserct_trendlinelblSPPR = 3;
const BYTE c_oserct_trendlinelblTXPR = 4;
const BYTE c_oserct_errbarsERRDIR = 0;
const BYTE c_oserct_errbarsERRBARTYPE = 1;
const BYTE c_oserct_errbarsERRVALTYPE = 2;
const BYTE c_oserct_errbarsNOENDCAP = 3;
const BYTE c_oserct_errbarsPLUS = 4;
const BYTE c_oserct_errbarsMINUS = 5;
const BYTE c_oserct_errbarsVAL = 6;
const BYTE c_oserct_errbarsSPPR = 7;
const BYTE c_oserct_errdirVAL = 0;
const BYTE c_oserct_errbartypeVAL = 0;
const BYTE c_oserct_errvaltypeVAL = 0;
const BYTE c_oserct_numdatasourceNUMLIT = 0;
const BYTE c_oserct_numdatasourceNUMREF = 1;
const BYTE c_oserct_numdataFORMATCODE = 0;
const BYTE c_oserct_numdataPTCOUNT = 1;
const BYTE c_oserct_numdataPT = 2;
const BYTE c_oserct_numvalV = 0;
const BYTE c_oserct_numvalIDX = 1;
const BYTE c_oserct_numvalFORMATCODE = 2;
const BYTE c_oserct_numrefF = 0;
const BYTE c_oserct_numrefNUMCACHE = 1;
const BYTE c_oserct_axdatasourceMULTILVLSTRREF = 0;
const BYTE c_oserct_axdatasourceNUMLIT = 1;
const BYTE c_oserct_axdatasourceNUMREF = 2;
const BYTE c_oserct_axdatasourceSTRLIT = 3;
const BYTE c_oserct_axdatasourceSTRREF = 4;
const BYTE c_oserct_multilvlstrrefF = 0;
const BYTE c_oserct_multilvlstrrefMULTILVLSTRCACHE = 1;
const BYTE c_oserct_lvlPT = 0;
const BYTE c_oserct_multilvlstrdataPTCOUNT = 0;
const BYTE c_oserct_multilvlstrdataLVL = 1;
const BYTE c_oserct_bubblechartVARYCOLORS = 0;
const BYTE c_oserct_bubblechartSER = 1;
const BYTE c_oserct_bubblechartDLBLS = 2;
const BYTE c_oserct_bubblechartBUBBLE3D = 3;
const BYTE c_oserct_bubblechartBUBBLESCALE = 4;
const BYTE c_oserct_bubblechartSHOWNEGBUBBLES = 5;
const BYTE c_oserct_bubblechartSIZEREPRESENTS = 6;
const BYTE c_oserct_bubblechartAXID = 7;
const BYTE c_oserct_bandfmtsBANDFMT = 0;
const BYTE c_oserct_surface3dchartWIREFRAME = 0;
const BYTE c_oserct_surface3dchartSER = 1;
const BYTE c_oserct_surface3dchartBANDFMTS = 2;
const BYTE c_oserct_surface3dchartAXID = 3;
const BYTE c_oserct_surfaceserIDX = 0;
const BYTE c_oserct_surfaceserORDER = 1;
const BYTE c_oserct_surfaceserTX = 2;
const BYTE c_oserct_surfaceserSPPR = 3;
const BYTE c_oserct_surfaceserCAT = 4;
const BYTE c_oserct_surfaceserVAL = 5;
const BYTE c_oserct_bandfmtIDX = 0;
const BYTE c_oserct_bandfmtSPPR = 1;
const BYTE c_oserct_surfacechartWIREFRAME = 0;
const BYTE c_oserct_surfacechartSER = 1;
const BYTE c_oserct_surfacechartBANDFMTS = 2;
const BYTE c_oserct_surfacechartAXID = 3;
const BYTE c_oserct_secondpiesizeVAL = 0;
const BYTE c_oserct_splittypeVAL = 0;
const BYTE c_oserct_ofpietypeVAL = 0;
const BYTE c_oserct_custsplitSECONDPIEPT = 0;
const BYTE c_oserct_ofpiechartOFPIETYPE = 0;
const BYTE c_oserct_ofpiechartVARYCOLORS = 1;
const BYTE c_oserct_ofpiechartSER = 2;
const BYTE c_oserct_ofpiechartDLBLS = 3;
const BYTE c_oserct_ofpiechartGAPWIDTH = 4;
const BYTE c_oserct_ofpiechartSPLITTYPE = 5;
const BYTE c_oserct_ofpiechartSPLITPOS = 6;
const BYTE c_oserct_ofpiechartCUSTSPLIT = 7;
const BYTE c_oserct_ofpiechartSECONDPIESIZE = 8;
const BYTE c_oserct_ofpiechartSERLINES = 9;
const BYTE c_oserct_pieserIDX = 0;
const BYTE c_oserct_pieserORDER = 1;
const BYTE c_oserct_pieserTX = 2;
const BYTE c_oserct_pieserSPPR = 3;
const BYTE c_oserct_pieserEXPLOSION = 4;
const BYTE c_oserct_pieserDPT = 5;
const BYTE c_oserct_pieserDLBLS = 6;
const BYTE c_oserct_pieserCAT = 7;
const BYTE c_oserct_pieserVAL = 8;
const BYTE c_oserct_gapamountVAL = 0;
const BYTE c_oserct_bar3dchartBARDIR = 0;
const BYTE c_oserct_bar3dchartGROUPING = 1;
const BYTE c_oserct_bar3dchartVARYCOLORS = 2;
const BYTE c_oserct_bar3dchartSER = 3;
const BYTE c_oserct_bar3dchartDLBLS = 4;
const BYTE c_oserct_bar3dchartGAPWIDTH = 5;
const BYTE c_oserct_bar3dchartGAPDEPTH = 6;
const BYTE c_oserct_bar3dchartSHAPE = 7;
const BYTE c_oserct_bar3dchartAXID = 8;
const BYTE c_oserct_bardirVAL = 0;
const BYTE c_oserct_bargroupingVAL = 0;
const BYTE c_oserct_barserIDX = 0;
const BYTE c_oserct_barserORDER = 1;
const BYTE c_oserct_barserTX = 2;
const BYTE c_oserct_barserSPPR = 3;
const BYTE c_oserct_barserINVERTIFNEGATIVE = 4;
const BYTE c_oserct_barserPICTUREOPTIONS = 5;
const BYTE c_oserct_barserDPT = 6;
const BYTE c_oserct_barserDLBLS = 7;
const BYTE c_oserct_barserTRENDLINE = 8;
const BYTE c_oserct_barserERRBARS = 9;
const BYTE c_oserct_barserCAT = 10;
const BYTE c_oserct_barserVAL = 11;
const BYTE c_oserct_barserSHAPE = 12;
const BYTE c_oserct_shapeVAL = 0;
const BYTE c_oserct_overlapVAL = 0;
const BYTE c_oserct_barchartBARDIR = 0;
const BYTE c_oserct_barchartGROUPING = 1;
const BYTE c_oserct_barchartVARYCOLORS = 2;
const BYTE c_oserct_barchartSER = 3;
const BYTE c_oserct_barchartDLBLS = 4;
const BYTE c_oserct_barchartGAPWIDTH = 5;
const BYTE c_oserct_barchartOVERLAP = 6;
const BYTE c_oserct_barchartSERLINES = 7;
const BYTE c_oserct_barchartAXID = 8;
const BYTE c_oserct_holesizeVAL = 0;
const BYTE c_oserct_doughnutchartVARYCOLORS = 0;
const BYTE c_oserct_doughnutchartSER = 1;
const BYTE c_oserct_doughnutchartDLBLS = 2;
const BYTE c_oserct_doughnutchartFIRSTSLICEANG = 3;
const BYTE c_oserct_doughnutchartHOLESIZE = 4;
const BYTE c_oserct_firstsliceangVAL = 0;
const BYTE c_oserct_pie3dchartVARYCOLORS = 0;
const BYTE c_oserct_pie3dchartSER = 1;
const BYTE c_oserct_pie3dchartDLBLS = 2;
const BYTE c_oserct_piechartVARYCOLORS = 0;
const BYTE c_oserct_piechartSER = 1;
const BYTE c_oserct_piechartDLBLS = 2;
const BYTE c_oserct_piechartFIRSTSLICEANG = 3;
const BYTE c_oserct_scatterserIDX = 0;
const BYTE c_oserct_scatterserORDER = 1;
const BYTE c_oserct_scatterserTX = 2;
const BYTE c_oserct_scatterserSPPR = 3;
const BYTE c_oserct_scatterserMARKER = 4;
const BYTE c_oserct_scatterserDPT = 5;
const BYTE c_oserct_scatterserDLBLS = 6;
const BYTE c_oserct_scatterserTRENDLINE = 7;
const BYTE c_oserct_scatterserERRBARS = 8;
const BYTE c_oserct_scatterserXVAL = 9;
const BYTE c_oserct_scatterserYVAL = 10;
const BYTE c_oserct_scatterserSMOOTH = 11;
const BYTE c_oserct_scatterstyleVAL = 0;
const BYTE c_oserct_scatterchartSCATTERSTYLE = 0;
const BYTE c_oserct_scatterchartVARYCOLORS = 1;
const BYTE c_oserct_scatterchartSER = 2;
const BYTE c_oserct_scatterchartDLBLS = 3;
const BYTE c_oserct_scatterchartAXID = 4;
const BYTE c_oserct_radarserIDX = 0;
const BYTE c_oserct_radarserORDER = 1;
const BYTE c_oserct_radarserTX = 2;
const BYTE c_oserct_radarserSPPR = 3;
const BYTE c_oserct_radarserMARKER = 4;
const BYTE c_oserct_radarserDPT = 5;
const BYTE c_oserct_radarserDLBLS = 6;
const BYTE c_oserct_radarserCAT = 7;
const BYTE c_oserct_radarserVAL = 8;
const BYTE c_oserct_radarstyleVAL = 0;
const BYTE c_oserct_radarchartRADARSTYLE = 0;
const BYTE c_oserct_radarchartVARYCOLORS = 1;
const BYTE c_oserct_radarchartSER = 2;
const BYTE c_oserct_radarchartDLBLS = 3;
const BYTE c_oserct_radarchartAXID = 4;
const BYTE c_oserct_stockchartSER = 0;
const BYTE c_oserct_stockchartDLBLS = 1;
const BYTE c_oserct_stockchartDROPLINES = 2;
const BYTE c_oserct_stockchartHILOWLINES = 3;
const BYTE c_oserct_stockchartUPDOWNBARS = 4;
const BYTE c_oserct_stockchartAXID = 5;
const BYTE c_oserct_lineserIDX = 0;
const BYTE c_oserct_lineserORDER = 1;
const BYTE c_oserct_lineserTX = 2;
const BYTE c_oserct_lineserSPPR = 3;
const BYTE c_oserct_lineserMARKER = 4;
const BYTE c_oserct_lineserDPT = 5;
const BYTE c_oserct_lineserDLBLS = 6;
const BYTE c_oserct_lineserTRENDLINE = 7;
const BYTE c_oserct_lineserERRBARS = 8;
const BYTE c_oserct_lineserCAT = 9;
const BYTE c_oserct_lineserVAL = 10;
const BYTE c_oserct_lineserSMOOTH = 11;
const BYTE c_oserct_updownbarsGAPWIDTH = 0;
const BYTE c_oserct_updownbarsUPBARS = 1;
const BYTE c_oserct_updownbarsDOWNBARS = 2;
const BYTE c_oserct_updownbarSPPR = 0;
const BYTE c_oserct_line3dchartGROUPING = 0;
const BYTE c_oserct_line3dchartVARYCOLORS = 1;
const BYTE c_oserct_line3dchartSER = 2;
const BYTE c_oserct_line3dchartDLBLS = 3;
const BYTE c_oserct_line3dchartDROPLINES = 4;
const BYTE c_oserct_line3dchartGAPDEPTH = 5;
const BYTE c_oserct_line3dchartAXID = 6;
const BYTE c_oserct_groupingVAL = 0;
const BYTE c_oserct_linechartGROUPING = 0;
const BYTE c_oserct_linechartVARYCOLORS = 1;
const BYTE c_oserct_linechartSER = 2;
const BYTE c_oserct_linechartDLBLS = 3;
const BYTE c_oserct_linechartDROPLINES = 4;
const BYTE c_oserct_linechartHILOWLINES = 5;
const BYTE c_oserct_linechartUPDOWNBARS = 6;
const BYTE c_oserct_linechartMARKER = 7;
const BYTE c_oserct_linechartSMOOTH = 8;
const BYTE c_oserct_linechartAXID = 9;
const BYTE c_oserct_area3dchartGROUPING = 0;
const BYTE c_oserct_area3dchartVARYCOLORS = 1;
const BYTE c_oserct_area3dchartSER = 2;
const BYTE c_oserct_area3dchartDLBLS = 3;
const BYTE c_oserct_area3dchartDROPLINES = 4;
const BYTE c_oserct_area3dchartGAPDEPTH = 5;
const BYTE c_oserct_area3dchartAXID = 6;
const BYTE c_oserct_areaserIDX = 0;
const BYTE c_oserct_areaserORDER = 1;
const BYTE c_oserct_areaserTX = 2;
const BYTE c_oserct_areaserSPPR = 3;
const BYTE c_oserct_areaserPICTUREOPTIONS = 4;
const BYTE c_oserct_areaserDPT = 5;
const BYTE c_oserct_areaserDLBLS = 6;
const BYTE c_oserct_areaserTRENDLINE = 7;
const BYTE c_oserct_areaserERRBARS = 8;
const BYTE c_oserct_areaserCAT = 9;
const BYTE c_oserct_areaserVAL = 10;
const BYTE c_oserct_areachartGROUPING = 0;
const BYTE c_oserct_areachartVARYCOLORS = 1;
const BYTE c_oserct_areachartSER = 2;
const BYTE c_oserct_areachartDLBLS = 3;
const BYTE c_oserct_areachartDROPLINES = 4;
const BYTE c_oserct_areachartAXID = 5;
const BYTE c_oserct_plotareaLAYOUT = 0;
const BYTE c_oserct_plotareaITEMS = 1;
const BYTE c_oserct_plotareaAREA3DCHART = 2;
const BYTE c_oserct_plotareaAREACHART = 3;
const BYTE c_oserct_plotareaBAR3DCHART = 4;
const BYTE c_oserct_plotareaBARCHART = 5;
const BYTE c_oserct_plotareaBUBBLECHART = 6;
const BYTE c_oserct_plotareaDOUGHNUTCHART = 7;
const BYTE c_oserct_plotareaLINE3DCHART = 8;
const BYTE c_oserct_plotareaLINECHART = 9;
const BYTE c_oserct_plotareaOFPIECHART = 10;
const BYTE c_oserct_plotareaPIE3DCHART = 11;
const BYTE c_oserct_plotareaPIECHART = 12;
const BYTE c_oserct_plotareaRADARCHART = 13;
const BYTE c_oserct_plotareaSCATTERCHART = 14;
const BYTE c_oserct_plotareaSTOCKCHART = 15;
const BYTE c_oserct_plotareaSURFACE3DCHART = 16;
const BYTE c_oserct_plotareaSURFACECHART = 17;
const BYTE c_oserct_plotareaITEMS1 = 18;
const BYTE c_oserct_plotareaCATAX = 19;
const BYTE c_oserct_plotareaDATEAX = 20;
const BYTE c_oserct_plotareaSERAX = 21;
const BYTE c_oserct_plotareaVALAX = 22;
const BYTE c_oserct_plotareaDTABLE = 23;
const BYTE c_oserct_plotareaSPPR = 24;
const BYTE c_oserct_thicknessVAL = 0;
const BYTE c_oserct_surfaceTHICKNESS = 0;
const BYTE c_oserct_surfaceSPPR = 1;
const BYTE c_oserct_surfacePICTUREOPTIONS = 2;
const BYTE c_oserct_perspectiveVAL = 0;
const BYTE c_oserct_depthpercentVAL = 0;
const BYTE c_oserct_rotyVAL = 0;
const BYTE c_oserct_hpercentVAL = 0;
const BYTE c_oserct_rotxVAL = 0;
const BYTE c_oserct_view3dROTX = 0;
const BYTE c_oserct_view3dHPERCENT = 1;
const BYTE c_oserct_view3dROTY = 2;
const BYTE c_oserct_view3dDEPTHPERCENT = 3;
const BYTE c_oserct_view3dRANGAX = 4;
const BYTE c_oserct_view3dPERSPECTIVE = 5;
const BYTE c_oserct_pivotfmtIDX = 0;
const BYTE c_oserct_pivotfmtSPPR = 1;
const BYTE c_oserct_pivotfmtTXPR = 2;
const BYTE c_oserct_pivotfmtMARKER = 3;
const BYTE c_oserct_pivotfmtDLBL = 4;
const BYTE c_oserct_pivotfmtsPIVOTFMT = 0;
const BYTE c_oserct_chartTITLE = 0;
const BYTE c_oserct_chartAUTOTITLEDELETED = 1;
const BYTE c_oserct_chartPIVOTFMTS = 2;
const BYTE c_oserct_chartVIEW3D = 3;
const BYTE c_oserct_chartFLOOR = 4;
const BYTE c_oserct_chartSIDEWALL = 5;
const BYTE c_oserct_chartBACKWALL = 6;
const BYTE c_oserct_chartPLOTAREA = 7;
const BYTE c_oserct_chartLEGEND = 8;
const BYTE c_oserct_chartPLOTVISONLY = 9;
const BYTE c_oserct_chartDISPBLANKSAS = 10;
const BYTE c_oserct_chartSHOWDLBLSOVERMAX = 11;
const BYTE c_oserct_protectionCHARTOBJECT = 0;
const BYTE c_oserct_protectionDATA = 1;
const BYTE c_oserct_protectionFORMATTING = 2;
const BYTE c_oserct_protectionSELECTION = 3;
const BYTE c_oserct_protectionUSERINTERFACE = 4;
const BYTE c_oserct_pivotsourceNAME = 0;
const BYTE c_oserct_pivotsourceFMTID = 1;
const BYTE c_oserct_style1VAL = 0;
const BYTE c_oserct_styleVAL = 0;
const BYTE c_oserct_textlanguageidVAL = 0;
const BYTE c_oseralternatecontentCHOICE = 0;
const BYTE c_oseralternatecontentFALLBACK = 1;
const BYTE c_oseralternatecontentchoiceSTYLE = 0;
const BYTE c_oseralternatecontentchoiceREQUIRES = 1;
const BYTE c_oseralternatecontentfallbackSTYLE = 0;
const BYTE c_oserct_chartstyleID = 0;
const BYTE c_oserct_chartstyleENTRY = 1;
const BYTE c_oserct_chartstyleMARKERLAYOUT = 2;
const BYTE c_oserct_chartstyleENTRYTYPE = 0;
const BYTE c_oserct_chartstyleLNREF = 1;
const BYTE c_oserct_chartstyleFILLREF = 2;
const BYTE c_oserct_chartstyleEFFECTREF = 3;
const BYTE c_oserct_chartstyleFONTREF = 4;
const BYTE c_oserct_chartstyleDEFPR = 5;
const BYTE c_oserct_chartstyleBODYPR = 6;
const BYTE c_oserct_chartstyleSPPR = 7;
const BYTE c_oserct_chartstyleLINEWIDTH = 8;
const BYTE c_oserct_chartstyleMARKERSYMBOL = 0;
const BYTE c_oserct_chartstyleMARKERSIZE = 1;
const BYTE c_oserct_chartcolorsID = 0;
const BYTE c_oserct_chartcolorsMETH = 1;
const BYTE c_oserct_chartcolorsVARIATION = 2;
const BYTE c_oserct_chartcolorsCOLOR = 3;
const BYTE c_oserct_chartcolorsEFFECT = 4;
const BYTE c_oserct_chartExSpaceCHARTDATA = 0;
const BYTE c_oserct_chartExSpaceCHART = 1;
const BYTE c_oserct_chartExSpaceSPPR = 2;
const BYTE c_oserct_chartExSpaceTXPR = 3;
const BYTE c_oserct_chartExSpaceCLRMAPOVR = 4;
const BYTE c_oserct_chartExSpaceXLSX = c_oserct_chartspaceXLSX;/* = 16*/
const BYTE c_oserct_chartExSpaceSTYLES = c_oserct_chartspaceSTYLES;/* = 17*/
const BYTE c_oserct_chartExSpaceCOLORS = c_oserct_chartspaceCOLORS;/* = 18*/
const BYTE c_oserct_chartExSpaceXLSXEXTERNAL = c_oserct_chartspaceXLSXEXTERNAL;/* = 19*/
const BYTE c_oserct_chartExSpaceXLSXZIP = c_oserct_chartspaceXLSXZIP;/* = 19*/
const BYTE c_oserct_chartExDATA = 0;
const BYTE c_oserct_chartExEXTERNALDATA = 1;
const BYTE c_oserct_chartExExternalAUTOUPDATE = 0;
const BYTE c_oserct_chartExChartPLOTAREA = 0;
const BYTE c_oserct_chartExChartTITLE = 1;
const BYTE c_oserct_chartExChartLEGEND = 2;
const BYTE c_oserct_chartExChartAREAREGION = 0;
const BYTE c_oserct_chartExChartAXIS = 1;
const BYTE c_oserct_chartExChartSPPR = 2;
const BYTE c_oserct_chartExAreaPLOTSURFACE = 0;
const BYTE c_oserct_chartExAreaSERIES = 1;
const BYTE c_oserct_chartExAxisID = 0;
const BYTE c_oserct_chartExPlotSurfaceSPPR = 0;
const BYTE c_oserct_chartExAxisHIDDEN = 1;
const BYTE c_oserct_chartExAxisCATSCALING = 2;
const BYTE c_oserct_chartExAxisVALSCALING = 3;
const BYTE c_oserct_chartExAxisTITLE = 4;
const BYTE c_oserct_chartExAxisUNIT = 5;
const BYTE c_oserct_chartExAxisNUMFMT = 6;
const BYTE c_oserct_chartExAxisMAJORTICK = 7;
const BYTE c_oserct_chartExAxisMINORTICK = 8;
const BYTE c_oserct_chartExAxisMAJORGRID = 9;
const BYTE c_oserct_chartExAxisMINORGRID = 10;
const BYTE c_oserct_chartExAxisTICKLABELS = 11;
const BYTE c_oserct_chartExAxisTXPR = 12;
const BYTE c_oserct_chartExAxisSPPR = 13;
const BYTE c_oserct_chartExSeriesDATAPT = 0;
const BYTE c_oserct_chartExSeriesDATALABELS = 1;
const BYTE c_oserct_chartExSeriesLAYOUTPROPS = 2;
const BYTE c_oserct_chartExSeriesTEXT = 3;
const BYTE c_oserct_chartExSeriesAXIS = 4;
const BYTE c_oserct_chartExSeriesDATAID = 5;
const BYTE c_oserct_chartExSeriesSPPR = 6;
const BYTE c_oserct_chartExSeriesLAYOUTID = 7;
const BYTE c_oserct_chartExSeriesHIDDEN = 8;
const BYTE c_oserct_chartExSeriesOWNERIDX = 9;
const BYTE c_oserct_chartExSeriesFORMATIDX = 10;
const BYTE c_oserct_chartExSeriesUNIQUEID = 11;
const BYTE c_oserct_chartExDataPointIDX = 0;
const BYTE c_oserct_chartExDataPointSPPR = 1;
const BYTE c_oserct_chartExDataLabelsPOS = 0;
const BYTE c_oserct_chartExDataLabelsNUMFMT = 1;
const BYTE c_oserct_chartExDataLabelsTXPR = 2;
const BYTE c_oserct_chartExDataLabelsSPPR = 3;
const BYTE c_oserct_chartExDataLabelsVISABILITIES = 4;
const BYTE c_oserct_chartExDataLabelsSEPARATOR = 5;
const BYTE c_oserct_chartExDataLabelsDATALABEL = 6;
const BYTE c_oserct_chartExDataLabelsDATALABELHIDDEN = 7;
const BYTE c_oserct_chartExNumberFormatFORMATCODE = 0;
const BYTE c_oserct_chartExNumberFormatSOURCELINKED = 1;
const BYTE c_oserct_chartExDataLabelIDX = 0;
const BYTE c_oserct_chartExDataLabelPOS = 1;
const BYTE c_oserct_chartExDataLabelNUMFMT = 2;
const BYTE c_oserct_chartExDataLabelTXPR = 3;
const BYTE c_oserct_chartExDataLabelSPPR = 4;
const BYTE c_oserct_chartExDataLabelVISABILITIES = 5;
const BYTE c_oserct_chartExDataLabelSEPARATOR = 6;
const BYTE c_oserct_chartExDataLabelHiddenIDX = 0;
const BYTE c_oserct_chartExSeriesLayoutPARENT = 0;
const BYTE c_oserct_chartExSeriesLayoutREGION = 1;
const BYTE c_oserct_chartExSeriesLayoutVISABILITIES = 2;
const BYTE c_oserct_chartExSeriesLayoutAGGREGATION = 3;
const BYTE c_oserct_chartExSeriesLayoutBINNING = 4;
const BYTE c_oserct_chartExSeriesLayoutSTATISTIC = 5;
const BYTE c_oserct_chartExSeriesLayoutSUBTOTALS = 6;
const BYTE c_oserct_chartExDataLabelVisibilitiesSERIES = 0;
const BYTE c_oserct_chartExDataLabelVisibilitiesCATEGORY = 1;
const BYTE c_oserct_chartExDataLabelVisibilitiesVALUE = 2;
const BYTE c_oserct_chartExBinningBINSIZE = 0;
const BYTE c_oserct_chartExBinningBINCOUNT = 1;
const BYTE c_oserct_chartExBinningINTERVAL = 2;
const BYTE c_oserct_chartExBinningUNDERVAL = 3;
const BYTE c_oserct_chartExBinningUNDERAUTO = 4;
const BYTE c_oserct_chartExBinningOVERVAL = 5;
const BYTE c_oserct_chartExBinningOVERAUTO = 6;
const BYTE c_oserct_chartExTitleTX = 0;
const BYTE c_oserct_chartExTitleTXPR = 1;
const BYTE c_oserct_chartExTitleSPPR = 2;
const BYTE c_oserct_chartExTitlePOS = 3;
const BYTE c_oserct_chartExTitleALIGN = 4;
const BYTE c_oserct_chartExTitleOVERLAY = 5;
const BYTE c_oserct_chartExLegendTXPR = 0;
const BYTE c_oserct_chartExLegendSPPR = 1;
const BYTE c_oserct_chartExLegendPOS = 2;
const BYTE c_oserct_chartExLegendALIGN = 3;
const BYTE c_oserct_chartExLegendOVERLAY = 4;
const BYTE c_oserct_chartExTextRICH = 0;
const BYTE c_oserct_chartExTextDATA = 1;
const BYTE c_oserct_chartExTextDataFORMULA = 0;
const BYTE c_oserct_chartExTextDataVALUE = 1;
const BYTE c_oserct_chartExDataID = 0;
const BYTE c_oserct_chartExDataSTRDIMENSION = 1;
const BYTE c_oserct_chartExDataNUMDIMENSION = 2;
const BYTE c_oserct_chartExSubtotalsIDX = 0;
const BYTE c_oserct_chartExSeriesVisibilitiesCONNECTOR = 0;
const BYTE c_oserct_chartExSeriesVisibilitiesMEANLINE = 1;
const BYTE c_oserct_chartExSeriesVisibilitiesMEANMARKER = 2;
const BYTE c_oserct_chartExSeriesVisibilitiesNONOUTLIERS = 3;
const BYTE c_oserct_chartExSeriesVisibilitiesOUTLIERS = 4;
const BYTE c_oserct_chartExCatScalingGAPAUTO = 0;
const BYTE c_oserct_chartExCatScalingGAPVAL = 1;
const BYTE c_oserct_chartExValScalingMAXAUTO = 0;
const BYTE c_oserct_chartExValScalingMAXVAL = 1;
const BYTE c_oserct_chartExValScalingMINAUTO = 2;
const BYTE c_oserct_chartExValScalingMINVAL = 3;
const BYTE c_oserct_chartExValScalingMAJUNITAUTO = 4;
const BYTE c_oserct_chartExValScalingMAJUNITVAL = 5;
const BYTE c_oserct_chartExValScalingMINUNITAUTO = 6;
const BYTE c_oserct_chartExValScalingMINUNITVAL = 7;
const BYTE c_oserct_chartExAxisUnitTYPE = 0;
const BYTE c_oserct_chartExAxisUnitLABEL = 1;
const BYTE c_oserct_chartExAxisUnitsLabelTEXT = 0;
const BYTE c_oserct_chartExAxisUnitsLabelSPPR = 1;
const BYTE c_oserct_chartExAxisUnitsLabelTXPR = 2;
const BYTE c_oserct_chartExTickMarksTYPE = 0;
const BYTE c_oserct_chartExGridlinesSPPR = 0;
const BYTE c_oserct_chartExStatisticsMETHOD = 0;
const BYTE c_oserct_chartExDataDimensionTYPE = 0;
const BYTE c_oserct_chartExDataDimensionFORMULA = 1;
const BYTE c_oserct_chartExDataDimensionNF = 2;
const BYTE c_oserct_chartExDataDimensionSTRINGLEVEL = 3;
const BYTE c_oserct_chartExDataDimensionNUMERICLEVEL = 4;
const BYTE c_oserct_chartExFormulaCONTENT = 0;
const BYTE c_oserct_chartExFormulaDIRECTION = 1;
const BYTE c_oserct_chartExDataLevelNAME = 0;
const BYTE c_oserct_chartExDataLevelCOUNT = 1;
const BYTE c_oserct_chartExDataLevelPT = 2;
const BYTE c_oserct_chartExDataLevelFORMATCODE = 3;
const BYTE c_oserct_chartExDataValueIDX = 0;
const BYTE c_oserct_chartExDataValueCONTENT = 1;
// extens ... 0x80