forked from SheetJS/sheetjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflow.js
151 lines (120 loc) · 2.43 KB
/
flow.js
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
/*::
type ZIPFile = any;
type XLString = {
t:string;
r?:string;
h?:string;
};
type WorkbookFile = any;
type Workbook = {
SheetNames: Array<string>;
Sheets: {[name:string]:Worksheet};
Props?: any;
Custprops?: any;
Themes?: any;
Workbook?: WBWBProps;
SSF?: SSFTable;
cfb?: any;
vbaraw?: any;
};
type WBWBProps = {
Sheets: Array<WBWSProp>;
Names?: Array<any>;
Views?: Array<any>;
WBProps?: WBProps;
};
type WBProps = {
allowRefreshQuery?: boolean;
autoCompressPictures?: boolean;
backupFile?: boolean;
checkCompatibility?: boolean;
CodeName?: string;
date1904?: boolean;
defaultThemeVersion?: number;
filterPrivacy?: boolean;
hidePivotFieldList?: boolean;
promptedSolutions?: boolean;
publishItems?: boolean;
refreshAllConnections?: boolean;
saveExternalLinkValues?: boolean;
showBorderUnselectedTables?: boolean;
showInkAnnotation?: boolean;
showObjects?: string;
showPivotChartFilter?: boolean;
updateLinks?: string;
};
type WBWSProp = {
Hidden?: number;
name?: string;
CodeName?: string;
};
interface CellAddress {
r:number;
c:number;
};
type CellAddrSpec = CellAddress | string;
type Cell = any;
type Range = {
s: CellAddress;
e: CellAddress;
}
type Worksheet = any;
type Sheet2CSVOpts = any;
type Sheet2JSONOpts = any;
type Sheet2HTMLOpts = any;
type ParseOpts = any;
type WriteOpts = any;
type WriteFileOpts = any;
type RawData = any;
interface TypeOpts {
type?:string;
}
type XLSXModule = any;
type SST = {
[n:number]:XLString;
Count:number;
Unique:number;
push(x:XLString):void;
length:number;
};
type Comment = {
t:string;
a?:string;
r?:string;
h?:string;
};
type RawComment = any;
type RowInfo = {
hidden?:boolean; // if true, the row is hidden
hpx?:number; // height in screen pixels
hpt?:number; // height in points
level?:number; // outline / group level
};
type ColInfo = {
hidden?:boolean; // if true, the column is hidden
wpx?:number; // width in screen pixels
width?:number; // width in Excel's "Max Digit Width", width*256 is integral
wch?:number; // width in characters
MDW?:number; // Excel's "Max Digit Width" unit, always integral
};
interface Margins {
left?:number;
right?:number;
top?:number;
bottom?:number;
header?:number;
footer?:number;
};
interface DefinedName {
Name:string;
Ref:string;
Sheet?:number;
Comment?:string;
};
interface Hyperlink {
Target:string;
Tooltip?:string;
};
type SSFTable = any;
type AOA = Array<Array<any> >;
*/