Commit 7b7043a
committed
fixes #38
HeaderHeight is a nullable double on XlsxMediaTypeFormatter, but the
constructor only accepts a non-nullable double. By changing this to nullable
the consumer can now ignore the height and it will use the default. The lack
of this feature only seemed to affect MS Excel. Previously the height was set
to zero, and "hidding" it in MS Excel. Google Spreadsheets seemed unaffected.1 parent ef0e302 commit 7b7043a
File tree
2 files changed
+15
-1
lines changed- src/WebApiContrib.Formatting.Xlsx
- test/WebApiContrib.Formatting.Xlsx.Tests
2 files changed
+15
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
397 | 397 | | |
398 | 398 | | |
399 | 399 | | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
400 | 414 | | |
401 | 415 | | |
402 | 416 | | |
| |||
0 commit comments