@sswroom/sswr 1.6.13 → 1.6.14
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/Changelog +7 -0
- package/certutil.d.ts +1 -1
- package/certutil.js +645 -23
- package/data.d.ts +29 -1
- package/data.js +673 -72
- package/exporter/XLSXExporter.d.ts +40 -0
- package/exporter/XLSXExporter.js +1960 -0
- package/hash.d.ts +25 -0
- package/hash.js +257 -2
- package/osm.js +41 -2
- package/package.json +4 -1
- package/parser.js +46 -0
- package/spreadsheet.d.ts +574 -0
- package/spreadsheet.js +2227 -0
- package/text.d.ts +19 -0
- package/text.js +17 -0
- package/zip.d.ts +57 -0
- package/zip.js +474 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import * as data from "../data";
|
|
2
|
+
import * as spreadsheet from "../spreadsheet";
|
|
3
|
+
|
|
4
|
+
declare class LinkInfo
|
|
5
|
+
{
|
|
6
|
+
row: number;
|
|
7
|
+
col: number;
|
|
8
|
+
cell: spreadsheet.CellData;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
declare class BorderInfo
|
|
12
|
+
{
|
|
13
|
+
left: spreadsheet.BorderStyle;
|
|
14
|
+
top: spreadsheet.BorderStyle;
|
|
15
|
+
right: spreadsheet.BorderStyle;
|
|
16
|
+
bottom: spreadsheet.BorderStyle;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
export class XLSXExporter
|
|
20
|
+
{
|
|
21
|
+
constructor();
|
|
22
|
+
|
|
23
|
+
getName(): string;
|
|
24
|
+
isObjectSupported(pobj: data.ParsedObject): boolean;
|
|
25
|
+
getOutputExt(): string;
|
|
26
|
+
getOutputMIME(): string;
|
|
27
|
+
exportFile(fileName: string, pobj: data.ParsedObject, param?: object): Uint8Array|null;
|
|
28
|
+
|
|
29
|
+
//static appendFill(sb: string[], fill: spreadsheet.OfficeFill|null): void;
|
|
30
|
+
//static appendLineStyle(sb: string[], lineStyle: spreadsheet.OfficeLineStyle|null): void;
|
|
31
|
+
static appendTitle(sb: string[], title: string): void;
|
|
32
|
+
//static appendShapeProp(sb: string[], shapeProp: spreadsheet.OfficeShapeProp): void;
|
|
33
|
+
//static appendAxis(sb: string[], axis: spreadsheet.OfficeChartAxis, index: number): void;
|
|
34
|
+
//static appendSeries(sb: string[], series: spreadsheet.OfficeChartSeries, index: number): void;
|
|
35
|
+
static appendBorder(sb: string[], border: spreadsheet.BorderStyle, name: string): void;
|
|
36
|
+
static appendXF(sb: string[], style: spreadsheet.CellStyle, borders: BorderInfo[], workbook: spreadsheet.Workbook, numFmtMap: object): void;
|
|
37
|
+
|
|
38
|
+
static presetColorCode(color: spreadsheet.PresetColor): string;
|
|
39
|
+
static toFormatCode(dataFormat: string): string;
|
|
40
|
+
};
|