@@ -105,66 +105,6 @@ public enum TableStyles
105
105
Dark9 ,
106
106
Dark10 ,
107
107
Dark11 ,
108
- //PivotStyleLight1,
109
- //PivotStyleLight2,
110
- //PivotStyleLight3,
111
- //PivotStyleLight4,
112
- //PivotStyleLight5,
113
- //PivotStyleLight6,
114
- //PivotStyleLight7,
115
- //PivotStyleLight8,
116
- //PivotStyleLight9,
117
- //PivotStyleLight10,
118
- //PivotStyleLight11,
119
- //PivotStyleLight12,
120
- //PivotStyleLight13,
121
- //PivotStyleLight14,
122
- //PivotStyleLight15,
123
- //PivotStyleLight16,
124
- //PivotStyleLight17,
125
- //PivotStyleLight18,
126
- //PivotStyleLight19,
127
- //PivotStyleLight20,
128
- //PivotStyleLight21,
129
- //PivotStyleMedium1,
130
- //PivotStyleMedium2,
131
- //PivotStyleMedium3,
132
- //PivotStyleMedium4,
133
- //PivotStyleMedium5,
134
- //PivotStyleMedium6,
135
- //PivotStyleMedium7,
136
- //PivotStyleMedium8,
137
- //PivotStyleMedium9,
138
- //PivotStyleMedium10,
139
- //PivotStyleMedium11,
140
- //PivotStyleMedium12,
141
- //PivotStyleMedium13,
142
- //PivotStyleMedium14,
143
- //PivotStyleMedium15,
144
- //PivotStyleMedium16,
145
- //PivotStyleMedium17,
146
- //PivotStyleMedium18,
147
- //PivotStyleMedium19,
148
- //PivotStyleMedium20,
149
- //PivotStyleMedium21,
150
- //PivotStyleMedium22,
151
- //PivotStyleMedium23,
152
- //PivotStyleMedium24,
153
- //PivotStyleMedium25,
154
- //PivotStyleMedium26,
155
- //PivotStyleMedium27,
156
- //PivotStyleMedium28
157
- //PivotStyleDark1,
158
- //PivotStyleDark2,
159
- //PivotStyleDark3,
160
- //PivotStyleDark4,
161
- //PivotStyleDark5,
162
- //PivotStyleDark6,
163
- //PivotStyleDark7,
164
- //PivotStyleDark8,
165
- //PivotStyleDark9,
166
- //PivotStyleDark10,
167
- //PivotStyleDark11
168
108
}
169
109
/// <summary>
170
110
/// An Excel Table
@@ -286,7 +226,7 @@ internal int Id
286
226
const string NAME_PATH = "@name" ;
287
227
const string DISPLAY_NAME_PATH = "@displayName" ;
288
228
/// <summary>
289
- /// Name of the table object in Excel
229
+ /// The name of the table object in Excel
290
230
/// </summary>
291
231
public string Name
292
232
{
@@ -328,6 +268,9 @@ public ExcelAddressBase Address
328
268
internal set ;
329
269
}
330
270
ExcelTableColumnCollection _cols = null ;
271
+ /// <summary>
272
+ /// Collection of the columns in the table
273
+ /// </summary>
331
274
public ExcelTableColumnCollection Columns
332
275
{
333
276
get
@@ -341,7 +284,7 @@ public ExcelTableColumnCollection Columns
341
284
}
342
285
TableStyles _tableStyle = TableStyles . Medium6 ;
343
286
/// <summary>
344
- /// The table style. If this property is cusom the style from the StyleName propery is used.
287
+ /// The table style. If this property is cusom, the style from the StyleName propery is used.
345
288
/// </summary>
346
289
public TableStyles TableStyle
347
290
{
@@ -360,6 +303,9 @@ public TableStyles TableStyle
360
303
}
361
304
const string HEADERROWCOUNT_PATH = "@headerRowCount" ;
362
305
const string AUTOFILTER_PATH = "d:autoFilter/@ref" ;
306
+ /// <summary>
307
+ /// If the header row is visible or not
308
+ /// </summary>
363
309
public bool ShowHeader
364
310
{
365
311
get
@@ -418,7 +364,7 @@ private void WriteAutoFilter(bool showTotal)
418
364
}
419
365
}
420
366
/// <summary>
421
- /// If the headerrow has an autofilter
367
+ /// If the header row has an autofilter
422
368
/// </summary>
423
369
public bool ShowFilter
424
370
{
@@ -447,6 +393,9 @@ public bool ShowFilter
447
393
}
448
394
const string TOTALSROWCOUNT_PATH = "@totalsRowCount" ;
449
395
const string TOTALSROWSHOWN_PATH = "@totalsRowShown" ;
396
+ /// <summary>
397
+ /// If the total row is visible or not
398
+ /// </summary>
450
399
public bool ShowTotal
451
400
{
452
401
get
@@ -479,6 +428,9 @@ public bool ShowTotal
479
428
}
480
429
}
481
430
const string STYLENAME_PATH = "d:tableStyleInfo/@name" ;
431
+ /// <summary>
432
+ /// The style name for custum styles
433
+ /// </summary>
482
434
public string StyleName
483
435
{
484
436
get
@@ -511,6 +463,9 @@ public string StyleName
511
463
}
512
464
}
513
465
const string SHOWFIRSTCOLUMN_PATH = "d:tableStyleInfo/@showFirstColumn" ;
466
+ /// <summary>
467
+ /// Display special formatting for the first row
468
+ /// </summary>
514
469
public bool ShowFirstColumn
515
470
{
516
471
get
@@ -523,6 +478,9 @@ public bool ShowFirstColumn
523
478
}
524
479
}
525
480
const string SHOWLASTCOLUMN_PATH = "d:tableStyleInfo/@showLastColumn" ;
481
+ /// <summary>
482
+ /// Display special formatting for the last row
483
+ /// </summary>
526
484
public bool ShowLastColumn
527
485
{
528
486
get
@@ -535,6 +493,9 @@ public bool ShowLastColumn
535
493
}
536
494
}
537
495
const string SHOWROWSTRIPES_PATH = "d:tableStyleInfo/@showRowStripes" ;
496
+ /// <summary>
497
+ /// Display banded rows
498
+ /// </summary>
538
499
public bool ShowRowStripes
539
500
{
540
501
get
@@ -547,6 +508,9 @@ public bool ShowRowStripes
547
508
}
548
509
}
549
510
const string SHOWCOLUMNSTRIPES_PATH = "d:tableStyleInfo/@showColumnStripes" ;
511
+ /// <summary>
512
+ /// Display banded columns
513
+ /// </summary>
550
514
public bool ShowColumnStripes
551
515
{
552
516
get
@@ -560,6 +524,9 @@ public bool ShowColumnStripes
560
524
}
561
525
562
526
const string TOTALSROWCELLSTYLE_PATH = "@totalsRowCellStyle" ;
527
+ /// <summary>
528
+ /// Named style used for the total row
529
+ /// </summary>
563
530
public string TotalsRowCellStyle
564
531
{
565
532
get
@@ -581,6 +548,9 @@ public string TotalsRowCellStyle
581
548
}
582
549
}
583
550
const string DATACELLSTYLE_PATH = "@dataCellStyle" ;
551
+ /// <summary>
552
+ /// Named style used for the data cells
553
+ /// </summary>
584
554
public string DataCellStyleName
585
555
{
586
556
get
@@ -605,6 +575,9 @@ public string DataCellStyleName
605
575
}
606
576
}
607
577
const string HEADERROWCELLSTYLE_PATH = "@headerRowCellStyle" ;
578
+ /// <summary>
579
+ /// Named style used for the header row
580
+ /// </summary>
608
581
public string HeaderRowCellStyle
609
582
{
610
583
get
0 commit comments