@lexaxai/spreadsheet-engine 0.0.0-stage → 0.1.0-dryrun.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +202 -0
- package/index.d.ts +2282 -0
- package/index.js +865 -0
- package/lexax.darwin-arm64.node +0 -0
- package/package.json +24 -4
- package/types/calc.d.ts +260 -0
- package/types/chart.d.ts +479 -0
- package/types/chart_ex.d.ts +379 -0
- package/types/chart_format.d.ts +440 -0
- package/types/chart_series.d.ts +336 -0
- package/types/drawings.d.ts +383 -0
- package/types/files.d.ts +367 -0
- package/types/formats.d.ts +380 -0
- package/types/page.d.ts +352 -0
- package/types/render.d.ts +137 -0
- package/types/sheet.d.ts +432 -0
- package/types/styles.d.ts +383 -0
- package/types/tables.d.ts +420 -0
- package/types/validation.d.ts +151 -0
- package/types/values.d.ts +280 -0
- package/README.md +0 -3
package/types/page.d.ts
ADDED
|
@@ -0,0 +1,352 @@
|
|
|
1
|
+
// A worksheet's printed pages: the page setup, its paper and margins, the
|
|
2
|
+
// header and footer with their pictures, and the pages a print makes.
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* The paper sizes a page setup can name, each with the number Excel writes for it. Letter, the default, has
|
|
6
|
+
* no number.
|
|
7
|
+
*/
|
|
8
|
+
export const enum PaperSize {
|
|
9
|
+
/**
|
|
10
|
+
* Legal paper, 8.5 by 14 inches.
|
|
11
|
+
*/
|
|
12
|
+
Legal = 5,
|
|
13
|
+
/**
|
|
14
|
+
* Executive paper, 7.25 by 10.5 inches.
|
|
15
|
+
*/
|
|
16
|
+
Executive = 7,
|
|
17
|
+
/**
|
|
18
|
+
* A4 paper, 210 by 297 mm.
|
|
19
|
+
*/
|
|
20
|
+
A4 = 9,
|
|
21
|
+
/**
|
|
22
|
+
* A5 paper, 148 by 210 mm.
|
|
23
|
+
*/
|
|
24
|
+
A5 = 11,
|
|
25
|
+
/**
|
|
26
|
+
* B5 (JIS) paper, 182 by 257 mm.
|
|
27
|
+
*/
|
|
28
|
+
B5 = 13,
|
|
29
|
+
/**
|
|
30
|
+
* Envelope #10, 4.125 by 9.5 inches.
|
|
31
|
+
*/
|
|
32
|
+
Envelope_10 = 20,
|
|
33
|
+
/**
|
|
34
|
+
* DL envelope, 110 by 220 mm.
|
|
35
|
+
*/
|
|
36
|
+
Envelope_DL = 27,
|
|
37
|
+
/**
|
|
38
|
+
* C5 envelope, 162 by 229 mm.
|
|
39
|
+
*/
|
|
40
|
+
Envelope_C5 = 28,
|
|
41
|
+
/**
|
|
42
|
+
* B5 envelope, 176 by 250 mm.
|
|
43
|
+
*/
|
|
44
|
+
Envelope_B5 = 34,
|
|
45
|
+
/**
|
|
46
|
+
* Monarch envelope, 3.875 by 7.5 inches.
|
|
47
|
+
*/
|
|
48
|
+
Envelope_Monarch = 37,
|
|
49
|
+
/**
|
|
50
|
+
* Double Japanese postcard, rotated.
|
|
51
|
+
*/
|
|
52
|
+
Double_Japan_Postcard_Rotated = 82,
|
|
53
|
+
/**
|
|
54
|
+
* 16K paper, 197 by 273 mm.
|
|
55
|
+
*/
|
|
56
|
+
K16_197x273_mm = 119,
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* The margins of a printed page, in inches, with the space left for its header and footer. Used by
|
|
61
|
+
* `PageSetup`.
|
|
62
|
+
*/
|
|
63
|
+
export interface Margins {
|
|
64
|
+
/**
|
|
65
|
+
* The top margin, in inches.
|
|
66
|
+
*/
|
|
67
|
+
top: number;
|
|
68
|
+
/**
|
|
69
|
+
* The left margin, in inches.
|
|
70
|
+
*/
|
|
71
|
+
left: number;
|
|
72
|
+
/**
|
|
73
|
+
* The bottom margin, in inches.
|
|
74
|
+
*/
|
|
75
|
+
bottom: number;
|
|
76
|
+
/**
|
|
77
|
+
* The right margin, in inches.
|
|
78
|
+
*/
|
|
79
|
+
right: number;
|
|
80
|
+
/**
|
|
81
|
+
* The distance from the top edge of the page to the header, in inches.
|
|
82
|
+
*/
|
|
83
|
+
header: number;
|
|
84
|
+
/**
|
|
85
|
+
* The distance from the bottom edge of the page to the footer, in inches.
|
|
86
|
+
*/
|
|
87
|
+
footer: number;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* The page setup of a worksheet: its margins, orientation, scale, paper size and print options. Held in
|
|
92
|
+
* `Worksheet.pageSetup`.
|
|
93
|
+
*/
|
|
94
|
+
export interface PageSetup {
|
|
95
|
+
/**
|
|
96
|
+
* Whitespace on the borders of the page. Units are inches.
|
|
97
|
+
*/
|
|
98
|
+
margins: Margins;
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Orientation of the page - that is taller (`'portrait'`) or wider (`'landscape'`).
|
|
102
|
+
*
|
|
103
|
+
* `'portrait'` by default
|
|
104
|
+
*/
|
|
105
|
+
orientation: 'portrait' | 'landscape';
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Horizontal Dots per Inch. Default value is 4294967295
|
|
109
|
+
*/
|
|
110
|
+
horizontalDpi: number;
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Vertical Dots per Inch. Default value is 4294967295
|
|
114
|
+
*/
|
|
115
|
+
verticalDpi: number;
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Whether to use fitToWidth and fitToHeight or scale settings.
|
|
119
|
+
*
|
|
120
|
+
* Default is based on presence of these settings in the pageSetup object - if both are present,
|
|
121
|
+
* scale wins (that is default will be false)
|
|
122
|
+
*/
|
|
123
|
+
fitToPage: boolean;
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* How many pages wide the sheet should print on to. Active when fitToPage is true
|
|
127
|
+
*
|
|
128
|
+
* Default is 1
|
|
129
|
+
*/
|
|
130
|
+
fitToWidth: number;
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* How many pages high the sheet should print on to. Active when fitToPage is true
|
|
134
|
+
*
|
|
135
|
+
* Default is 1
|
|
136
|
+
*/
|
|
137
|
+
fitToHeight: number;
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Percentage value to increase or reduce the size of the print. Active when fitToPage is false
|
|
141
|
+
*
|
|
142
|
+
* Default is 100
|
|
143
|
+
*/
|
|
144
|
+
scale: number;
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* Which order to print the pages.
|
|
148
|
+
*
|
|
149
|
+
* Default is `downThenOver`
|
|
150
|
+
*/
|
|
151
|
+
pageOrder: 'downThenOver' | 'overThenDown';
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* Print without colour
|
|
155
|
+
*
|
|
156
|
+
* false by default
|
|
157
|
+
*/
|
|
158
|
+
blackAndWhite: boolean;
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* Print with less quality (and ink)
|
|
162
|
+
*
|
|
163
|
+
* false by default
|
|
164
|
+
*/
|
|
165
|
+
draft: boolean;
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* Where to place comments
|
|
169
|
+
*
|
|
170
|
+
* Default is `None`
|
|
171
|
+
*/
|
|
172
|
+
cellComments: 'atEnd' | 'asDisplayed' | 'None';
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* Where to show errors
|
|
176
|
+
*
|
|
177
|
+
* Default is `displayed`
|
|
178
|
+
*/
|
|
179
|
+
errors: 'dash' | 'blank' | 'NA' | 'displayed';
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* What paper size to use, as `PaperSize` numbers it; Letter, the default, is `undefined`.
|
|
183
|
+
*/
|
|
184
|
+
paperSize: PaperSize;
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* Whether to show the row numbers and column letters, `false` by default
|
|
188
|
+
*/
|
|
189
|
+
showRowColHeaders: boolean;
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* Whether to show grid lines, `false` by default
|
|
193
|
+
*/
|
|
194
|
+
showGridLines: boolean;
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* Which number to use for the first page
|
|
198
|
+
*/
|
|
199
|
+
firstPageNumber: number;
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* Whether to center the sheet data horizontally, `false` by default
|
|
203
|
+
*/
|
|
204
|
+
horizontalCentered: boolean;
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* Whether to center the sheet data vertically, `false` by default
|
|
208
|
+
*/
|
|
209
|
+
verticalCentered: boolean;
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* Set Print Area for a sheet, for example `'A1:G20'`
|
|
213
|
+
*/
|
|
214
|
+
printArea: string;
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* Repeat specific rows on every printed page, for example `'1:3'`
|
|
218
|
+
*/
|
|
219
|
+
printTitlesRow: string;
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* Repeat specific columns on every printed page, for example `'A:C'`
|
|
223
|
+
*/
|
|
224
|
+
printTitlesColumn: string;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* The text of the headers and footers of a worksheet's printed pages, for odd, even and first pages. Held in
|
|
229
|
+
* `Worksheet.headerFooter`.
|
|
230
|
+
*/
|
|
231
|
+
export interface HeaderFooter {
|
|
232
|
+
/**
|
|
233
|
+
* Whether the first page has headers and footers of its own, `false` by default
|
|
234
|
+
*/
|
|
235
|
+
differentFirst: boolean;
|
|
236
|
+
/**
|
|
237
|
+
* Whether odd and even pages have headers and footers of their own, `false` by default
|
|
238
|
+
*/
|
|
239
|
+
differentOddEven: boolean;
|
|
240
|
+
/**
|
|
241
|
+
* The header of odd pages, with its formatting codes; none by default
|
|
242
|
+
*/
|
|
243
|
+
oddHeader: string;
|
|
244
|
+
/**
|
|
245
|
+
* The footer of odd pages, with its formatting codes; none by default
|
|
246
|
+
*/
|
|
247
|
+
oddFooter: string;
|
|
248
|
+
/**
|
|
249
|
+
* The header of even pages, with its formatting codes; none by default
|
|
250
|
+
*/
|
|
251
|
+
evenHeader: string;
|
|
252
|
+
/**
|
|
253
|
+
* The footer of even pages, with its formatting codes; none by default
|
|
254
|
+
*/
|
|
255
|
+
evenFooter: string;
|
|
256
|
+
/**
|
|
257
|
+
* The header of the first page, with its formatting codes; none by default
|
|
258
|
+
*/
|
|
259
|
+
firstHeader: string;
|
|
260
|
+
/**
|
|
261
|
+
* The footer of the first page, with its formatting codes; none by default
|
|
262
|
+
*/
|
|
263
|
+
firstFooter: string;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* A section of a header or footer: its left, centre or right part, in the header or the footer.
|
|
268
|
+
*/
|
|
269
|
+
export type HeaderFooterPosition =
|
|
270
|
+
| 'leftHeader' | 'centerHeader' | 'rightHeader' | 'leftFooter' | 'centerFooter' | 'rightFooter';
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* The options of `Worksheet.addHeaderFooterPicture`, which places an image in a section of the header or
|
|
274
|
+
* footer.
|
|
275
|
+
*/
|
|
276
|
+
export interface HeaderFooterPictureOptions {
|
|
277
|
+
/** the workbook's image (addImage) */
|
|
278
|
+
imageId: number;
|
|
279
|
+
/**
|
|
280
|
+
* The section the picture is in: one of the six header and footer sections.
|
|
281
|
+
*/
|
|
282
|
+
position: HeaderFooterPosition;
|
|
283
|
+
/** odd by default; first or even sets the sheet to tell those pages apart */
|
|
284
|
+
page?: 'odd' | 'first' | 'even';
|
|
285
|
+
/** in points; the picture's pixels at 96 dpi by default */
|
|
286
|
+
width?: number;
|
|
287
|
+
/**
|
|
288
|
+
* The picture's height in points; its pixels at 96 dpi when left out.
|
|
289
|
+
*/
|
|
290
|
+
height?: number;
|
|
291
|
+
/**
|
|
292
|
+
* The picture's title.
|
|
293
|
+
*/
|
|
294
|
+
title?: string;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* A picture in a section of the header or footer, as `Worksheet.getHeaderFooterPictures` lists it.
|
|
299
|
+
*/
|
|
300
|
+
export interface HeaderFooterPicture {
|
|
301
|
+
/**
|
|
302
|
+
* The section the picture is in.
|
|
303
|
+
*/
|
|
304
|
+
position: HeaderFooterPosition;
|
|
305
|
+
/**
|
|
306
|
+
* The pages the picture shows on: `odd`, `first` or `even`.
|
|
307
|
+
*/
|
|
308
|
+
page: 'odd' | 'first' | 'even';
|
|
309
|
+
/**
|
|
310
|
+
* The workbook's image the picture shows.
|
|
311
|
+
*/
|
|
312
|
+
imageId: number;
|
|
313
|
+
/**
|
|
314
|
+
* The picture's width in points.
|
|
315
|
+
*/
|
|
316
|
+
width: number;
|
|
317
|
+
/**
|
|
318
|
+
* The picture's height in points.
|
|
319
|
+
*/
|
|
320
|
+
height: number;
|
|
321
|
+
/**
|
|
322
|
+
* The picture's title.
|
|
323
|
+
*/
|
|
324
|
+
title?: string;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
/**
|
|
328
|
+
* A page of a worksheet's print, as `Worksheet.getPrintPages` lists it.
|
|
329
|
+
*/
|
|
330
|
+
export interface PrintPage {
|
|
331
|
+
/** the cells the page prints, 'A46:I90' */
|
|
332
|
+
range: string;
|
|
333
|
+
/** the title rows printed above them, '1:2', where the page does not begin with them */
|
|
334
|
+
titleRows?: string;
|
|
335
|
+
/** the title columns printed left of them, 'A:A' */
|
|
336
|
+
titleColumns?: string;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
/**
|
|
340
|
+
* The pages a worksheet prints on, with the paper and the scale they print at, as `Worksheet.getPrintPages`
|
|
341
|
+
* returns them.
|
|
342
|
+
*/
|
|
343
|
+
export interface PrintPages {
|
|
344
|
+
/** the paper's size in points, turned for landscape */
|
|
345
|
+
paper: {width: number; height: number};
|
|
346
|
+
/** the cells' scale: the setup's, or the largest whole percentage that fits them to pages */
|
|
347
|
+
scale: number;
|
|
348
|
+
/**
|
|
349
|
+
* The pages, in the order they print.
|
|
350
|
+
*/
|
|
351
|
+
pages: PrintPage[];
|
|
352
|
+
}
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
// What drawing a workbook takes: a PDF's, an HTML page's, a Word or
|
|
2
|
+
// PowerPoint document's and a picture's options.
|
|
3
|
+
|
|
4
|
+
import type { PageSetup } from './page';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* The sheets a document holds, by name or id, one or a list; the sheets shown by default, in the tabs' order.
|
|
8
|
+
*/
|
|
9
|
+
export type SheetChoice = string | number | Array<string | number>;
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Where a document's or a picture's fonts are found: a list of font folders, or `false` for the standard PDF
|
|
13
|
+
* fonts alone; the system's font folders by default.
|
|
14
|
+
*/
|
|
15
|
+
export type PdfFonts = string[] | false;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* What of each sheet a document draws: `all` (the default), its `cells` alone, or its `drawings` alone.
|
|
19
|
+
*/
|
|
20
|
+
export type RenderContent = 'all' | 'cells' | 'drawings';
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* The options of `workbook.pdf` writes: which sheets and ranges print, the fonts they use and what the
|
|
24
|
+
* header and footer fields show.
|
|
25
|
+
*/
|
|
26
|
+
export interface PdfWriteOptions {
|
|
27
|
+
/** the sheets printed */
|
|
28
|
+
sheets: SheetChoice;
|
|
29
|
+
/**
|
|
30
|
+
* fonts embedded as subsets where found; the system's font folders by default, false for the
|
|
31
|
+
* standard PDF fonts stretched to the workbook's fonts' widths
|
|
32
|
+
*/
|
|
33
|
+
fonts: PdfFonts;
|
|
34
|
+
/** the date and time the &D and &T fields show, and the document's creation date */
|
|
35
|
+
now: Date | number;
|
|
36
|
+
/**
|
|
37
|
+
* the number format &D is shown in, which Excel takes from the system's short date; m/d/yyyy by
|
|
38
|
+
* default
|
|
39
|
+
*/
|
|
40
|
+
dateFormat: string;
|
|
41
|
+
/**
|
|
42
|
+
* The number format `&T` shows the time in, `h:mm AM/PM` by default.
|
|
43
|
+
*/
|
|
44
|
+
timeFormat: string;
|
|
45
|
+
/** the file name the &F field shows */
|
|
46
|
+
fileName: string;
|
|
47
|
+
/** the path the &Z field shows */
|
|
48
|
+
path: string;
|
|
49
|
+
/** the ranges printed, each of the sheet it names or the first printed ('A1:H40'); each sheet whole by default */
|
|
50
|
+
range: string | string[];
|
|
51
|
+
/** what of each sheet prints */
|
|
52
|
+
content: RenderContent;
|
|
53
|
+
/** a page setup laid over each sheet's: its orientation, paper, scale or fit, margins, gridlines, headings and centring */
|
|
54
|
+
pageSetup: Partial<PageSetup>;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* A file beside an HTML page in Excel's dialect, holding one of the workbook's sheets.
|
|
59
|
+
*/
|
|
60
|
+
export interface HtmlFile {
|
|
61
|
+
/** the file's name, relative to the page: book_files/sheet002.htm */
|
|
62
|
+
name: string;
|
|
63
|
+
/**
|
|
64
|
+
* The file's HTML text.
|
|
65
|
+
*/
|
|
66
|
+
data: string;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* The options of `workbook.html` writes: the sheets on the page, the range, the title, the gridlines, the
|
|
71
|
+
* formulas and the dialect.
|
|
72
|
+
*/
|
|
73
|
+
export interface HtmlWriteOptions {
|
|
74
|
+
/** the sheets on the page */
|
|
75
|
+
sheets: SheetChoice;
|
|
76
|
+
/** a range of the first sheet ('A1:H40'); all each sheet holds by default, its drawings too */
|
|
77
|
+
range: string;
|
|
78
|
+
/** 'printArea': each sheet's print area where it has one (ST_WebSourceType); 'sheet', all it holds, by default */
|
|
79
|
+
source: 'sheet' | 'printArea';
|
|
80
|
+
/** the page's title; the workbook's title, else its first sheet's name */
|
|
81
|
+
title: string;
|
|
82
|
+
/** gridlines drawn or not, over each sheet's own setting */
|
|
83
|
+
gridlines: boolean;
|
|
84
|
+
/** each formula written as its cell's data-f attribute */
|
|
85
|
+
formulas: boolean;
|
|
86
|
+
/** the date and time NOW and TODAY show in conditional formatting rules */
|
|
87
|
+
now: Date | number;
|
|
88
|
+
/**
|
|
89
|
+
* 'clean' (the default): one page to read; 'excel': Excel's own dialect, a page a sheet that Excel opens back
|
|
90
|
+
* with its values, formulas and formats, the sheets after the first in files beside the page
|
|
91
|
+
*/
|
|
92
|
+
dialect: 'clean' | 'excel';
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* The options of writing a Word or PowerPoint document: the sheets and ranges exported, what of them, and the
|
|
97
|
+
* date and time the document is made, which `NOW()` and `TODAY()` show.
|
|
98
|
+
*/
|
|
99
|
+
export interface OfficeWriteOptions {
|
|
100
|
+
/** the sheets exported */
|
|
101
|
+
sheets: SheetChoice;
|
|
102
|
+
/** the date and time the document is made, and what NOW and TODAY show in conditional formatting rules */
|
|
103
|
+
now: Date | number;
|
|
104
|
+
/** the ranges exported, each of the sheet it names or the first exported */
|
|
105
|
+
range: string | string[];
|
|
106
|
+
/** what of each sheet is exported */
|
|
107
|
+
content: RenderContent;
|
|
108
|
+
/** a Word document's page setup laid over each sheet's; a PowerPoint deck refuses it */
|
|
109
|
+
pageSetup: Partial<PageSetup>;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* The options of `toPNG`: the picture's scale, where its fonts are found and its background.
|
|
114
|
+
*/
|
|
115
|
+
export interface PngOptions {
|
|
116
|
+
/** pixels a point; 2 by default */
|
|
117
|
+
scale?: number;
|
|
118
|
+
/** where the text's fonts are found: a list of folders, or false for none (no text drawn) */
|
|
119
|
+
fonts?: PdfFonts;
|
|
120
|
+
/** the colour under the picture, {hex: 'FFFFFF', alpha: 1} by default; null for none (clear) */
|
|
121
|
+
background?: {hex: string; alpha: number} | null;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* The cells a worksheet picture draws and whether its gridlines show, as `Worksheet.toPNG` takes them.
|
|
126
|
+
*/
|
|
127
|
+
export interface SheetPictureOptions {
|
|
128
|
+
/** the cells drawn, 'A1:H20'; from A1 to the last cell in use by default */
|
|
129
|
+
range?: string;
|
|
130
|
+
/** whether gridlines are drawn; as the sheet's view shows them by default */
|
|
131
|
+
gridlines?: boolean;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* What `Worksheet.toPNG` takes: the cells drawn, and the PNG's scale, fonts and background.
|
|
136
|
+
*/
|
|
137
|
+
export interface SheetPngOptions extends SheetPictureOptions, PngOptions {}
|