@syncfusion/ej2-docx-renderer 0.0.0-stage → 35.2.15
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/README.md +2 -2
- package/base.d.ts +4 -0
- package/base.js +4 -0
- package/dist/ej2-docx-renderer.umd.min.js +2 -0
- package/dist/ej2-docx-renderer.umd.min.js.map +1 -0
- package/dist/es6/ej2-docx-renderer.es2015.js +52432 -0
- package/dist/es6/ej2-docx-renderer.es2015.js.map +1 -0
- package/dist/es6/ej2-docx-renderer.es5.js +54425 -0
- package/dist/es6/ej2-docx-renderer.es5.js.map +1 -0
- package/dist/global/ej2-docx-renderer.min.js +2 -0
- package/dist/global/ej2-docx-renderer.min.js.map +1 -0
- package/dist/global/index.d.ts +5 -0
- package/format.d.ts +4 -0
- package/format.js +4 -0
- package/helper.d.ts +4 -0
- package/helper.js +4 -0
- package/index.d.ts +4 -0
- package/index.js +4 -0
- package/license +10 -0
- package/list.d.ts +4 -0
- package/list.js +4 -0
- package/package.json +26 -4
- package/parser.d.ts +4 -0
- package/parser.js +4 -0
- package/src/base/constants.d.ts +2 -0
- package/src/base/constants.js +2 -0
- package/src/base/dictionary.d.ts +52 -0
- package/src/base/dictionary.js +137 -0
- package/src/base/index.d.ts +9 -0
- package/src/base/index.js +9 -0
- package/src/base/keywords.d.ts +422 -0
- package/src/base/keywords.js +422 -0
- package/src/base/types.d.ts +2590 -0
- package/src/base/types.js +1056 -0
- package/src/base/unique-format.d.ts +87 -0
- package/src/base/unique-format.js +858 -0
- package/src/base/unique-formats.d.ts +32 -0
- package/src/base/unique-formats.js +87 -0
- package/src/document-canvas.d.ts +61 -0
- package/src/document-canvas.js +221 -0
- package/src/docx-renderer.d.ts +941 -0
- package/src/docx-renderer.js +2251 -0
- package/src/format/border.d.ts +53 -0
- package/src/format/border.js +600 -0
- package/src/format/borders.d.ts +44 -0
- package/src/format/borders.js +314 -0
- package/src/format/cell-format.d.ts +42 -0
- package/src/format/cell-format.js +309 -0
- package/src/format/character-format.d.ts +152 -0
- package/src/format/character-format.js +1224 -0
- package/src/format/index.d.ts +14 -0
- package/src/format/index.js +14 -0
- package/src/format/list-format.d.ts +32 -0
- package/src/format/list-format.js +238 -0
- package/src/format/paragraph-format.d.ts +103 -0
- package/src/format/paragraph-format.js +854 -0
- package/src/format/row-format.d.ts +119 -0
- package/src/format/row-format.js +545 -0
- package/src/format/section-format.d.ts +89 -0
- package/src/format/section-format.js +689 -0
- package/src/format/shading.d.ts +24 -0
- package/src/format/shading.js +137 -0
- package/src/format/style.d.ts +106 -0
- package/src/format/style.js +286 -0
- package/src/format/table-format.d.ts +51 -0
- package/src/format/table-format.js +395 -0
- package/src/global.js +1 -0
- package/src/helper/document-editor-helper.d.ts +515 -0
- package/src/helper/document-editor-helper.js +1302 -0
- package/src/helper/document-editor-settings.d.ts +293 -0
- package/src/helper/document-editor-settings.js +94 -0
- package/src/helper/index.d.ts +5 -0
- package/src/helper/index.js +5 -0
- package/src/helper/layout-helper-methods.d.ts +539 -0
- package/src/helper/layout-helper-methods.js +1065 -0
- package/src/helper/renderer-hooks.d.ts +74 -0
- package/src/helper/renderer-hooks.js +14 -0
- package/src/helper/revision-helper-methods.d.ts +199 -0
- package/src/helper/revision-helper-methods.js +362 -0
- package/src/index.d.ts +18 -0
- package/src/index.js +18 -0
- package/src/layout-helper.d.ts +190 -0
- package/src/layout-helper.js +1368 -0
- package/src/layout.d.ts +779 -0
- package/src/layout.js +17232 -0
- package/src/list/abstract-list.d.ts +25 -0
- package/src/list/abstract-list.js +67 -0
- package/src/list/index.d.ts +7 -0
- package/src/list/index.js +7 -0
- package/src/list/level-override.d.ts +22 -0
- package/src/list/level-override.js +43 -0
- package/src/list/list-level.d.ts +57 -0
- package/src/list/list-level.js +249 -0
- package/src/list/list.d.ts +30 -0
- package/src/list/list.js +100 -0
- package/src/page.d.ts +4155 -0
- package/src/page.js +11342 -0
- package/src/parser/index.d.ts +1 -0
- package/src/parser/index.js +1 -0
- package/src/parser/sfdt-reader.d.ts +254 -0
- package/src/parser/sfdt-reader.js +4569 -0
- package/src/render.d.ts +226 -0
- package/src/render.js +4222 -0
- package/src/text-helper.d.ts +144 -0
- package/src/text-helper.js +1079 -0
- package/src/text-helpers/index.d.ts +2 -0
- package/src/text-helpers/index.js +2 -0
- package/src/text-helpers/optimized.d.ts +45 -0
- package/src/text-helpers/optimized.js +121 -0
- package/src/text-helpers/regular.d.ts +37 -0
- package/src/text-helpers/regular.js +93 -0
- package/src/themes/font-scheme.d.ts +28 -0
- package/src/themes/font-scheme.js +107 -0
- package/src/themes/index.d.ts +6 -0
- package/src/themes/index.js +6 -0
- package/src/themes/major-minor-font-scheme.d.ts +14 -0
- package/src/themes/major-minor-font-scheme.js +45 -0
- package/src/themes/themes.d.ts +11 -0
- package/src/themes/themes.js +31 -0
- package/src/utility/index.d.ts +1 -0
- package/src/utility/index.js +1 -0
- package/src/utility/path-util.d.ts +133 -0
- package/src/utility/path-util.js +639 -0
- package/text-helpers.d.ts +4 -0
- package/text-helpers.js +4 -0
- package/themes.d.ts +4 -0
- package/themes.js +4 -0
- package/utility.d.ts +4 -0
- package/utility.js +4 -0
package/src/page.d.ts
ADDED
|
@@ -0,0 +1,4155 @@
|
|
|
1
|
+
import { WTableFormat } from './format/table-format';
|
|
2
|
+
import { WRowFormat } from './format/row-format';
|
|
3
|
+
import { WCellFormat } from './format/cell-format';
|
|
4
|
+
import { WTabStop } from './format/paragraph-format';
|
|
5
|
+
import { ChartComponent } from '@syncfusion/ej2-office-chart';
|
|
6
|
+
import { WidthType, AutoFitType, TextFormFieldType, CheckBoxSizeType, VerticalOrigin, VerticalAlignment, HorizontalOrigin, HorizontalAlignment, LineFormatType, LineDashing, AutoShapeType, ContentControlType, ContentControlWidgetType, TextWrappingStyle, TextWrappingType, CharacterRangeType, FontScriptType, BreakClearType, FillType } from './base/types';
|
|
7
|
+
import { WListLevel } from './list/list-level';
|
|
8
|
+
import { WParagraphFormat } from './format/paragraph-format';
|
|
9
|
+
import { WCharacterFormat } from './format/character-format';
|
|
10
|
+
import { WSectionFormat } from './format/section-format';
|
|
11
|
+
import { WBorder } from './format/border';
|
|
12
|
+
import { WBorders } from './format/borders';
|
|
13
|
+
import { Dictionary } from './base/dictionary';
|
|
14
|
+
import { ElementInfo, Point, WidthInfo, TextFormFieldInfo, CheckBoxFormFieldInfo, DropDownFormFieldInfo, BorderInfo } from './helper/layout-helper-methods';
|
|
15
|
+
import { HeaderFooterType, TabLeader, FootnoteType } from './base/types';
|
|
16
|
+
import { LayoutHelper } from './layout-helper';
|
|
17
|
+
import { FieldSettingsModel } from '@syncfusion/ej2-dropdowns';
|
|
18
|
+
import { DocxRenderer } from './docx-renderer';
|
|
19
|
+
import { RevisionBase } from './helper/revision-helper-methods';
|
|
20
|
+
/**
|
|
21
|
+
* @private
|
|
22
|
+
*/
|
|
23
|
+
export declare class Rect {
|
|
24
|
+
/**
|
|
25
|
+
* @private
|
|
26
|
+
*/
|
|
27
|
+
width: number;
|
|
28
|
+
/**
|
|
29
|
+
* @private
|
|
30
|
+
*/
|
|
31
|
+
height: number;
|
|
32
|
+
/**
|
|
33
|
+
* @private
|
|
34
|
+
*/
|
|
35
|
+
x: number;
|
|
36
|
+
/**
|
|
37
|
+
* @private
|
|
38
|
+
*/
|
|
39
|
+
y: number;
|
|
40
|
+
readonly right: number;
|
|
41
|
+
readonly bottom: number;
|
|
42
|
+
constructor(x: number, y: number, width: number, height: number);
|
|
43
|
+
/**
|
|
44
|
+
* @param currentBound
|
|
45
|
+
* @private
|
|
46
|
+
*/
|
|
47
|
+
isIntersecting(currentBound: Rect): boolean;
|
|
48
|
+
/**
|
|
49
|
+
* @param currentBound
|
|
50
|
+
* @private
|
|
51
|
+
*/
|
|
52
|
+
isTableIntersecting(currentBound: Rect): boolean;
|
|
53
|
+
/**
|
|
54
|
+
* @private
|
|
55
|
+
*/
|
|
56
|
+
clone(): Rect;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* @private
|
|
60
|
+
*/
|
|
61
|
+
export declare class Padding {
|
|
62
|
+
right: number;
|
|
63
|
+
left: number;
|
|
64
|
+
top: number;
|
|
65
|
+
bottom: number;
|
|
66
|
+
constructor(right: number, left: number, top: number, bottom: number);
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* @private
|
|
70
|
+
*/
|
|
71
|
+
export declare class Margin {
|
|
72
|
+
/**
|
|
73
|
+
* @private
|
|
74
|
+
*/
|
|
75
|
+
left: number;
|
|
76
|
+
/**
|
|
77
|
+
* @private
|
|
78
|
+
*/
|
|
79
|
+
top: number;
|
|
80
|
+
/**
|
|
81
|
+
* @private
|
|
82
|
+
*/
|
|
83
|
+
right: number;
|
|
84
|
+
/**
|
|
85
|
+
* @private
|
|
86
|
+
*/
|
|
87
|
+
bottom: number;
|
|
88
|
+
constructor(leftMargin: number, topMargin: number, rightMargin: number, bottomMargin: number);
|
|
89
|
+
clone(): Margin;
|
|
90
|
+
destroy(): void;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* @private
|
|
94
|
+
*/
|
|
95
|
+
export interface IWidget {
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* @private
|
|
99
|
+
*/
|
|
100
|
+
export declare abstract class Widget implements IWidget {
|
|
101
|
+
/**
|
|
102
|
+
* @private
|
|
103
|
+
*/
|
|
104
|
+
childWidgets: IWidget[];
|
|
105
|
+
/**
|
|
106
|
+
* @private
|
|
107
|
+
*/
|
|
108
|
+
x: number;
|
|
109
|
+
/**
|
|
110
|
+
* @private
|
|
111
|
+
*/
|
|
112
|
+
y: number;
|
|
113
|
+
/**
|
|
114
|
+
* @private
|
|
115
|
+
*/
|
|
116
|
+
width: number;
|
|
117
|
+
/**
|
|
118
|
+
* @private
|
|
119
|
+
*/
|
|
120
|
+
height: number;
|
|
121
|
+
/**
|
|
122
|
+
* @private
|
|
123
|
+
*/
|
|
124
|
+
margin: Margin;
|
|
125
|
+
/**
|
|
126
|
+
* @private
|
|
127
|
+
*/
|
|
128
|
+
containerWidget: Widget;
|
|
129
|
+
/**
|
|
130
|
+
* @private
|
|
131
|
+
*/
|
|
132
|
+
index: number;
|
|
133
|
+
readonly indexInOwner: number;
|
|
134
|
+
readonly firstChild: IWidget;
|
|
135
|
+
readonly lastChild: IWidget;
|
|
136
|
+
readonly previousWidget: Widget;
|
|
137
|
+
readonly nextWidget: Widget;
|
|
138
|
+
readonly previousRenderedWidget: Widget;
|
|
139
|
+
readonly nextRenderedWidget: Widget;
|
|
140
|
+
readonly previousSplitWidget: Widget;
|
|
141
|
+
readonly nextSplitWidget: Widget;
|
|
142
|
+
abstract equals(widget: Widget): boolean;
|
|
143
|
+
abstract getTableCellWidget(point: Point): TableCellWidget;
|
|
144
|
+
getPreviousSplitWidgets(): Widget[];
|
|
145
|
+
getSplitWidgets(): Widget[];
|
|
146
|
+
combineWidget(viewer: LayoutHelper): Widget;
|
|
147
|
+
private combine;
|
|
148
|
+
addWidgets(childWidgets: IWidget[]): void;
|
|
149
|
+
removeChild(index: number): void;
|
|
150
|
+
abstract destroyInternal(viewer: LayoutHelper): void;
|
|
151
|
+
destroy(): void;
|
|
152
|
+
/**
|
|
153
|
+
* Disposes the internal objects which are maintained.
|
|
154
|
+
* @private
|
|
155
|
+
*/
|
|
156
|
+
componentDestroy(): void;
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* @private
|
|
160
|
+
*/
|
|
161
|
+
export declare abstract class BlockContainer extends Widget {
|
|
162
|
+
documentHelper: DocxRenderer;
|
|
163
|
+
/**
|
|
164
|
+
* @private
|
|
165
|
+
*/
|
|
166
|
+
page: Page;
|
|
167
|
+
/**
|
|
168
|
+
* @private
|
|
169
|
+
*/
|
|
170
|
+
floatingElements: (ShapeBase | TableWidget)[];
|
|
171
|
+
/**
|
|
172
|
+
* @private
|
|
173
|
+
*/
|
|
174
|
+
footNoteReference: FootnoteElementBox;
|
|
175
|
+
/**
|
|
176
|
+
* @private
|
|
177
|
+
*/
|
|
178
|
+
removedHeaderFooters: HeaderFooters[];
|
|
179
|
+
/**
|
|
180
|
+
* @private
|
|
181
|
+
*/
|
|
182
|
+
sectionFormatIn: WSectionFormat;
|
|
183
|
+
/**
|
|
184
|
+
* @private
|
|
185
|
+
*/
|
|
186
|
+
columnIndex: number;
|
|
187
|
+
/**
|
|
188
|
+
* @private
|
|
189
|
+
*/
|
|
190
|
+
headerSectionIndex: number;
|
|
191
|
+
/**
|
|
192
|
+
* @private
|
|
193
|
+
*/
|
|
194
|
+
isWord2010NextColumn: boolean;
|
|
195
|
+
sectionFormat: WSectionFormat;
|
|
196
|
+
readonly sectionIndex: number;
|
|
197
|
+
getHierarchicalIndex(hierarchicalIndex: string): string;
|
|
198
|
+
getHeaderFooterIndex(block: HeaderFooterWidget): number;
|
|
199
|
+
/**
|
|
200
|
+
* Disposes the internal objects which are maintained.
|
|
201
|
+
* @private
|
|
202
|
+
*/
|
|
203
|
+
componentDestroy(): void;
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* @private
|
|
207
|
+
*/
|
|
208
|
+
export declare class BodyWidget extends BlockContainer {
|
|
209
|
+
/**
|
|
210
|
+
* Initialize the constructor of BodyWidget
|
|
211
|
+
*/
|
|
212
|
+
constructor();
|
|
213
|
+
equals(widget: Widget): boolean;
|
|
214
|
+
getHierarchicalIndex(hierarchicalIndex: string): string;
|
|
215
|
+
getTableCellWidget(touchPoint: Point): TableCellWidget;
|
|
216
|
+
destroyInternal(viewer: LayoutHelper): void;
|
|
217
|
+
destroy(): void;
|
|
218
|
+
/**
|
|
219
|
+
* Disposes the internal objects which are maintained.
|
|
220
|
+
* @private
|
|
221
|
+
*/
|
|
222
|
+
componentDestroy(): void;
|
|
223
|
+
}
|
|
224
|
+
/**
|
|
225
|
+
* @private
|
|
226
|
+
*/
|
|
227
|
+
export interface HeaderFooters {
|
|
228
|
+
[key: number]: HeaderFooterWidget;
|
|
229
|
+
}
|
|
230
|
+
/**
|
|
231
|
+
* @private
|
|
232
|
+
*/
|
|
233
|
+
export declare class HeaderFooterWidget extends BlockContainer {
|
|
234
|
+
/**
|
|
235
|
+
* @private
|
|
236
|
+
*/
|
|
237
|
+
headerFooterType: HeaderFooterType;
|
|
238
|
+
/**
|
|
239
|
+
* @private
|
|
240
|
+
*/
|
|
241
|
+
parentHeaderFooter: HeaderFooterWidget;
|
|
242
|
+
/**
|
|
243
|
+
* @private
|
|
244
|
+
*/
|
|
245
|
+
isEmpty: boolean;
|
|
246
|
+
constructor(type: HeaderFooterType);
|
|
247
|
+
getTableCellWidget(point: Point): TableCellWidget;
|
|
248
|
+
equals(widget: Widget): boolean;
|
|
249
|
+
clone(): HeaderFooterWidget;
|
|
250
|
+
destroyInternal(viewer: LayoutHelper): void;
|
|
251
|
+
/**
|
|
252
|
+
* Disposes the internal objects which are maintained.
|
|
253
|
+
* @private
|
|
254
|
+
*/
|
|
255
|
+
componentDestroy(): void;
|
|
256
|
+
}
|
|
257
|
+
/**
|
|
258
|
+
* @private
|
|
259
|
+
*/
|
|
260
|
+
export declare abstract class BlockWidget extends Widget {
|
|
261
|
+
/**
|
|
262
|
+
* @private
|
|
263
|
+
*/
|
|
264
|
+
isLayouted: boolean;
|
|
265
|
+
/**
|
|
266
|
+
* @private
|
|
267
|
+
*/
|
|
268
|
+
isFieldCodeBlock: boolean;
|
|
269
|
+
/**
|
|
270
|
+
* @private
|
|
271
|
+
*/
|
|
272
|
+
leftBorderWidth: number;
|
|
273
|
+
/**
|
|
274
|
+
* @private
|
|
275
|
+
*/
|
|
276
|
+
rightBorderWidth: number;
|
|
277
|
+
/**
|
|
278
|
+
* @private
|
|
279
|
+
*/
|
|
280
|
+
topBorderWidth: number;
|
|
281
|
+
/**
|
|
282
|
+
* @private
|
|
283
|
+
*/
|
|
284
|
+
bottomBorderWidth: number;
|
|
285
|
+
/**
|
|
286
|
+
* @private
|
|
287
|
+
*/
|
|
288
|
+
locked: boolean;
|
|
289
|
+
/**
|
|
290
|
+
* @private
|
|
291
|
+
*/
|
|
292
|
+
lockedBy: string;
|
|
293
|
+
/**
|
|
294
|
+
* @private
|
|
295
|
+
*/
|
|
296
|
+
contentControlProperties: ContentControlProperties;
|
|
297
|
+
readonly bodyWidget: BlockContainer;
|
|
298
|
+
readonly leftIndent: number;
|
|
299
|
+
readonly rightIndent: number;
|
|
300
|
+
readonly isInsideTable: boolean;
|
|
301
|
+
readonly isInHeaderFooter: boolean;
|
|
302
|
+
readonly associatedCell: TableCellWidget;
|
|
303
|
+
/**
|
|
304
|
+
* Check whether the paragraph contains only page break.
|
|
305
|
+
*
|
|
306
|
+
* @private
|
|
307
|
+
* @returns {boolean}: Returns true if paragraph contains page break alone.
|
|
308
|
+
*/
|
|
309
|
+
isPageBreak(): boolean;
|
|
310
|
+
isColumnBreak(): boolean;
|
|
311
|
+
getHierarchicalIndex(hierarchicalIndex: string): string;
|
|
312
|
+
abstract getMinimumAndMaximumWordWidth(minimumWordWidth: number, maximumWordWidth: number, maxParaWidth?: number): WidthInfo;
|
|
313
|
+
abstract clone(): BlockWidget;
|
|
314
|
+
getIndex(): number;
|
|
315
|
+
getContainerWidth(): number;
|
|
316
|
+
readonly bidi: boolean;
|
|
317
|
+
/**
|
|
318
|
+
* Disposes the internal objects which are maintained.
|
|
319
|
+
* @private
|
|
320
|
+
*/
|
|
321
|
+
componentDestroy(): void;
|
|
322
|
+
}
|
|
323
|
+
/**
|
|
324
|
+
* @private
|
|
325
|
+
*/
|
|
326
|
+
export declare class FootNoteWidget extends BlockContainer {
|
|
327
|
+
getMinimumAndMaximumWordWidth(minimumWordWidth: number, maximumWordWidth: number, maxParaWidth?: number): WidthInfo;
|
|
328
|
+
/**
|
|
329
|
+
* @private
|
|
330
|
+
*/
|
|
331
|
+
footNoteType: FootnoteType;
|
|
332
|
+
/**
|
|
333
|
+
* @private
|
|
334
|
+
*/
|
|
335
|
+
containerWidget: BodyWidget;
|
|
336
|
+
/**
|
|
337
|
+
* @private
|
|
338
|
+
*/
|
|
339
|
+
bodyWidgets: BodyWidget[];
|
|
340
|
+
/**
|
|
341
|
+
* @private
|
|
342
|
+
*/
|
|
343
|
+
block: BlockWidget;
|
|
344
|
+
getTableCellWidget(point: Point): TableCellWidget;
|
|
345
|
+
equals(widget: Widget): boolean;
|
|
346
|
+
clone(): FootNoteWidget;
|
|
347
|
+
destroyInternal(viewer: LayoutHelper): void;
|
|
348
|
+
/**
|
|
349
|
+
* Disposes the internal objects which are maintained.
|
|
350
|
+
* @private
|
|
351
|
+
*/
|
|
352
|
+
componentDestroy(): void;
|
|
353
|
+
}
|
|
354
|
+
/**
|
|
355
|
+
* @private
|
|
356
|
+
*/
|
|
357
|
+
export declare class ParagraphWidget extends BlockWidget {
|
|
358
|
+
/**
|
|
359
|
+
* @private
|
|
360
|
+
*/
|
|
361
|
+
paragraphFormat: WParagraphFormat;
|
|
362
|
+
/**
|
|
363
|
+
* @private
|
|
364
|
+
*/
|
|
365
|
+
characterFormat: WCharacterFormat;
|
|
366
|
+
/**
|
|
367
|
+
* @private
|
|
368
|
+
*/
|
|
369
|
+
isSectionBreak: boolean;
|
|
370
|
+
/**
|
|
371
|
+
* @private
|
|
372
|
+
*/
|
|
373
|
+
isChangeDetected: boolean;
|
|
374
|
+
/**
|
|
375
|
+
* @private
|
|
376
|
+
*/
|
|
377
|
+
isUpdateBookmarkEnd: boolean;
|
|
378
|
+
/**
|
|
379
|
+
* @private
|
|
380
|
+
*/
|
|
381
|
+
ischildContentControl: boolean;
|
|
382
|
+
/**
|
|
383
|
+
* @private
|
|
384
|
+
*/
|
|
385
|
+
textWrapWidth: boolean;
|
|
386
|
+
/**
|
|
387
|
+
* @private
|
|
388
|
+
* The clientX having previous left value of empty paragraph
|
|
389
|
+
*/
|
|
390
|
+
clientX: number;
|
|
391
|
+
/**
|
|
392
|
+
* @private
|
|
393
|
+
*/
|
|
394
|
+
isRender: boolean;
|
|
395
|
+
/**
|
|
396
|
+
* @private
|
|
397
|
+
*/
|
|
398
|
+
floatingElements: ShapeBase[];
|
|
399
|
+
readonly isEndsWithPageBreak: boolean;
|
|
400
|
+
readonly isEndsWithColumnBreak: boolean;
|
|
401
|
+
/**
|
|
402
|
+
* Initialize the constructor of ParagraphWidget
|
|
403
|
+
*/
|
|
404
|
+
constructor();
|
|
405
|
+
getRevisionRange(revision: RevisionBase): ElementBox[];
|
|
406
|
+
/**
|
|
407
|
+
* @private
|
|
408
|
+
* @param isUpdateOwnerNode Used for updating ownerNode of the revisions.
|
|
409
|
+
* @returns {DocxRevision[]} Returns the revisions of the paragraph.
|
|
410
|
+
*/
|
|
411
|
+
getAllRevisions(isUpdateOwnerNode?: boolean): any[];
|
|
412
|
+
equals(widget: Widget): boolean;
|
|
413
|
+
isContainsShapeAlone(): boolean;
|
|
414
|
+
isEmptyInternal(layoutCheck: boolean): boolean;
|
|
415
|
+
private isZeroWidthText;
|
|
416
|
+
isEmpty(): boolean;
|
|
417
|
+
getInline(offset: number, indexInInline: number): ElementInfo;
|
|
418
|
+
getLength(): number;
|
|
419
|
+
/**
|
|
420
|
+
* Return the total length by considering splitted paragraph widgets.
|
|
421
|
+
* @private
|
|
422
|
+
*/
|
|
423
|
+
getTotalLength(): number;
|
|
424
|
+
getTableCellWidget(point: Point): TableCellWidget;
|
|
425
|
+
getMinimumAndMaximumWordWidth(minimumWordWidth: number, maximumWordWidth: number, maxParaWidth?: number): WidthInfo;
|
|
426
|
+
private measureParagraph;
|
|
427
|
+
private isArabicChar;
|
|
428
|
+
private isHebrewChar;
|
|
429
|
+
private isHindiChar;
|
|
430
|
+
private isKoreanChar;
|
|
431
|
+
private isJapanese;
|
|
432
|
+
private isThaiCharacter;
|
|
433
|
+
private isChineseChar;
|
|
434
|
+
private isSpecialCharacters;
|
|
435
|
+
private getFontScriptType;
|
|
436
|
+
splitTextByFontScriptType(inputText: string, fontScriptTypes: FontScriptType[], hasHintType: boolean): string[];
|
|
437
|
+
splitTextRangeByScriptType(lineIndex: number): void;
|
|
438
|
+
/**
|
|
439
|
+
* @private
|
|
440
|
+
*/
|
|
441
|
+
splitLtrAndRtlText(lineIndex: number): void;
|
|
442
|
+
private updateTextElementInRevisionRange;
|
|
443
|
+
/**
|
|
444
|
+
* Combine the spans by consecutive LTR and RTL texts.
|
|
445
|
+
* @private
|
|
446
|
+
*/
|
|
447
|
+
combineconsecutiveRTL(lineIndex: number): void;
|
|
448
|
+
private combineConsecutiveRTLDateFormatText;
|
|
449
|
+
private compareRevisions;
|
|
450
|
+
clone(): ParagraphWidget;
|
|
451
|
+
destroyInternal(viewer: LayoutHelper): void;
|
|
452
|
+
destroy(): void;
|
|
453
|
+
/**
|
|
454
|
+
* Disposes the internal objects which are maintained.
|
|
455
|
+
* @private
|
|
456
|
+
*/
|
|
457
|
+
componentDestroy(): void;
|
|
458
|
+
}
|
|
459
|
+
/**
|
|
460
|
+
* @private
|
|
461
|
+
*/
|
|
462
|
+
export declare class TablePosition {
|
|
463
|
+
/**
|
|
464
|
+
* @private
|
|
465
|
+
*/
|
|
466
|
+
allowOverlap: boolean;
|
|
467
|
+
/**
|
|
468
|
+
* @private
|
|
469
|
+
*/
|
|
470
|
+
distanceTop: number;
|
|
471
|
+
/**
|
|
472
|
+
* @private
|
|
473
|
+
*/
|
|
474
|
+
distanceRight: number;
|
|
475
|
+
/**
|
|
476
|
+
* @private
|
|
477
|
+
*/
|
|
478
|
+
distanceLeft: number;
|
|
479
|
+
/**
|
|
480
|
+
* @private
|
|
481
|
+
*/
|
|
482
|
+
distanceBottom: number;
|
|
483
|
+
/**
|
|
484
|
+
* @private
|
|
485
|
+
*/
|
|
486
|
+
verticalOrigin: string;
|
|
487
|
+
/**
|
|
488
|
+
* @private
|
|
489
|
+
*/
|
|
490
|
+
verticalAlignment: VerticalAlignment;
|
|
491
|
+
/**
|
|
492
|
+
* @private
|
|
493
|
+
*/
|
|
494
|
+
verticalPosition: number;
|
|
495
|
+
/**
|
|
496
|
+
* @private
|
|
497
|
+
*/
|
|
498
|
+
horizontalOrigin: string;
|
|
499
|
+
/**
|
|
500
|
+
* @private
|
|
501
|
+
*/
|
|
502
|
+
horizontalAlignment: HorizontalAlignment;
|
|
503
|
+
/**
|
|
504
|
+
* @private
|
|
505
|
+
*/
|
|
506
|
+
horizontalPosition: number;
|
|
507
|
+
/**
|
|
508
|
+
* @private
|
|
509
|
+
*/
|
|
510
|
+
clone(): TablePosition;
|
|
511
|
+
}
|
|
512
|
+
/**
|
|
513
|
+
* @private
|
|
514
|
+
*/
|
|
515
|
+
export declare class TableWidget extends BlockWidget {
|
|
516
|
+
private flags;
|
|
517
|
+
/**
|
|
518
|
+
* @private
|
|
519
|
+
*/
|
|
520
|
+
leftMargin: number;
|
|
521
|
+
/**
|
|
522
|
+
* @private
|
|
523
|
+
*/
|
|
524
|
+
topMargin: number;
|
|
525
|
+
/**
|
|
526
|
+
* @private
|
|
527
|
+
*/
|
|
528
|
+
rightMargin: number;
|
|
529
|
+
/**
|
|
530
|
+
* @private
|
|
531
|
+
*/
|
|
532
|
+
bottomMargin: number;
|
|
533
|
+
/**
|
|
534
|
+
* @private
|
|
535
|
+
*/
|
|
536
|
+
tableFormat: WTableFormat;
|
|
537
|
+
/**
|
|
538
|
+
* @private
|
|
539
|
+
*/
|
|
540
|
+
spannedRowCollection: Dictionary<number, number>;
|
|
541
|
+
/**
|
|
542
|
+
* @private
|
|
543
|
+
*/
|
|
544
|
+
tableHolder: WTableHolder;
|
|
545
|
+
/**
|
|
546
|
+
* @private
|
|
547
|
+
*/
|
|
548
|
+
headerHeight: number;
|
|
549
|
+
/**
|
|
550
|
+
* @private
|
|
551
|
+
*/
|
|
552
|
+
tableCellInfo: Dictionary<number, Dictionary<number, number>>;
|
|
553
|
+
/**
|
|
554
|
+
* @private
|
|
555
|
+
*/
|
|
556
|
+
isDefaultFormatUpdated: boolean;
|
|
557
|
+
/**
|
|
558
|
+
* @private
|
|
559
|
+
*/
|
|
560
|
+
wrapTextAround: boolean;
|
|
561
|
+
/**
|
|
562
|
+
* @private
|
|
563
|
+
*/
|
|
564
|
+
positioning: TablePosition;
|
|
565
|
+
/**
|
|
566
|
+
* @private
|
|
567
|
+
*/
|
|
568
|
+
isContainInsideTable: boolean;
|
|
569
|
+
/**
|
|
570
|
+
* @private
|
|
571
|
+
*/
|
|
572
|
+
isHeaderNotRepeatForAllPages: boolean;
|
|
573
|
+
/**
|
|
574
|
+
* @private
|
|
575
|
+
*/
|
|
576
|
+
footnoteElement: FootnoteElementBox[];
|
|
577
|
+
/**
|
|
578
|
+
* @private
|
|
579
|
+
*/
|
|
580
|
+
isRender: boolean;
|
|
581
|
+
/**
|
|
582
|
+
* @private
|
|
583
|
+
*/
|
|
584
|
+
/**
|
|
585
|
+
* @private
|
|
586
|
+
*/
|
|
587
|
+
isGridUpdated: boolean;
|
|
588
|
+
/**
|
|
589
|
+
* @private
|
|
590
|
+
*/
|
|
591
|
+
/**
|
|
592
|
+
* @private
|
|
593
|
+
*/
|
|
594
|
+
continueHeader: boolean;
|
|
595
|
+
/**
|
|
596
|
+
* @private
|
|
597
|
+
*/
|
|
598
|
+
/**
|
|
599
|
+
* @private
|
|
600
|
+
*/
|
|
601
|
+
header: boolean;
|
|
602
|
+
isBidiTable: boolean;
|
|
603
|
+
constructor();
|
|
604
|
+
/**
|
|
605
|
+
* @private
|
|
606
|
+
*/
|
|
607
|
+
equals(widget: Widget): boolean;
|
|
608
|
+
/**
|
|
609
|
+
* @private
|
|
610
|
+
*/
|
|
611
|
+
combineRows(viewer: LayoutHelper): void;
|
|
612
|
+
/**
|
|
613
|
+
* @private
|
|
614
|
+
*/
|
|
615
|
+
contains(tableCell: TableCellWidget): boolean;
|
|
616
|
+
/**
|
|
617
|
+
* @private
|
|
618
|
+
*/
|
|
619
|
+
getOwnerWidth(isBasedOnViewer: boolean): number;
|
|
620
|
+
/**
|
|
621
|
+
* @private
|
|
622
|
+
*/
|
|
623
|
+
getTableWidth(): number;
|
|
624
|
+
/**
|
|
625
|
+
* @private
|
|
626
|
+
*/
|
|
627
|
+
getTableCellWidth(): number;
|
|
628
|
+
/**
|
|
629
|
+
* @private
|
|
630
|
+
*/
|
|
631
|
+
getTableClientWidth(clientWidth: number): number;
|
|
632
|
+
/**
|
|
633
|
+
* @private
|
|
634
|
+
*/
|
|
635
|
+
getCellWidth(preferredWidth: number, preferredWidthType: WidthType, containerWidth: number, cell: TableCellWidget): number;
|
|
636
|
+
private getMinimumPreferredWidth;
|
|
637
|
+
/**
|
|
638
|
+
* @private
|
|
639
|
+
*/
|
|
640
|
+
fitCellsToClientArea(clientWidth: number): void;
|
|
641
|
+
/**
|
|
642
|
+
* @private
|
|
643
|
+
*/
|
|
644
|
+
getTableCellWidget(point: Point): TableCellWidget;
|
|
645
|
+
/**
|
|
646
|
+
* @private
|
|
647
|
+
*/
|
|
648
|
+
calculateGrid(isInsertRow?: boolean, isOnlyRow?: boolean): void;
|
|
649
|
+
private updateValidPreferredWidth;
|
|
650
|
+
private updateColumnSpans;
|
|
651
|
+
/**
|
|
652
|
+
* @private
|
|
653
|
+
*/
|
|
654
|
+
getMinimumAndMaximumWordWidth(minimumWordWidth: number, maximumWordWidth: number, maxParaWidth?: number): WidthInfo;
|
|
655
|
+
/**
|
|
656
|
+
* @private
|
|
657
|
+
*/
|
|
658
|
+
checkTableColumns(): void;
|
|
659
|
+
/**
|
|
660
|
+
* @private
|
|
661
|
+
*/
|
|
662
|
+
isAutoFit(): boolean;
|
|
663
|
+
/**
|
|
664
|
+
* @private
|
|
665
|
+
*/
|
|
666
|
+
updateRowSpan(): void;
|
|
667
|
+
/**
|
|
668
|
+
* Assigns grid columnIndex for each cell from rowSpan/columnSpan occupancy.
|
|
669
|
+
* Needed when SFDT omits columnIndex (vertical merges leave gaps so cell index ≠ grid column).
|
|
670
|
+
* @private
|
|
671
|
+
*/
|
|
672
|
+
assignCellColumnIndexes(): void;
|
|
673
|
+
/**
|
|
674
|
+
* @private
|
|
675
|
+
*/
|
|
676
|
+
updateCellFormatPreferredWidth(): void;
|
|
677
|
+
/**
|
|
678
|
+
* @private
|
|
679
|
+
*/
|
|
680
|
+
buildTableColumns(): void;
|
|
681
|
+
/**
|
|
682
|
+
* Checks whether the auto table has only percentage cell preferred widths, which total more than 100 percent in every row,
|
|
683
|
+
* and its content fits within the container width.
|
|
684
|
+
*/
|
|
685
|
+
private isAutoTableCellPctWidthExceedsHundred;
|
|
686
|
+
/**
|
|
687
|
+
* @private
|
|
688
|
+
*/
|
|
689
|
+
setWidthToCells(tableWidth: number, isAutoWidth: boolean): void;
|
|
690
|
+
/**
|
|
691
|
+
* @private
|
|
692
|
+
*/
|
|
693
|
+
updateProperties(updateAllowAutoFit: boolean, currentSelectedTable: TableWidget, autoFitBehavior: AutoFitType): void;
|
|
694
|
+
/**
|
|
695
|
+
* @private
|
|
696
|
+
*/
|
|
697
|
+
getMaxRowWidth(clientWidth: number): number;
|
|
698
|
+
/**
|
|
699
|
+
* @private
|
|
700
|
+
*/
|
|
701
|
+
updateWidth(dragValue: number, isCurrentTableResizing?: boolean, isLastColumn?: boolean): void;
|
|
702
|
+
/**
|
|
703
|
+
* @private
|
|
704
|
+
*/
|
|
705
|
+
convertPointToPercent(tablePreferredWidth: number, ownerWidth: number): number;
|
|
706
|
+
updateChildWidgetLeft(left: number): void;
|
|
707
|
+
/**
|
|
708
|
+
* Shift the widgets for right to left aligned table.
|
|
709
|
+
* @private
|
|
710
|
+
*/
|
|
711
|
+
shiftWidgetsForRtlTable(clientArea: Rect, tableWidget: TableWidget): void;
|
|
712
|
+
/**
|
|
713
|
+
* @private
|
|
714
|
+
*/
|
|
715
|
+
clone(skip?: boolean): TableWidget;
|
|
716
|
+
/**
|
|
717
|
+
* @private
|
|
718
|
+
*/
|
|
719
|
+
static getTableOf(node: WBorders): TableWidget;
|
|
720
|
+
/**
|
|
721
|
+
* @private
|
|
722
|
+
*/
|
|
723
|
+
fitChildToClientArea(): void;
|
|
724
|
+
/**
|
|
725
|
+
* @private
|
|
726
|
+
*/
|
|
727
|
+
getColumnCellsForSelection(startCell: TableCellWidget, endCell: TableCellWidget): TableCellWidget[];
|
|
728
|
+
/**
|
|
729
|
+
* Splits width equally for all the cells.
|
|
730
|
+
* @param tableClientWidth
|
|
731
|
+
* @private
|
|
732
|
+
*/
|
|
733
|
+
splitWidthToTableCells(tableClientWidth: number, isZeroWidth?: boolean): void;
|
|
734
|
+
/**
|
|
735
|
+
* @private
|
|
736
|
+
*/
|
|
737
|
+
insertTableRowsInternal(tableRows: TableRowWidget[], startIndex: number, isInsertRow?: boolean, initilizeCellBorder?: boolean, isOnlyRow?: boolean): void;
|
|
738
|
+
/**
|
|
739
|
+
* @private
|
|
740
|
+
*/
|
|
741
|
+
updateRowIndex(startIndex: number): void;
|
|
742
|
+
/**
|
|
743
|
+
* @private
|
|
744
|
+
*/
|
|
745
|
+
getCellStartOffset(cell: TableCellWidget): number;
|
|
746
|
+
/**
|
|
747
|
+
* @private
|
|
748
|
+
*/
|
|
749
|
+
destroyInternal(viewer: LayoutHelper): void;
|
|
750
|
+
/**
|
|
751
|
+
* @private
|
|
752
|
+
*/
|
|
753
|
+
destroy(): void;
|
|
754
|
+
/**
|
|
755
|
+
* Disposes the internal objects which are maintained.
|
|
756
|
+
* @private
|
|
757
|
+
*/
|
|
758
|
+
componentDestroy(): void;
|
|
759
|
+
}
|
|
760
|
+
/**
|
|
761
|
+
* @private
|
|
762
|
+
*/
|
|
763
|
+
export declare class TableRowWidget extends BlockWidget {
|
|
764
|
+
/**
|
|
765
|
+
* @private
|
|
766
|
+
*/
|
|
767
|
+
topBorderWidth: number;
|
|
768
|
+
/**
|
|
769
|
+
* @private
|
|
770
|
+
*/
|
|
771
|
+
bottomBorderWidth: number;
|
|
772
|
+
/**
|
|
773
|
+
* @private
|
|
774
|
+
*/
|
|
775
|
+
rowFormat: WRowFormat;
|
|
776
|
+
/**
|
|
777
|
+
* @private
|
|
778
|
+
*/
|
|
779
|
+
contentControlProperties: ContentControlProperties;
|
|
780
|
+
/**
|
|
781
|
+
* @private
|
|
782
|
+
*/
|
|
783
|
+
isRenderBookmarkEnd: boolean;
|
|
784
|
+
/**
|
|
785
|
+
* @private
|
|
786
|
+
*/
|
|
787
|
+
editRangeID: Dictionary<number, ElementBox>;
|
|
788
|
+
/**
|
|
789
|
+
* @private
|
|
790
|
+
*/
|
|
791
|
+
readonly rowIndex: number;
|
|
792
|
+
/**
|
|
793
|
+
* @private
|
|
794
|
+
*/
|
|
795
|
+
readonly ownerTable: TableWidget;
|
|
796
|
+
/**
|
|
797
|
+
* @private
|
|
798
|
+
*/
|
|
799
|
+
readonly nextRow: TableRowWidget;
|
|
800
|
+
constructor();
|
|
801
|
+
/**
|
|
802
|
+
* @private
|
|
803
|
+
*/
|
|
804
|
+
equals(widget: Widget): boolean;
|
|
805
|
+
/**
|
|
806
|
+
* @private
|
|
807
|
+
*/
|
|
808
|
+
combineCells(viewer: LayoutHelper): void;
|
|
809
|
+
/**
|
|
810
|
+
* @private
|
|
811
|
+
*/
|
|
812
|
+
static getRowOf(node: WBorders): TableRowWidget;
|
|
813
|
+
/**
|
|
814
|
+
* @private
|
|
815
|
+
*/
|
|
816
|
+
getCell(rowIndex: number, columnIndex: number, cellIndex?: number): TableCellWidget;
|
|
817
|
+
/**
|
|
818
|
+
* @private
|
|
819
|
+
*/
|
|
820
|
+
getCellUsingColumnIndex(rowIndex: number, columnIndex: number): TableCellWidget;
|
|
821
|
+
/**
|
|
822
|
+
* @private
|
|
823
|
+
*/
|
|
824
|
+
splitWidthToRowCells(tableClientWidth: number, isZeroWidth?: boolean): void;
|
|
825
|
+
/**
|
|
826
|
+
* @private
|
|
827
|
+
*/
|
|
828
|
+
getGridCount(tableGrid: number[], cell: TableCellWidget, index: number, containerWidth: number, tempSpan: number[]): number;
|
|
829
|
+
private getOffsetIndex;
|
|
830
|
+
private getCellOffset;
|
|
831
|
+
/**
|
|
832
|
+
* @private
|
|
833
|
+
*/
|
|
834
|
+
updateRowBySpannedCells(): void;
|
|
835
|
+
/**
|
|
836
|
+
* @private
|
|
837
|
+
*/
|
|
838
|
+
getPreviousRowSpannedCells(include?: boolean): TableCellWidget[];
|
|
839
|
+
/**
|
|
840
|
+
* @private
|
|
841
|
+
*/
|
|
842
|
+
isCellsHaveSameWidthUnit(): boolean;
|
|
843
|
+
/**
|
|
844
|
+
* @private
|
|
845
|
+
*/
|
|
846
|
+
updateUniformWidthUnitForCells(): void;
|
|
847
|
+
/**
|
|
848
|
+
* @private
|
|
849
|
+
*/
|
|
850
|
+
getTableCellWidget(point: Point): TableCellWidget;
|
|
851
|
+
/**
|
|
852
|
+
* @private
|
|
853
|
+
*/
|
|
854
|
+
getFirstRowWidth(): number;
|
|
855
|
+
/**
|
|
856
|
+
* @private
|
|
857
|
+
*/
|
|
858
|
+
getCellWidget(columnIndex: number, columnSpan: number): TableCellWidget;
|
|
859
|
+
getVerticalMergeStartCell(columnIndex: number, columnSpan: number): TableCellWidget;
|
|
860
|
+
/**
|
|
861
|
+
* @private
|
|
862
|
+
*/
|
|
863
|
+
getMinimumAndMaximumWordWidth(minimumWordWidth: number, maximumWordWidth: number, maxParaWidth?: number): WidthInfo;
|
|
864
|
+
/**
|
|
865
|
+
* @private
|
|
866
|
+
*/
|
|
867
|
+
destroyInternal(viewer: LayoutHelper): void;
|
|
868
|
+
/**
|
|
869
|
+
* @private
|
|
870
|
+
*/
|
|
871
|
+
clone(cloneUpToHeight?: boolean): TableRowWidget;
|
|
872
|
+
/**
|
|
873
|
+
* Updates the child widgets left.
|
|
874
|
+
* @param left
|
|
875
|
+
* @private
|
|
876
|
+
*/
|
|
877
|
+
updateChildWidgetLeft(left: number, updateLeftIndent?: boolean): void;
|
|
878
|
+
/**
|
|
879
|
+
* Shift the widgets for RTL table.
|
|
880
|
+
* @param tableWidget
|
|
881
|
+
* @private
|
|
882
|
+
*/
|
|
883
|
+
shiftWidgetForRtlTable(): void;
|
|
884
|
+
/**
|
|
885
|
+
* @private
|
|
886
|
+
*/
|
|
887
|
+
destroy(): void;
|
|
888
|
+
/**
|
|
889
|
+
* Disposes the internal objects which are maintained.
|
|
890
|
+
* @private
|
|
891
|
+
*/
|
|
892
|
+
componentDestroy(): void;
|
|
893
|
+
}
|
|
894
|
+
/**
|
|
895
|
+
* @private
|
|
896
|
+
*/
|
|
897
|
+
export declare class TableCellWidget extends BlockWidget {
|
|
898
|
+
/**
|
|
899
|
+
* @private
|
|
900
|
+
*/
|
|
901
|
+
rowIndex: number;
|
|
902
|
+
/**
|
|
903
|
+
* @private
|
|
904
|
+
*/
|
|
905
|
+
cellFormat: WCellFormat;
|
|
906
|
+
/**
|
|
907
|
+
* @private
|
|
908
|
+
*/
|
|
909
|
+
columnIndex: number;
|
|
910
|
+
private sizeInfoInternal;
|
|
911
|
+
/**
|
|
912
|
+
* @private
|
|
913
|
+
*/
|
|
914
|
+
contentControlProperties: ContentControlProperties;
|
|
915
|
+
/**
|
|
916
|
+
* @private
|
|
917
|
+
*/
|
|
918
|
+
updatedTopBorders: BorderInfo[];
|
|
919
|
+
/**
|
|
920
|
+
* @private
|
|
921
|
+
*/
|
|
922
|
+
isRenderBookmarkStart: boolean;
|
|
923
|
+
/**
|
|
924
|
+
* @private
|
|
925
|
+
*/
|
|
926
|
+
isRenderBookmarkEnd: boolean;
|
|
927
|
+
/**
|
|
928
|
+
* @private
|
|
929
|
+
*/
|
|
930
|
+
isRenderEditRangeStart: boolean;
|
|
931
|
+
/**
|
|
932
|
+
* @private
|
|
933
|
+
*/
|
|
934
|
+
isRenderEditRangeEnd: boolean;
|
|
935
|
+
/**
|
|
936
|
+
* @private
|
|
937
|
+
*/
|
|
938
|
+
isSplittedCell: boolean;
|
|
939
|
+
/**
|
|
940
|
+
* @private
|
|
941
|
+
*/
|
|
942
|
+
readonly ownerColumn: WColumn;
|
|
943
|
+
/**
|
|
944
|
+
* @private
|
|
945
|
+
*/
|
|
946
|
+
readonly leftMargin: number;
|
|
947
|
+
/**
|
|
948
|
+
* @private
|
|
949
|
+
*/
|
|
950
|
+
readonly topMargin: number;
|
|
951
|
+
/**
|
|
952
|
+
* @private
|
|
953
|
+
*/
|
|
954
|
+
readonly rightMargin: number;
|
|
955
|
+
/**
|
|
956
|
+
* @private
|
|
957
|
+
*/
|
|
958
|
+
readonly bottomMargin: number;
|
|
959
|
+
/**
|
|
960
|
+
* @private
|
|
961
|
+
*/
|
|
962
|
+
readonly cellIndex: number;
|
|
963
|
+
/**
|
|
964
|
+
* @private
|
|
965
|
+
*/
|
|
966
|
+
readonly ownerTable: TableWidget;
|
|
967
|
+
/**
|
|
968
|
+
* @private
|
|
969
|
+
*/
|
|
970
|
+
readonly ownerRow: TableRowWidget;
|
|
971
|
+
/**
|
|
972
|
+
* @private
|
|
973
|
+
*/
|
|
974
|
+
readonly sizeInfo: ColumnSizeInfo;
|
|
975
|
+
constructor();
|
|
976
|
+
/**
|
|
977
|
+
* @private
|
|
978
|
+
*/
|
|
979
|
+
equals(widget: Widget): boolean;
|
|
980
|
+
/**
|
|
981
|
+
* @private
|
|
982
|
+
*/
|
|
983
|
+
getContainerTable(): TableWidget;
|
|
984
|
+
/**
|
|
985
|
+
* @private
|
|
986
|
+
*/
|
|
987
|
+
getPreviousSplitWidget(): TableCellWidget;
|
|
988
|
+
/**
|
|
989
|
+
* @private
|
|
990
|
+
*/
|
|
991
|
+
isEmpty(): boolean;
|
|
992
|
+
/**
|
|
993
|
+
* @private
|
|
994
|
+
*/
|
|
995
|
+
getNextSplitWidget(): TableCellWidget;
|
|
996
|
+
/**
|
|
997
|
+
* @private
|
|
998
|
+
*/
|
|
999
|
+
getTableCellWidget(point: Point): TableCellWidget;
|
|
1000
|
+
/**
|
|
1001
|
+
* @private
|
|
1002
|
+
*/
|
|
1003
|
+
updateWidth(preferredWidth: number): void;
|
|
1004
|
+
/**
|
|
1005
|
+
* @private
|
|
1006
|
+
*/
|
|
1007
|
+
getCellWidth(block: BlockWidget): number;
|
|
1008
|
+
/**
|
|
1009
|
+
* @private
|
|
1010
|
+
*/
|
|
1011
|
+
convertPointToPercent(cellPreferredWidth: number): number;
|
|
1012
|
+
/**
|
|
1013
|
+
* @private
|
|
1014
|
+
*/
|
|
1015
|
+
static getCellLeftBorder(tableCell: TableCellWidget): WBorder;
|
|
1016
|
+
private static getPreviousCell;
|
|
1017
|
+
/**
|
|
1018
|
+
* @private
|
|
1019
|
+
*/
|
|
1020
|
+
getLeftBorderWidth(): number;
|
|
1021
|
+
/**
|
|
1022
|
+
* @private
|
|
1023
|
+
*/
|
|
1024
|
+
getRightBorderWidth(): number;
|
|
1025
|
+
/**
|
|
1026
|
+
* @private
|
|
1027
|
+
*/
|
|
1028
|
+
getCellSpacing(): number;
|
|
1029
|
+
/**
|
|
1030
|
+
* @private
|
|
1031
|
+
*/
|
|
1032
|
+
getCellSizeInfo(isAutoFit: boolean): ColumnSizeInfo;
|
|
1033
|
+
/**
|
|
1034
|
+
* @private
|
|
1035
|
+
*/
|
|
1036
|
+
getMinimumPreferredWidth(): number;
|
|
1037
|
+
/**
|
|
1038
|
+
* @private
|
|
1039
|
+
*/
|
|
1040
|
+
getPreviousCellLeftBorder(leftBorder: WBorder, previousCell: TableCellWidget): WBorder;
|
|
1041
|
+
/**
|
|
1042
|
+
* @private
|
|
1043
|
+
*/
|
|
1044
|
+
getBorderBasedOnPriority(border: WBorder, adjacentBorder: WBorder): WBorder;
|
|
1045
|
+
/**
|
|
1046
|
+
* @private
|
|
1047
|
+
*/
|
|
1048
|
+
getLeftBorderToRenderByHierarchy(leftBorder: WBorder, rowBorders: WBorders, tableBorders: WBorders): WBorder;
|
|
1049
|
+
/**
|
|
1050
|
+
* @private
|
|
1051
|
+
*/
|
|
1052
|
+
static getCellRightBorder(tableCell: TableCellWidget): WBorder;
|
|
1053
|
+
private static getNextCell;
|
|
1054
|
+
/**
|
|
1055
|
+
* @private
|
|
1056
|
+
*/
|
|
1057
|
+
getAdjacentCellRightBorder(rightBorder: WBorder, nextCell: TableCellWidget): WBorder;
|
|
1058
|
+
/**
|
|
1059
|
+
* @private
|
|
1060
|
+
*/
|
|
1061
|
+
getRightBorderToRenderByHierarchy(rightBorder: WBorder, rowBorders: WBorders, tableBorders: WBorders): WBorder;
|
|
1062
|
+
/**
|
|
1063
|
+
* @private
|
|
1064
|
+
*/
|
|
1065
|
+
static getCellTopBorder(tableCell: TableCellWidget): WBorder;
|
|
1066
|
+
private getTopAdjacentCell;
|
|
1067
|
+
/**
|
|
1068
|
+
* @private
|
|
1069
|
+
*/
|
|
1070
|
+
getPreviousCellTopBorder(topBorder: WBorder, previousTopCell: TableCellWidget): WBorder;
|
|
1071
|
+
/**
|
|
1072
|
+
* @private
|
|
1073
|
+
*/
|
|
1074
|
+
getTopBorderToRenderByHierarchy(topBorder: WBorder, rowBorders: WBorders, tableBorders: WBorders): WBorder;
|
|
1075
|
+
/**
|
|
1076
|
+
* @private
|
|
1077
|
+
*/
|
|
1078
|
+
static getCellBottomBorder(tableCell: TableCellWidget): WBorder;
|
|
1079
|
+
/**
|
|
1080
|
+
* @private
|
|
1081
|
+
*/
|
|
1082
|
+
getAdjacentCellBottomBorder(bottomBorder: WBorder, nextBottomCell: TableCellWidget): WBorder;
|
|
1083
|
+
/**
|
|
1084
|
+
* @private
|
|
1085
|
+
*/
|
|
1086
|
+
getBottomBorderToRenderByHierarchy(bottomBorder: WBorder, rowBorders: WBorders, tableBorders: WBorders): WBorder;
|
|
1087
|
+
/**
|
|
1088
|
+
* @private
|
|
1089
|
+
*/
|
|
1090
|
+
static getCellOf(node: WBorders): TableCellWidget;
|
|
1091
|
+
/**
|
|
1092
|
+
* Updates the Widget left.
|
|
1093
|
+
* @private
|
|
1094
|
+
*/
|
|
1095
|
+
updateWidgetLeft(x: number): void;
|
|
1096
|
+
/**
|
|
1097
|
+
* @private
|
|
1098
|
+
*/
|
|
1099
|
+
updateChildWidgetLeft(left: number): void;
|
|
1100
|
+
/**
|
|
1101
|
+
* @private
|
|
1102
|
+
*/
|
|
1103
|
+
getMinimumAndMaximumWordWidth(minimumWordWidth: number, maximumWordWidth: number, maxParaWidth?: number): WidthInfo;
|
|
1104
|
+
/**
|
|
1105
|
+
* @private
|
|
1106
|
+
*/
|
|
1107
|
+
destroyInternal(viewer: LayoutHelper): void;
|
|
1108
|
+
/**
|
|
1109
|
+
* @private
|
|
1110
|
+
*/
|
|
1111
|
+
clone(cloneUpToHeight?: boolean): TableCellWidget;
|
|
1112
|
+
/**
|
|
1113
|
+
* @private
|
|
1114
|
+
*/
|
|
1115
|
+
destroy(): void;
|
|
1116
|
+
/**
|
|
1117
|
+
* Disposes the internal objects which are maintained.
|
|
1118
|
+
* @private
|
|
1119
|
+
*/
|
|
1120
|
+
componentDestroy(): void;
|
|
1121
|
+
}
|
|
1122
|
+
/**
|
|
1123
|
+
* @private
|
|
1124
|
+
*/
|
|
1125
|
+
export declare class LineWidget implements IWidget {
|
|
1126
|
+
/**
|
|
1127
|
+
* @private
|
|
1128
|
+
*/
|
|
1129
|
+
children: ElementBox[];
|
|
1130
|
+
/**
|
|
1131
|
+
* @private
|
|
1132
|
+
*/
|
|
1133
|
+
layoutedElements: ElementBox[];
|
|
1134
|
+
/**
|
|
1135
|
+
* @private
|
|
1136
|
+
*/
|
|
1137
|
+
paragraph: ParagraphWidget;
|
|
1138
|
+
/**
|
|
1139
|
+
* @private
|
|
1140
|
+
*/
|
|
1141
|
+
x: number;
|
|
1142
|
+
/**
|
|
1143
|
+
* @private
|
|
1144
|
+
*/
|
|
1145
|
+
y: number;
|
|
1146
|
+
/**
|
|
1147
|
+
* @private
|
|
1148
|
+
*/
|
|
1149
|
+
width: number;
|
|
1150
|
+
/**
|
|
1151
|
+
* @private
|
|
1152
|
+
*/
|
|
1153
|
+
height: number;
|
|
1154
|
+
/**
|
|
1155
|
+
* @private
|
|
1156
|
+
*/
|
|
1157
|
+
marginTop: number;
|
|
1158
|
+
/**
|
|
1159
|
+
* @private
|
|
1160
|
+
*/
|
|
1161
|
+
maxBaseLine: number;
|
|
1162
|
+
/**
|
|
1163
|
+
* @private
|
|
1164
|
+
*/
|
|
1165
|
+
skipClipImage: boolean;
|
|
1166
|
+
/**
|
|
1167
|
+
* Rendered elements contains reordered element for RTL layout
|
|
1168
|
+
*/
|
|
1169
|
+
readonly renderedElements: ElementBox[];
|
|
1170
|
+
/**
|
|
1171
|
+
* @private
|
|
1172
|
+
*/
|
|
1173
|
+
margin: Margin;
|
|
1174
|
+
/**
|
|
1175
|
+
* @private
|
|
1176
|
+
*/
|
|
1177
|
+
readonly indexInOwner: number;
|
|
1178
|
+
/**
|
|
1179
|
+
* @private
|
|
1180
|
+
*/
|
|
1181
|
+
readonly nextLine: LineWidget;
|
|
1182
|
+
/**
|
|
1183
|
+
* @private
|
|
1184
|
+
*/
|
|
1185
|
+
readonly previousLine: LineWidget;
|
|
1186
|
+
/**
|
|
1187
|
+
* @private
|
|
1188
|
+
*/
|
|
1189
|
+
readonly isEndsWithPageBreak: boolean;
|
|
1190
|
+
readonly isEndsWithColumnBreak: boolean;
|
|
1191
|
+
/**
|
|
1192
|
+
* @private
|
|
1193
|
+
*/
|
|
1194
|
+
readonly isEndsWithLineBreak: boolean;
|
|
1195
|
+
/**
|
|
1196
|
+
* Initialize the constructor of LineWidget
|
|
1197
|
+
*/
|
|
1198
|
+
constructor(paragraphWidget: ParagraphWidget);
|
|
1199
|
+
/**
|
|
1200
|
+
* @private
|
|
1201
|
+
*/
|
|
1202
|
+
isFirstLine(): boolean;
|
|
1203
|
+
/**
|
|
1204
|
+
* @private
|
|
1205
|
+
*/
|
|
1206
|
+
isLastLine(): boolean;
|
|
1207
|
+
/**
|
|
1208
|
+
* @private
|
|
1209
|
+
*/
|
|
1210
|
+
getOffset(inline: ElementBox, index: number): number;
|
|
1211
|
+
/**
|
|
1212
|
+
* @private
|
|
1213
|
+
*/
|
|
1214
|
+
getEndOffset(): number;
|
|
1215
|
+
/**
|
|
1216
|
+
* @private
|
|
1217
|
+
*/
|
|
1218
|
+
getInline(offset: number, indexInInline: number, bidi?: boolean, isInsert?: boolean): ElementInfo;
|
|
1219
|
+
/**
|
|
1220
|
+
* @private
|
|
1221
|
+
*/
|
|
1222
|
+
isEndnoteLineWidget(): boolean;
|
|
1223
|
+
/**
|
|
1224
|
+
* Method to retrieve next element
|
|
1225
|
+
* @param line
|
|
1226
|
+
* @param index
|
|
1227
|
+
*/
|
|
1228
|
+
private getNextTextElement;
|
|
1229
|
+
/**
|
|
1230
|
+
* @private
|
|
1231
|
+
*/
|
|
1232
|
+
getHierarchicalIndex(hierarchicalIndex: string): string;
|
|
1233
|
+
/**
|
|
1234
|
+
* @private
|
|
1235
|
+
*/
|
|
1236
|
+
clone(): LineWidget;
|
|
1237
|
+
private updateLineForGroupChildren;
|
|
1238
|
+
/**
|
|
1239
|
+
* @private
|
|
1240
|
+
*/
|
|
1241
|
+
destroy(): void;
|
|
1242
|
+
/**
|
|
1243
|
+
* Disposes the internal objects which are maintained.
|
|
1244
|
+
* @private
|
|
1245
|
+
*/
|
|
1246
|
+
componentDestroy(): void;
|
|
1247
|
+
}
|
|
1248
|
+
/**
|
|
1249
|
+
* @private
|
|
1250
|
+
*/
|
|
1251
|
+
export declare abstract class ElementBox {
|
|
1252
|
+
/**
|
|
1253
|
+
* @private
|
|
1254
|
+
*/
|
|
1255
|
+
x: number;
|
|
1256
|
+
/**
|
|
1257
|
+
* @private
|
|
1258
|
+
*/
|
|
1259
|
+
y: number;
|
|
1260
|
+
/**
|
|
1261
|
+
* @private
|
|
1262
|
+
*/
|
|
1263
|
+
width: number;
|
|
1264
|
+
/**
|
|
1265
|
+
* @private
|
|
1266
|
+
*/
|
|
1267
|
+
height: number;
|
|
1268
|
+
/**
|
|
1269
|
+
* @private
|
|
1270
|
+
*/
|
|
1271
|
+
isWidthUpdated: boolean;
|
|
1272
|
+
/**
|
|
1273
|
+
* @private
|
|
1274
|
+
*/
|
|
1275
|
+
isWrappedBreak: boolean;
|
|
1276
|
+
/**
|
|
1277
|
+
* @private
|
|
1278
|
+
*/
|
|
1279
|
+
margin: Margin;
|
|
1280
|
+
/**
|
|
1281
|
+
* @private
|
|
1282
|
+
*/
|
|
1283
|
+
padding: Margin;
|
|
1284
|
+
/**
|
|
1285
|
+
* @private
|
|
1286
|
+
*/
|
|
1287
|
+
line: LineWidget;
|
|
1288
|
+
/**
|
|
1289
|
+
* @private
|
|
1290
|
+
*/
|
|
1291
|
+
characterFormat: WCharacterFormat;
|
|
1292
|
+
/**
|
|
1293
|
+
* @private
|
|
1294
|
+
*/
|
|
1295
|
+
static objectCharacter: string;
|
|
1296
|
+
/**
|
|
1297
|
+
* @private
|
|
1298
|
+
*/
|
|
1299
|
+
isRightToLeft: boolean;
|
|
1300
|
+
/**
|
|
1301
|
+
* @private
|
|
1302
|
+
*/
|
|
1303
|
+
canTrigger: boolean;
|
|
1304
|
+
/**
|
|
1305
|
+
* @private
|
|
1306
|
+
*/
|
|
1307
|
+
isChangeDetected: boolean;
|
|
1308
|
+
/**
|
|
1309
|
+
* @private
|
|
1310
|
+
*/
|
|
1311
|
+
isVisible: boolean;
|
|
1312
|
+
/**
|
|
1313
|
+
* @private
|
|
1314
|
+
*/
|
|
1315
|
+
isSpellChecked?: boolean;
|
|
1316
|
+
/**
|
|
1317
|
+
* @private
|
|
1318
|
+
*/
|
|
1319
|
+
isSpellCheckTriggered: boolean;
|
|
1320
|
+
/**
|
|
1321
|
+
* @private
|
|
1322
|
+
*/
|
|
1323
|
+
protected revisions: RevisionBase[];
|
|
1324
|
+
/**
|
|
1325
|
+
* @private
|
|
1326
|
+
*/
|
|
1327
|
+
canTrack: boolean;
|
|
1328
|
+
/**
|
|
1329
|
+
* @private
|
|
1330
|
+
*/
|
|
1331
|
+
removedIds: string[];
|
|
1332
|
+
/**
|
|
1333
|
+
* @private
|
|
1334
|
+
*/
|
|
1335
|
+
contentControlProperties: ContentControlProperties;
|
|
1336
|
+
/**
|
|
1337
|
+
* @private
|
|
1338
|
+
*/
|
|
1339
|
+
skipformFieldLength: boolean;
|
|
1340
|
+
/**
|
|
1341
|
+
* @private
|
|
1342
|
+
*/
|
|
1343
|
+
characterRange: CharacterRangeType;
|
|
1344
|
+
/**
|
|
1345
|
+
* @private
|
|
1346
|
+
*/
|
|
1347
|
+
currentUser: string;
|
|
1348
|
+
/**
|
|
1349
|
+
* @private
|
|
1350
|
+
*/
|
|
1351
|
+
readonly isPageBreak: boolean;
|
|
1352
|
+
readonly isColumnBreak: boolean;
|
|
1353
|
+
/**
|
|
1354
|
+
* @private
|
|
1355
|
+
* Method to indicate whether current element is trackable.
|
|
1356
|
+
*/
|
|
1357
|
+
readonly isValidNodeForTracking: boolean;
|
|
1358
|
+
/**
|
|
1359
|
+
* @private
|
|
1360
|
+
*/
|
|
1361
|
+
readonly isCheckBoxElement: boolean;
|
|
1362
|
+
/**
|
|
1363
|
+
* @private
|
|
1364
|
+
*/
|
|
1365
|
+
readonly revisionLength: number;
|
|
1366
|
+
/**
|
|
1367
|
+
* @private
|
|
1368
|
+
*/
|
|
1369
|
+
getRevision(index: number): RevisionBase;
|
|
1370
|
+
/**
|
|
1371
|
+
* @private
|
|
1372
|
+
*/
|
|
1373
|
+
addRevision(revision: RevisionBase): void;
|
|
1374
|
+
/**
|
|
1375
|
+
* @private
|
|
1376
|
+
*/
|
|
1377
|
+
insertRevisionAt(index: number, revision: RevisionBase): void;
|
|
1378
|
+
/**
|
|
1379
|
+
* @private
|
|
1380
|
+
*/
|
|
1381
|
+
removeRevision(index: number): void;
|
|
1382
|
+
/**
|
|
1383
|
+
* @private
|
|
1384
|
+
*/
|
|
1385
|
+
getAllRevision(): RevisionBase[];
|
|
1386
|
+
/**
|
|
1387
|
+
* @private
|
|
1388
|
+
*/
|
|
1389
|
+
setRevision(index: number, revision: any): void;
|
|
1390
|
+
/**
|
|
1391
|
+
* @private
|
|
1392
|
+
*/
|
|
1393
|
+
clearRevision(): void;
|
|
1394
|
+
/**
|
|
1395
|
+
* @private
|
|
1396
|
+
*/
|
|
1397
|
+
linkFieldCharacter(documentHelper: DocxRenderer): void;
|
|
1398
|
+
/**
|
|
1399
|
+
* @private
|
|
1400
|
+
*/
|
|
1401
|
+
linkFieldTraversingBackward(line: LineWidget, fieldEnd: FieldElementBox, previousNode: ElementBox): boolean;
|
|
1402
|
+
/**
|
|
1403
|
+
* @private
|
|
1404
|
+
*/
|
|
1405
|
+
linkFieldTraversingForward(line: LineWidget, fieldBegin: FieldElementBox, previousNode: ElementBox, fieldCount?: number): boolean;
|
|
1406
|
+
/**
|
|
1407
|
+
* @private
|
|
1408
|
+
*/
|
|
1409
|
+
linkFieldTraversingBackwardSeparator(line: LineWidget, fieldSeparator: FieldElementBox, previousNode: ElementBox): boolean;
|
|
1410
|
+
/**
|
|
1411
|
+
* @private
|
|
1412
|
+
*/
|
|
1413
|
+
readonly length: number;
|
|
1414
|
+
/**
|
|
1415
|
+
* @private
|
|
1416
|
+
*/
|
|
1417
|
+
readonly indexInOwner: number;
|
|
1418
|
+
/**
|
|
1419
|
+
* @private
|
|
1420
|
+
*/
|
|
1421
|
+
readonly previousElement: ElementBox;
|
|
1422
|
+
/**
|
|
1423
|
+
* @private
|
|
1424
|
+
*/
|
|
1425
|
+
readonly nextElement: ElementBox;
|
|
1426
|
+
/**
|
|
1427
|
+
* @private
|
|
1428
|
+
*/
|
|
1429
|
+
readonly nextNode: ElementBox;
|
|
1430
|
+
/**
|
|
1431
|
+
* @private
|
|
1432
|
+
*/
|
|
1433
|
+
readonly nextValidNodeForTracking: ElementBox;
|
|
1434
|
+
/**
|
|
1435
|
+
* @private
|
|
1436
|
+
*/
|
|
1437
|
+
readonly previousValidNodeForTracking: ElementBox;
|
|
1438
|
+
/**
|
|
1439
|
+
* @private
|
|
1440
|
+
*/
|
|
1441
|
+
readonly previousNode: ElementBox;
|
|
1442
|
+
/**
|
|
1443
|
+
*
|
|
1444
|
+
* @private
|
|
1445
|
+
*/
|
|
1446
|
+
readonly paragraph: ParagraphWidget;
|
|
1447
|
+
/**
|
|
1448
|
+
* Initialize the constructor of ElementBox
|
|
1449
|
+
*/
|
|
1450
|
+
constructor();
|
|
1451
|
+
/**
|
|
1452
|
+
* @private
|
|
1453
|
+
*/
|
|
1454
|
+
abstract getLength(): number;
|
|
1455
|
+
/**
|
|
1456
|
+
* @private
|
|
1457
|
+
*/
|
|
1458
|
+
abstract clone(): ElementBox;
|
|
1459
|
+
/**
|
|
1460
|
+
* @private
|
|
1461
|
+
*/
|
|
1462
|
+
destroy(): void;
|
|
1463
|
+
/**
|
|
1464
|
+
* Disposes the internal objects which are maintained.
|
|
1465
|
+
* @private
|
|
1466
|
+
*/
|
|
1467
|
+
componentDestroy(): void;
|
|
1468
|
+
}
|
|
1469
|
+
/**
|
|
1470
|
+
* @private
|
|
1471
|
+
*/
|
|
1472
|
+
export declare class FieldElementBox extends ElementBox {
|
|
1473
|
+
/**
|
|
1474
|
+
* @private
|
|
1475
|
+
*/
|
|
1476
|
+
fieldType: number;
|
|
1477
|
+
/**
|
|
1478
|
+
* @private
|
|
1479
|
+
*/
|
|
1480
|
+
fieldCodeType: string;
|
|
1481
|
+
/**
|
|
1482
|
+
* @private
|
|
1483
|
+
*/
|
|
1484
|
+
hasFieldEnd: boolean;
|
|
1485
|
+
/**
|
|
1486
|
+
* @private
|
|
1487
|
+
*/
|
|
1488
|
+
formFieldData: FormField;
|
|
1489
|
+
/**
|
|
1490
|
+
* @private
|
|
1491
|
+
*/
|
|
1492
|
+
fieldBeginInternal: FieldElementBox;
|
|
1493
|
+
private fieldSeparatorInternal;
|
|
1494
|
+
private fieldEndInternal;
|
|
1495
|
+
fieldBegin: FieldElementBox;
|
|
1496
|
+
fieldSeparator: FieldElementBox;
|
|
1497
|
+
fieldEnd: FieldElementBox;
|
|
1498
|
+
/**
|
|
1499
|
+
* @private
|
|
1500
|
+
*/
|
|
1501
|
+
readonly resultText: string;
|
|
1502
|
+
constructor(type: number);
|
|
1503
|
+
/**
|
|
1504
|
+
* @private
|
|
1505
|
+
*/
|
|
1506
|
+
getLength(): number;
|
|
1507
|
+
/**
|
|
1508
|
+
* @private
|
|
1509
|
+
*/
|
|
1510
|
+
clone(): FieldElementBox;
|
|
1511
|
+
/**
|
|
1512
|
+
* @private
|
|
1513
|
+
*/
|
|
1514
|
+
destroy(): void;
|
|
1515
|
+
/**
|
|
1516
|
+
* Disposes the internal objects which are maintained.
|
|
1517
|
+
* @private
|
|
1518
|
+
*/
|
|
1519
|
+
componentDestroy(): void;
|
|
1520
|
+
}
|
|
1521
|
+
/**
|
|
1522
|
+
* @private
|
|
1523
|
+
*/
|
|
1524
|
+
export declare abstract class FormField {
|
|
1525
|
+
name: string;
|
|
1526
|
+
/**
|
|
1527
|
+
* @private
|
|
1528
|
+
*/
|
|
1529
|
+
enabled: boolean;
|
|
1530
|
+
/**
|
|
1531
|
+
* @private
|
|
1532
|
+
*/
|
|
1533
|
+
helpText: string;
|
|
1534
|
+
/**
|
|
1535
|
+
* @private
|
|
1536
|
+
*/
|
|
1537
|
+
statusText: string;
|
|
1538
|
+
/**
|
|
1539
|
+
* @private
|
|
1540
|
+
*/
|
|
1541
|
+
abstract clone(): FormField;
|
|
1542
|
+
/**
|
|
1543
|
+
* @private
|
|
1544
|
+
*/
|
|
1545
|
+
destroy(): void;
|
|
1546
|
+
/**
|
|
1547
|
+
* @private
|
|
1548
|
+
*/
|
|
1549
|
+
abstract getFormFieldInfo(): TextFormFieldInfo | CheckBoxFormFieldInfo | DropDownFormFieldInfo;
|
|
1550
|
+
/**
|
|
1551
|
+
* @private
|
|
1552
|
+
*/
|
|
1553
|
+
abstract copyFieldInfo(info: TextFormFieldInfo | CheckBoxFormFieldInfo | DropDownFormFieldInfo): void;
|
|
1554
|
+
}
|
|
1555
|
+
/**
|
|
1556
|
+
* @private
|
|
1557
|
+
*/
|
|
1558
|
+
export declare class TextFormField extends FormField {
|
|
1559
|
+
/**
|
|
1560
|
+
* @private
|
|
1561
|
+
*/
|
|
1562
|
+
type: TextFormFieldType;
|
|
1563
|
+
/**
|
|
1564
|
+
* @private
|
|
1565
|
+
*/
|
|
1566
|
+
maxLength: number;
|
|
1567
|
+
/**
|
|
1568
|
+
* @private
|
|
1569
|
+
*/
|
|
1570
|
+
defaultValue: string;
|
|
1571
|
+
/**
|
|
1572
|
+
* @private
|
|
1573
|
+
*/
|
|
1574
|
+
format: string;
|
|
1575
|
+
/**
|
|
1576
|
+
* @private
|
|
1577
|
+
*/
|
|
1578
|
+
clone(): TextFormField;
|
|
1579
|
+
/**
|
|
1580
|
+
* @private
|
|
1581
|
+
*/
|
|
1582
|
+
getFormFieldInfo(): TextFormFieldInfo;
|
|
1583
|
+
/**
|
|
1584
|
+
* @private
|
|
1585
|
+
*/
|
|
1586
|
+
copyFieldInfo(info: TextFormFieldInfo): void;
|
|
1587
|
+
/**
|
|
1588
|
+
* @private
|
|
1589
|
+
*/
|
|
1590
|
+
destroy(): void;
|
|
1591
|
+
}
|
|
1592
|
+
/**
|
|
1593
|
+
* @private
|
|
1594
|
+
*/
|
|
1595
|
+
export declare class CheckBoxFormField extends FormField {
|
|
1596
|
+
/**
|
|
1597
|
+
* @private
|
|
1598
|
+
*/
|
|
1599
|
+
sizeType: CheckBoxSizeType;
|
|
1600
|
+
/**
|
|
1601
|
+
* @private
|
|
1602
|
+
*/
|
|
1603
|
+
size: number;
|
|
1604
|
+
/**
|
|
1605
|
+
* @private
|
|
1606
|
+
*/
|
|
1607
|
+
defaultValue: boolean;
|
|
1608
|
+
/**
|
|
1609
|
+
* @private
|
|
1610
|
+
*/
|
|
1611
|
+
checked: boolean;
|
|
1612
|
+
/**
|
|
1613
|
+
* @private
|
|
1614
|
+
*/
|
|
1615
|
+
clone(): CheckBoxFormField;
|
|
1616
|
+
/**
|
|
1617
|
+
* @private
|
|
1618
|
+
*/
|
|
1619
|
+
getFormFieldInfo(): CheckBoxFormFieldInfo;
|
|
1620
|
+
/**
|
|
1621
|
+
* @private
|
|
1622
|
+
*/
|
|
1623
|
+
copyFieldInfo(info: CheckBoxFormFieldInfo): void;
|
|
1624
|
+
/**
|
|
1625
|
+
* @private
|
|
1626
|
+
*/
|
|
1627
|
+
destroy(): void;
|
|
1628
|
+
}
|
|
1629
|
+
/**
|
|
1630
|
+
* @private
|
|
1631
|
+
*/
|
|
1632
|
+
export declare class DropDownFormField extends FormField {
|
|
1633
|
+
/**
|
|
1634
|
+
* @private
|
|
1635
|
+
*/
|
|
1636
|
+
dropdownItems: string[];
|
|
1637
|
+
/**
|
|
1638
|
+
* @private
|
|
1639
|
+
*/
|
|
1640
|
+
selectedIndex: number;
|
|
1641
|
+
/**
|
|
1642
|
+
* @private
|
|
1643
|
+
*/
|
|
1644
|
+
clone(): DropDownFormField;
|
|
1645
|
+
/**
|
|
1646
|
+
* @private
|
|
1647
|
+
*/
|
|
1648
|
+
getFormFieldInfo(): DropDownFormFieldInfo;
|
|
1649
|
+
/**
|
|
1650
|
+
* @private
|
|
1651
|
+
*/
|
|
1652
|
+
copyFieldInfo(info: DropDownFormFieldInfo): void;
|
|
1653
|
+
/**
|
|
1654
|
+
* @private
|
|
1655
|
+
*/
|
|
1656
|
+
destroy(): void;
|
|
1657
|
+
}
|
|
1658
|
+
/**
|
|
1659
|
+
* @private
|
|
1660
|
+
*/
|
|
1661
|
+
export declare class TextElementBox extends ElementBox {
|
|
1662
|
+
/**
|
|
1663
|
+
* @private
|
|
1664
|
+
*/
|
|
1665
|
+
baselineOffset: number;
|
|
1666
|
+
/**
|
|
1667
|
+
* @private
|
|
1668
|
+
*/
|
|
1669
|
+
text: string;
|
|
1670
|
+
/**
|
|
1671
|
+
* @private
|
|
1672
|
+
*/
|
|
1673
|
+
trimEndWidth: number;
|
|
1674
|
+
/**
|
|
1675
|
+
* @private
|
|
1676
|
+
*/
|
|
1677
|
+
errorCollection?: ErrorTextElementBox[];
|
|
1678
|
+
/**
|
|
1679
|
+
* @private
|
|
1680
|
+
*/
|
|
1681
|
+
ignoreOnceItems?: string[];
|
|
1682
|
+
/**
|
|
1683
|
+
* @private
|
|
1684
|
+
*/
|
|
1685
|
+
istextCombined?: boolean;
|
|
1686
|
+
/**
|
|
1687
|
+
* @private
|
|
1688
|
+
*/
|
|
1689
|
+
scriptType?: FontScriptType;
|
|
1690
|
+
/**
|
|
1691
|
+
* @private
|
|
1692
|
+
*/
|
|
1693
|
+
isCombinedRTLText?: boolean;
|
|
1694
|
+
/**
|
|
1695
|
+
* @private
|
|
1696
|
+
*/
|
|
1697
|
+
renderedFontFamily?: string;
|
|
1698
|
+
constructor();
|
|
1699
|
+
/**
|
|
1700
|
+
* @private
|
|
1701
|
+
*/
|
|
1702
|
+
getLength(): number;
|
|
1703
|
+
/**
|
|
1704
|
+
* @private
|
|
1705
|
+
*/
|
|
1706
|
+
clone(): TextElementBox;
|
|
1707
|
+
/**
|
|
1708
|
+
* @private
|
|
1709
|
+
*/
|
|
1710
|
+
destroy(): void;
|
|
1711
|
+
/**
|
|
1712
|
+
* @private
|
|
1713
|
+
*/
|
|
1714
|
+
componentDestroy(): void;
|
|
1715
|
+
}
|
|
1716
|
+
/**
|
|
1717
|
+
* @private
|
|
1718
|
+
*/
|
|
1719
|
+
export declare class Footnote {
|
|
1720
|
+
/**
|
|
1721
|
+
* @private
|
|
1722
|
+
*/
|
|
1723
|
+
separator: BlockWidget[];
|
|
1724
|
+
/**
|
|
1725
|
+
* @private
|
|
1726
|
+
*/
|
|
1727
|
+
continuationSeparator: BlockWidget[];
|
|
1728
|
+
/**
|
|
1729
|
+
* @private
|
|
1730
|
+
*/
|
|
1731
|
+
continuationNotice: BlockWidget[];
|
|
1732
|
+
constructor();
|
|
1733
|
+
/**
|
|
1734
|
+
* @private
|
|
1735
|
+
*/
|
|
1736
|
+
clear(): void;
|
|
1737
|
+
destroy(): void;
|
|
1738
|
+
/**
|
|
1739
|
+
* Disposes the internal objects which are maintained.
|
|
1740
|
+
* @private
|
|
1741
|
+
*/
|
|
1742
|
+
componentDestroy(): void;
|
|
1743
|
+
}
|
|
1744
|
+
/**
|
|
1745
|
+
* @private
|
|
1746
|
+
*/
|
|
1747
|
+
export declare class FootnoteElementBox extends TextElementBox {
|
|
1748
|
+
/**
|
|
1749
|
+
* @private
|
|
1750
|
+
*/
|
|
1751
|
+
footnoteType: FootnoteType;
|
|
1752
|
+
/**
|
|
1753
|
+
* @private
|
|
1754
|
+
*/
|
|
1755
|
+
characterFormat: WCharacterFormat;
|
|
1756
|
+
/**
|
|
1757
|
+
* @private
|
|
1758
|
+
*/
|
|
1759
|
+
bodyWidget: BodyWidget;
|
|
1760
|
+
/**
|
|
1761
|
+
* @private
|
|
1762
|
+
*/
|
|
1763
|
+
symbolCode: string;
|
|
1764
|
+
/**
|
|
1765
|
+
* @private
|
|
1766
|
+
*/
|
|
1767
|
+
height: number;
|
|
1768
|
+
/**
|
|
1769
|
+
* @private
|
|
1770
|
+
*/
|
|
1771
|
+
index: boolean;
|
|
1772
|
+
isLayout: boolean;
|
|
1773
|
+
/**
|
|
1774
|
+
* @private
|
|
1775
|
+
*/
|
|
1776
|
+
symbolFontName: string;
|
|
1777
|
+
/**
|
|
1778
|
+
* @private
|
|
1779
|
+
*/
|
|
1780
|
+
customMarker: string;
|
|
1781
|
+
constructor();
|
|
1782
|
+
clone(): FootnoteElementBox;
|
|
1783
|
+
getLength(): number;
|
|
1784
|
+
destroy(): void;
|
|
1785
|
+
/**
|
|
1786
|
+
* Disposes the internal objects which are maintained.
|
|
1787
|
+
* @private
|
|
1788
|
+
*/
|
|
1789
|
+
componentDestroy(): void;
|
|
1790
|
+
}
|
|
1791
|
+
/**
|
|
1792
|
+
* @private
|
|
1793
|
+
*/
|
|
1794
|
+
export declare class ErrorTextElementBox extends TextElementBox {
|
|
1795
|
+
private startIn;
|
|
1796
|
+
private endIn;
|
|
1797
|
+
start: any;
|
|
1798
|
+
end: any;
|
|
1799
|
+
constructor();
|
|
1800
|
+
destroy(): void;
|
|
1801
|
+
/**
|
|
1802
|
+
* Disposes the internal objects which are maintained.
|
|
1803
|
+
* @private
|
|
1804
|
+
*/
|
|
1805
|
+
componentDestroy(): void;
|
|
1806
|
+
}
|
|
1807
|
+
/**
|
|
1808
|
+
* @private
|
|
1809
|
+
*/
|
|
1810
|
+
export declare class FieldTextElementBox extends TextElementBox {
|
|
1811
|
+
/**
|
|
1812
|
+
* @private
|
|
1813
|
+
*/
|
|
1814
|
+
fieldBegin: FieldElementBox;
|
|
1815
|
+
private fieldText;
|
|
1816
|
+
/**
|
|
1817
|
+
* @private
|
|
1818
|
+
*/
|
|
1819
|
+
isRtlPageNumber: boolean;
|
|
1820
|
+
text: string;
|
|
1821
|
+
constructor();
|
|
1822
|
+
/**
|
|
1823
|
+
* @private
|
|
1824
|
+
*/
|
|
1825
|
+
clone(): FieldTextElementBox;
|
|
1826
|
+
/**
|
|
1827
|
+
* Disposes the internal objects which are maintained.
|
|
1828
|
+
* @private
|
|
1829
|
+
*/
|
|
1830
|
+
componentDestroy(): void;
|
|
1831
|
+
}
|
|
1832
|
+
/**
|
|
1833
|
+
* @private
|
|
1834
|
+
*/
|
|
1835
|
+
export declare class TabElementBox extends TextElementBox {
|
|
1836
|
+
/**
|
|
1837
|
+
* @private
|
|
1838
|
+
*/
|
|
1839
|
+
tabText: string;
|
|
1840
|
+
/**
|
|
1841
|
+
* @private
|
|
1842
|
+
*/
|
|
1843
|
+
tabLeader: TabLeader;
|
|
1844
|
+
/**
|
|
1845
|
+
* @private
|
|
1846
|
+
*/
|
|
1847
|
+
destroy(): void;
|
|
1848
|
+
/**
|
|
1849
|
+
* @private
|
|
1850
|
+
*/
|
|
1851
|
+
componentDestroy(): void;
|
|
1852
|
+
constructor();
|
|
1853
|
+
/**
|
|
1854
|
+
* @private
|
|
1855
|
+
*/
|
|
1856
|
+
clone(): TabElementBox;
|
|
1857
|
+
}
|
|
1858
|
+
/**
|
|
1859
|
+
* @private
|
|
1860
|
+
*/
|
|
1861
|
+
export declare class BookmarkElementBox extends ElementBox {
|
|
1862
|
+
private bookmarkTypeIn;
|
|
1863
|
+
private refereneceIn;
|
|
1864
|
+
private nameIn;
|
|
1865
|
+
private propertiesIn;
|
|
1866
|
+
/**
|
|
1867
|
+
* @private
|
|
1868
|
+
*/
|
|
1869
|
+
readonly bookmarkType: number;
|
|
1870
|
+
/**
|
|
1871
|
+
* @private
|
|
1872
|
+
*/
|
|
1873
|
+
/**
|
|
1874
|
+
* @private
|
|
1875
|
+
*/
|
|
1876
|
+
properties: object;
|
|
1877
|
+
/**
|
|
1878
|
+
* @private
|
|
1879
|
+
*/
|
|
1880
|
+
/**
|
|
1881
|
+
* @private
|
|
1882
|
+
*/
|
|
1883
|
+
name: string;
|
|
1884
|
+
/**
|
|
1885
|
+
* @private
|
|
1886
|
+
*/
|
|
1887
|
+
/**
|
|
1888
|
+
* @private
|
|
1889
|
+
*/
|
|
1890
|
+
reference: BookmarkElementBox;
|
|
1891
|
+
constructor(type: number);
|
|
1892
|
+
/**
|
|
1893
|
+
* @private
|
|
1894
|
+
*/
|
|
1895
|
+
getLength(): number;
|
|
1896
|
+
/**
|
|
1897
|
+
* @private
|
|
1898
|
+
*/
|
|
1899
|
+
destroy(): void;
|
|
1900
|
+
/**
|
|
1901
|
+
* @private
|
|
1902
|
+
*/
|
|
1903
|
+
componentDestroy(): void;
|
|
1904
|
+
/**
|
|
1905
|
+
* Clones the bookmark element box.
|
|
1906
|
+
* @param element - book mark element
|
|
1907
|
+
*/
|
|
1908
|
+
/**
|
|
1909
|
+
* @private
|
|
1910
|
+
*/
|
|
1911
|
+
clone(): BookmarkElementBox;
|
|
1912
|
+
}
|
|
1913
|
+
/**
|
|
1914
|
+
* @private
|
|
1915
|
+
*/
|
|
1916
|
+
export declare class ContentControl extends ElementBox {
|
|
1917
|
+
/**
|
|
1918
|
+
* @private
|
|
1919
|
+
*/
|
|
1920
|
+
contentControlProperties: ContentControlProperties;
|
|
1921
|
+
/**
|
|
1922
|
+
* @private
|
|
1923
|
+
*/
|
|
1924
|
+
type: number;
|
|
1925
|
+
/**
|
|
1926
|
+
* @private
|
|
1927
|
+
*/
|
|
1928
|
+
reference: ContentControl;
|
|
1929
|
+
/**
|
|
1930
|
+
* @private
|
|
1931
|
+
*/
|
|
1932
|
+
isInsertRevision: boolean;
|
|
1933
|
+
/**
|
|
1934
|
+
* @private
|
|
1935
|
+
*/
|
|
1936
|
+
isDeleteRevision: boolean;
|
|
1937
|
+
/**
|
|
1938
|
+
* @private
|
|
1939
|
+
*/
|
|
1940
|
+
authorName: string;
|
|
1941
|
+
/**
|
|
1942
|
+
* @private
|
|
1943
|
+
*/
|
|
1944
|
+
revDateTime: string;
|
|
1945
|
+
/**
|
|
1946
|
+
* @private
|
|
1947
|
+
*/
|
|
1948
|
+
contentControlWidgetType: ContentControlWidgetType;
|
|
1949
|
+
constructor(widgetType: ContentControlWidgetType);
|
|
1950
|
+
/**
|
|
1951
|
+
* @private
|
|
1952
|
+
*/
|
|
1953
|
+
getLength(): number;
|
|
1954
|
+
/**
|
|
1955
|
+
* @private
|
|
1956
|
+
*/
|
|
1957
|
+
clone(): ElementBox;
|
|
1958
|
+
/**
|
|
1959
|
+
* @private
|
|
1960
|
+
*/
|
|
1961
|
+
destroy(): void;
|
|
1962
|
+
/**
|
|
1963
|
+
* Disposes the internal objects which are maintained.
|
|
1964
|
+
* @private
|
|
1965
|
+
*/
|
|
1966
|
+
componentDestroy(): void;
|
|
1967
|
+
}
|
|
1968
|
+
/**
|
|
1969
|
+
* @private
|
|
1970
|
+
*/
|
|
1971
|
+
/**
|
|
1972
|
+
* @private
|
|
1973
|
+
*/
|
|
1974
|
+
export declare class ContentControlProperties {
|
|
1975
|
+
/**
|
|
1976
|
+
* @private
|
|
1977
|
+
*/
|
|
1978
|
+
contentControlWidgetType: ContentControlWidgetType;
|
|
1979
|
+
/**
|
|
1980
|
+
* @private
|
|
1981
|
+
*/
|
|
1982
|
+
lockContentControl: boolean;
|
|
1983
|
+
/**
|
|
1984
|
+
* @private
|
|
1985
|
+
*/
|
|
1986
|
+
lockContents: boolean;
|
|
1987
|
+
/**
|
|
1988
|
+
* @private
|
|
1989
|
+
*/
|
|
1990
|
+
tag: string;
|
|
1991
|
+
/**
|
|
1992
|
+
* @private
|
|
1993
|
+
*/
|
|
1994
|
+
color: string;
|
|
1995
|
+
/**
|
|
1996
|
+
* @private
|
|
1997
|
+
*/
|
|
1998
|
+
title: string;
|
|
1999
|
+
/**
|
|
2000
|
+
* @private
|
|
2001
|
+
*/
|
|
2002
|
+
appearance: string;
|
|
2003
|
+
/**
|
|
2004
|
+
* @private
|
|
2005
|
+
*/
|
|
2006
|
+
type: ContentControlType;
|
|
2007
|
+
/**
|
|
2008
|
+
* @private
|
|
2009
|
+
*/
|
|
2010
|
+
hasPlaceHolderText: boolean;
|
|
2011
|
+
/**
|
|
2012
|
+
* @private
|
|
2013
|
+
*/
|
|
2014
|
+
multiline: boolean;
|
|
2015
|
+
/**
|
|
2016
|
+
* @private
|
|
2017
|
+
*/
|
|
2018
|
+
isTemporary: boolean;
|
|
2019
|
+
/**
|
|
2020
|
+
* @private
|
|
2021
|
+
*/
|
|
2022
|
+
isChecked: boolean;
|
|
2023
|
+
/**
|
|
2024
|
+
* @private
|
|
2025
|
+
*/
|
|
2026
|
+
dateCalendarType: string;
|
|
2027
|
+
/**
|
|
2028
|
+
* @private
|
|
2029
|
+
*/
|
|
2030
|
+
dateStorageFormat: string;
|
|
2031
|
+
/**
|
|
2032
|
+
* @private
|
|
2033
|
+
*/
|
|
2034
|
+
dateDisplayLocale: string;
|
|
2035
|
+
/**
|
|
2036
|
+
* @private
|
|
2037
|
+
*/
|
|
2038
|
+
dateDisplayFormat: string;
|
|
2039
|
+
/**
|
|
2040
|
+
* @private
|
|
2041
|
+
*/
|
|
2042
|
+
uncheckedState: CheckBoxState;
|
|
2043
|
+
/**
|
|
2044
|
+
* @private
|
|
2045
|
+
*/
|
|
2046
|
+
checkedState: CheckBoxState;
|
|
2047
|
+
/**
|
|
2048
|
+
* @private
|
|
2049
|
+
*/
|
|
2050
|
+
contentControlListItems: ContentControlListItems[];
|
|
2051
|
+
/**
|
|
2052
|
+
* @private
|
|
2053
|
+
*/
|
|
2054
|
+
xmlMapping: XmlMapping;
|
|
2055
|
+
/**
|
|
2056
|
+
* @private
|
|
2057
|
+
*/
|
|
2058
|
+
characterFormat: WCharacterFormat;
|
|
2059
|
+
constructor(widgetType: ContentControlWidgetType);
|
|
2060
|
+
/**
|
|
2061
|
+
* @private
|
|
2062
|
+
*/
|
|
2063
|
+
destroy(): void;
|
|
2064
|
+
/**
|
|
2065
|
+
* @private
|
|
2066
|
+
*/
|
|
2067
|
+
clone(): ContentControlProperties;
|
|
2068
|
+
}
|
|
2069
|
+
/**
|
|
2070
|
+
* @private
|
|
2071
|
+
*/
|
|
2072
|
+
export declare class ContentControlListItems {
|
|
2073
|
+
/**
|
|
2074
|
+
* @private
|
|
2075
|
+
*/
|
|
2076
|
+
displayText: string;
|
|
2077
|
+
/**
|
|
2078
|
+
* @private
|
|
2079
|
+
*/
|
|
2080
|
+
value: string;
|
|
2081
|
+
/**
|
|
2082
|
+
* @private
|
|
2083
|
+
*/
|
|
2084
|
+
destroy(): void;
|
|
2085
|
+
/**
|
|
2086
|
+
* @private
|
|
2087
|
+
*/
|
|
2088
|
+
clone(): ContentControlListItems;
|
|
2089
|
+
}
|
|
2090
|
+
/**
|
|
2091
|
+
* @private
|
|
2092
|
+
*/
|
|
2093
|
+
export declare class CheckBoxState {
|
|
2094
|
+
/**
|
|
2095
|
+
* @private
|
|
2096
|
+
*/
|
|
2097
|
+
font: string;
|
|
2098
|
+
/**
|
|
2099
|
+
* @private
|
|
2100
|
+
*/
|
|
2101
|
+
value: string;
|
|
2102
|
+
/**
|
|
2103
|
+
* @private
|
|
2104
|
+
*/
|
|
2105
|
+
destroy(): void;
|
|
2106
|
+
/**
|
|
2107
|
+
* @private
|
|
2108
|
+
*/
|
|
2109
|
+
clone(): CheckBoxState;
|
|
2110
|
+
}
|
|
2111
|
+
/**
|
|
2112
|
+
* @private
|
|
2113
|
+
*/
|
|
2114
|
+
export declare class XmlMapping {
|
|
2115
|
+
/**
|
|
2116
|
+
* @private
|
|
2117
|
+
*/
|
|
2118
|
+
isMapped: boolean;
|
|
2119
|
+
/**
|
|
2120
|
+
* @private
|
|
2121
|
+
*/
|
|
2122
|
+
isWordMl: boolean;
|
|
2123
|
+
/**
|
|
2124
|
+
* @private
|
|
2125
|
+
*/
|
|
2126
|
+
prefixMapping: string;
|
|
2127
|
+
/**
|
|
2128
|
+
* @private
|
|
2129
|
+
*/
|
|
2130
|
+
xPath: string;
|
|
2131
|
+
/**
|
|
2132
|
+
* @private
|
|
2133
|
+
*/
|
|
2134
|
+
storeItemId: string;
|
|
2135
|
+
/**
|
|
2136
|
+
* @private
|
|
2137
|
+
*/
|
|
2138
|
+
customXmlPart: CustomXmlPart;
|
|
2139
|
+
/**
|
|
2140
|
+
* @private
|
|
2141
|
+
*/
|
|
2142
|
+
destroy(): void;
|
|
2143
|
+
/**
|
|
2144
|
+
* @private
|
|
2145
|
+
*/
|
|
2146
|
+
clone(): XmlMapping;
|
|
2147
|
+
}
|
|
2148
|
+
/**
|
|
2149
|
+
* @private
|
|
2150
|
+
*/
|
|
2151
|
+
export declare class CustomXmlPart {
|
|
2152
|
+
/**
|
|
2153
|
+
* @private
|
|
2154
|
+
*/
|
|
2155
|
+
id: string;
|
|
2156
|
+
/**
|
|
2157
|
+
* @private
|
|
2158
|
+
*/
|
|
2159
|
+
xml: string;
|
|
2160
|
+
/**
|
|
2161
|
+
* @private
|
|
2162
|
+
*/
|
|
2163
|
+
destroy(): void;
|
|
2164
|
+
/**
|
|
2165
|
+
* @private
|
|
2166
|
+
*/
|
|
2167
|
+
clone(): CustomXmlPart;
|
|
2168
|
+
}
|
|
2169
|
+
/**
|
|
2170
|
+
* @private
|
|
2171
|
+
*/
|
|
2172
|
+
export declare class ShapeCommon extends ElementBox {
|
|
2173
|
+
/**
|
|
2174
|
+
* @private
|
|
2175
|
+
*/
|
|
2176
|
+
shapeId: number;
|
|
2177
|
+
/**
|
|
2178
|
+
* @private
|
|
2179
|
+
*/
|
|
2180
|
+
name: string;
|
|
2181
|
+
/**
|
|
2182
|
+
* @private
|
|
2183
|
+
*/
|
|
2184
|
+
alternateText: string;
|
|
2185
|
+
/**
|
|
2186
|
+
* @private
|
|
2187
|
+
*/
|
|
2188
|
+
title: string;
|
|
2189
|
+
/**
|
|
2190
|
+
* @private
|
|
2191
|
+
*/
|
|
2192
|
+
visible: boolean;
|
|
2193
|
+
/**
|
|
2194
|
+
* @private
|
|
2195
|
+
*/
|
|
2196
|
+
width: number;
|
|
2197
|
+
/**
|
|
2198
|
+
* @private
|
|
2199
|
+
*/
|
|
2200
|
+
height: number;
|
|
2201
|
+
/**
|
|
2202
|
+
* @private
|
|
2203
|
+
*/
|
|
2204
|
+
widthScale: number;
|
|
2205
|
+
/**
|
|
2206
|
+
* @private
|
|
2207
|
+
*/
|
|
2208
|
+
heightScale: number;
|
|
2209
|
+
/**
|
|
2210
|
+
* @private
|
|
2211
|
+
*/
|
|
2212
|
+
lineFormat: LineFormat;
|
|
2213
|
+
/**
|
|
2214
|
+
* @private
|
|
2215
|
+
*/
|
|
2216
|
+
fillFormat: FillFormat;
|
|
2217
|
+
/**
|
|
2218
|
+
*
|
|
2219
|
+
* @private
|
|
2220
|
+
*/
|
|
2221
|
+
getLength(): number;
|
|
2222
|
+
/**
|
|
2223
|
+
* @private
|
|
2224
|
+
*/
|
|
2225
|
+
clone(): ShapeCommon;
|
|
2226
|
+
}
|
|
2227
|
+
/**
|
|
2228
|
+
* @private
|
|
2229
|
+
*/
|
|
2230
|
+
export declare class ShapeBase extends ShapeCommon {
|
|
2231
|
+
/**
|
|
2232
|
+
* @private
|
|
2233
|
+
*/
|
|
2234
|
+
shapeX: number;
|
|
2235
|
+
/**
|
|
2236
|
+
* @private
|
|
2237
|
+
*/
|
|
2238
|
+
shapeY: number;
|
|
2239
|
+
/**
|
|
2240
|
+
* @private
|
|
2241
|
+
*/
|
|
2242
|
+
shapeHeight: number;
|
|
2243
|
+
/**
|
|
2244
|
+
* @private
|
|
2245
|
+
*/
|
|
2246
|
+
shapeWidth: number;
|
|
2247
|
+
/**
|
|
2248
|
+
* @private
|
|
2249
|
+
*/
|
|
2250
|
+
topMargin: number;
|
|
2251
|
+
/**
|
|
2252
|
+
* @private
|
|
2253
|
+
*/
|
|
2254
|
+
leftMargin: number;
|
|
2255
|
+
/**
|
|
2256
|
+
* @private
|
|
2257
|
+
*/
|
|
2258
|
+
coordinateSize: string;
|
|
2259
|
+
/**
|
|
2260
|
+
* @private
|
|
2261
|
+
*/
|
|
2262
|
+
coordinateXOrigin: number;
|
|
2263
|
+
/**
|
|
2264
|
+
* @private
|
|
2265
|
+
*/
|
|
2266
|
+
coordinateYOrigin: number;
|
|
2267
|
+
/**
|
|
2268
|
+
* @private
|
|
2269
|
+
*/
|
|
2270
|
+
is2007Shape: boolean;
|
|
2271
|
+
/**
|
|
2272
|
+
* @private
|
|
2273
|
+
*/
|
|
2274
|
+
lineFromXPosition: number;
|
|
2275
|
+
/**
|
|
2276
|
+
* @private
|
|
2277
|
+
*/
|
|
2278
|
+
lineFromYPosition: number;
|
|
2279
|
+
/**
|
|
2280
|
+
* @private
|
|
2281
|
+
*/
|
|
2282
|
+
lineToXPosition: number;
|
|
2283
|
+
/**
|
|
2284
|
+
* @private
|
|
2285
|
+
*/
|
|
2286
|
+
lineToYPosition: number;
|
|
2287
|
+
/**
|
|
2288
|
+
* @private
|
|
2289
|
+
*/
|
|
2290
|
+
containerShape: GroupShapeElementBox;
|
|
2291
|
+
/**
|
|
2292
|
+
* @private
|
|
2293
|
+
*/
|
|
2294
|
+
verticalPosition: number;
|
|
2295
|
+
/**
|
|
2296
|
+
* @private
|
|
2297
|
+
*/
|
|
2298
|
+
verticalOrigin: VerticalOrigin;
|
|
2299
|
+
/**
|
|
2300
|
+
* @private
|
|
2301
|
+
*/
|
|
2302
|
+
verticalAlignment: VerticalAlignment;
|
|
2303
|
+
/**
|
|
2304
|
+
* @private
|
|
2305
|
+
*/
|
|
2306
|
+
verticalRelativePercent: number;
|
|
2307
|
+
/**
|
|
2308
|
+
* @private
|
|
2309
|
+
*/
|
|
2310
|
+
horizontalPosition: number;
|
|
2311
|
+
/**
|
|
2312
|
+
* @private
|
|
2313
|
+
*/
|
|
2314
|
+
heightRelativePercent: number;
|
|
2315
|
+
/**
|
|
2316
|
+
* @private
|
|
2317
|
+
*/
|
|
2318
|
+
widthRelativePercent: number;
|
|
2319
|
+
/**
|
|
2320
|
+
* @private
|
|
2321
|
+
*/
|
|
2322
|
+
horizontalOrigin: HorizontalOrigin;
|
|
2323
|
+
/**
|
|
2324
|
+
* @private
|
|
2325
|
+
*/
|
|
2326
|
+
horizontalAlignment: HorizontalAlignment;
|
|
2327
|
+
/**
|
|
2328
|
+
* @private
|
|
2329
|
+
*/
|
|
2330
|
+
horizontalRelativePercent: number;
|
|
2331
|
+
/**
|
|
2332
|
+
* @private
|
|
2333
|
+
*/
|
|
2334
|
+
zOrderPosition: number;
|
|
2335
|
+
/**
|
|
2336
|
+
* @private
|
|
2337
|
+
*/
|
|
2338
|
+
allowOverlap: boolean;
|
|
2339
|
+
/**
|
|
2340
|
+
* @private
|
|
2341
|
+
*/
|
|
2342
|
+
textWrappingStyle: TextWrappingStyle;
|
|
2343
|
+
/**
|
|
2344
|
+
* @private
|
|
2345
|
+
*/
|
|
2346
|
+
textWrappingType: TextWrappingType;
|
|
2347
|
+
/**
|
|
2348
|
+
* @private
|
|
2349
|
+
*/
|
|
2350
|
+
distanceBottom: number;
|
|
2351
|
+
/**
|
|
2352
|
+
* @private
|
|
2353
|
+
*/
|
|
2354
|
+
distanceLeft: number;
|
|
2355
|
+
/**
|
|
2356
|
+
* @private
|
|
2357
|
+
*/
|
|
2358
|
+
distanceRight: number;
|
|
2359
|
+
/**
|
|
2360
|
+
* @private
|
|
2361
|
+
*/
|
|
2362
|
+
distanceTop: number;
|
|
2363
|
+
/**
|
|
2364
|
+
* @private
|
|
2365
|
+
*/
|
|
2366
|
+
layoutInCell: boolean;
|
|
2367
|
+
/**
|
|
2368
|
+
* @private
|
|
2369
|
+
*/
|
|
2370
|
+
lockAnchor: boolean;
|
|
2371
|
+
/**
|
|
2372
|
+
* @private
|
|
2373
|
+
*/
|
|
2374
|
+
isBelowText: boolean;
|
|
2375
|
+
/**
|
|
2376
|
+
* @private
|
|
2377
|
+
*/
|
|
2378
|
+
isHorizontalRule: boolean;
|
|
2379
|
+
/**
|
|
2380
|
+
* @private
|
|
2381
|
+
*/
|
|
2382
|
+
editingPoints: {};
|
|
2383
|
+
}
|
|
2384
|
+
/**
|
|
2385
|
+
* @private
|
|
2386
|
+
*/
|
|
2387
|
+
export declare class ShapeElementBox extends ShapeBase {
|
|
2388
|
+
/**
|
|
2389
|
+
* @private
|
|
2390
|
+
*/
|
|
2391
|
+
textFrame: TextFrame;
|
|
2392
|
+
/**
|
|
2393
|
+
* @private
|
|
2394
|
+
*/
|
|
2395
|
+
isZeroHeight: boolean;
|
|
2396
|
+
/**
|
|
2397
|
+
* @private
|
|
2398
|
+
*/
|
|
2399
|
+
autoShapeType: AutoShapeType;
|
|
2400
|
+
/**
|
|
2401
|
+
* @private
|
|
2402
|
+
*/
|
|
2403
|
+
clone(): ShapeElementBox;
|
|
2404
|
+
}
|
|
2405
|
+
/**
|
|
2406
|
+
* @private
|
|
2407
|
+
*/
|
|
2408
|
+
export declare class GroupShapeElementBox extends ShapeBase {
|
|
2409
|
+
/**
|
|
2410
|
+
* @private
|
|
2411
|
+
*/
|
|
2412
|
+
isZeroHeight: boolean;
|
|
2413
|
+
/**
|
|
2414
|
+
* @private
|
|
2415
|
+
*/
|
|
2416
|
+
autoShapeType: AutoShapeType;
|
|
2417
|
+
/**
|
|
2418
|
+
* @private
|
|
2419
|
+
*/
|
|
2420
|
+
childWidgets: any[];
|
|
2421
|
+
/**
|
|
2422
|
+
* @private
|
|
2423
|
+
*/
|
|
2424
|
+
offsetXValue: number;
|
|
2425
|
+
/**
|
|
2426
|
+
* @private
|
|
2427
|
+
*/
|
|
2428
|
+
offsetYValue: number;
|
|
2429
|
+
/**
|
|
2430
|
+
* @private
|
|
2431
|
+
*/
|
|
2432
|
+
extentXValue: number;
|
|
2433
|
+
/**
|
|
2434
|
+
* @private
|
|
2435
|
+
*/
|
|
2436
|
+
extentYValue: number;
|
|
2437
|
+
/**
|
|
2438
|
+
* @private
|
|
2439
|
+
*/
|
|
2440
|
+
clone(): GroupShapeElementBox;
|
|
2441
|
+
destroy(): void;
|
|
2442
|
+
}
|
|
2443
|
+
/**
|
|
2444
|
+
* @private
|
|
2445
|
+
*/
|
|
2446
|
+
export declare class TextFrame extends Widget {
|
|
2447
|
+
/**
|
|
2448
|
+
* @private
|
|
2449
|
+
*/
|
|
2450
|
+
containerShape: ElementBox;
|
|
2451
|
+
/**
|
|
2452
|
+
* @private
|
|
2453
|
+
*/
|
|
2454
|
+
textVerticalAlignment: VerticalAlignment;
|
|
2455
|
+
/**
|
|
2456
|
+
* @private
|
|
2457
|
+
*/
|
|
2458
|
+
marginLeft: number;
|
|
2459
|
+
/**
|
|
2460
|
+
* @private
|
|
2461
|
+
*/
|
|
2462
|
+
marginRight: number;
|
|
2463
|
+
/**
|
|
2464
|
+
* @private
|
|
2465
|
+
*/
|
|
2466
|
+
marginTop: number;
|
|
2467
|
+
/**
|
|
2468
|
+
* @private
|
|
2469
|
+
*/
|
|
2470
|
+
marginBottom: number;
|
|
2471
|
+
equals(): boolean;
|
|
2472
|
+
destroyInternal(): void;
|
|
2473
|
+
getHierarchicalIndex(index: string): string;
|
|
2474
|
+
getTableCellWidget(): TableCellWidget;
|
|
2475
|
+
/**
|
|
2476
|
+
* @private
|
|
2477
|
+
*/
|
|
2478
|
+
clone(): TextFrame;
|
|
2479
|
+
}
|
|
2480
|
+
/**
|
|
2481
|
+
* @private
|
|
2482
|
+
*/
|
|
2483
|
+
export declare class LineFormat {
|
|
2484
|
+
/**
|
|
2485
|
+
* @private
|
|
2486
|
+
*/
|
|
2487
|
+
line: boolean;
|
|
2488
|
+
/**
|
|
2489
|
+
* @private
|
|
2490
|
+
*/
|
|
2491
|
+
lineFormatType: LineFormatType;
|
|
2492
|
+
/**
|
|
2493
|
+
* @private
|
|
2494
|
+
*/
|
|
2495
|
+
color: string;
|
|
2496
|
+
/**
|
|
2497
|
+
* @private
|
|
2498
|
+
*/
|
|
2499
|
+
weight: number;
|
|
2500
|
+
/**
|
|
2501
|
+
* @private
|
|
2502
|
+
*/
|
|
2503
|
+
dashStyle: LineDashing;
|
|
2504
|
+
/**
|
|
2505
|
+
* @private
|
|
2506
|
+
*/
|
|
2507
|
+
clone(): LineFormat;
|
|
2508
|
+
}
|
|
2509
|
+
/**
|
|
2510
|
+
* @private
|
|
2511
|
+
*/
|
|
2512
|
+
export declare class FillFormat {
|
|
2513
|
+
/**
|
|
2514
|
+
* @private
|
|
2515
|
+
*/
|
|
2516
|
+
color: string;
|
|
2517
|
+
/**
|
|
2518
|
+
* @private
|
|
2519
|
+
*/
|
|
2520
|
+
fill: boolean;
|
|
2521
|
+
/**
|
|
2522
|
+
* @private
|
|
2523
|
+
*/
|
|
2524
|
+
isDefaultFill: boolean;
|
|
2525
|
+
/**
|
|
2526
|
+
* @private
|
|
2527
|
+
*/
|
|
2528
|
+
foreColor: string;
|
|
2529
|
+
/**
|
|
2530
|
+
* @private
|
|
2531
|
+
*/
|
|
2532
|
+
fillType: FillType;
|
|
2533
|
+
/**
|
|
2534
|
+
* @private
|
|
2535
|
+
*/
|
|
2536
|
+
clone(): FillFormat;
|
|
2537
|
+
}
|
|
2538
|
+
/**
|
|
2539
|
+
* @private
|
|
2540
|
+
*/
|
|
2541
|
+
export declare class ImageElementBox extends ShapeBase {
|
|
2542
|
+
private imageStr;
|
|
2543
|
+
private imgElement;
|
|
2544
|
+
private isInlineImageIn;
|
|
2545
|
+
private crop;
|
|
2546
|
+
/**
|
|
2547
|
+
* @private
|
|
2548
|
+
*/
|
|
2549
|
+
isCrop: boolean;
|
|
2550
|
+
/**
|
|
2551
|
+
* @private
|
|
2552
|
+
*/
|
|
2553
|
+
cropX: number;
|
|
2554
|
+
/**
|
|
2555
|
+
* @private
|
|
2556
|
+
*/
|
|
2557
|
+
cropY: number;
|
|
2558
|
+
/**
|
|
2559
|
+
* @private
|
|
2560
|
+
*/
|
|
2561
|
+
cropWidth: number;
|
|
2562
|
+
/**
|
|
2563
|
+
* @private
|
|
2564
|
+
*/
|
|
2565
|
+
cropHeight: number;
|
|
2566
|
+
/**
|
|
2567
|
+
* @private
|
|
2568
|
+
*/
|
|
2569
|
+
cropWidthScale: number;
|
|
2570
|
+
/**
|
|
2571
|
+
* @private
|
|
2572
|
+
*/
|
|
2573
|
+
cropHeightScale: number;
|
|
2574
|
+
/**
|
|
2575
|
+
* @private
|
|
2576
|
+
*/
|
|
2577
|
+
left: number;
|
|
2578
|
+
/**
|
|
2579
|
+
* @private
|
|
2580
|
+
*/
|
|
2581
|
+
top: number;
|
|
2582
|
+
/**
|
|
2583
|
+
* @private
|
|
2584
|
+
*/
|
|
2585
|
+
right: number;
|
|
2586
|
+
/**
|
|
2587
|
+
* @private
|
|
2588
|
+
*/
|
|
2589
|
+
bottom: number;
|
|
2590
|
+
/**
|
|
2591
|
+
* @private
|
|
2592
|
+
*/
|
|
2593
|
+
isMetaFile: boolean;
|
|
2594
|
+
/**
|
|
2595
|
+
* @private
|
|
2596
|
+
*/
|
|
2597
|
+
isCompressed: boolean;
|
|
2598
|
+
/**
|
|
2599
|
+
* @private
|
|
2600
|
+
*/
|
|
2601
|
+
hasImageReference: boolean;
|
|
2602
|
+
/**
|
|
2603
|
+
* @private
|
|
2604
|
+
*/
|
|
2605
|
+
metaFileImageString: string;
|
|
2606
|
+
/**
|
|
2607
|
+
* @private
|
|
2608
|
+
*/
|
|
2609
|
+
readonly isInlineImage: boolean;
|
|
2610
|
+
/**
|
|
2611
|
+
* @private
|
|
2612
|
+
*/
|
|
2613
|
+
readonly element: HTMLImageElement;
|
|
2614
|
+
/**
|
|
2615
|
+
* @private
|
|
2616
|
+
*/
|
|
2617
|
+
readonly length: number;
|
|
2618
|
+
/**
|
|
2619
|
+
* @private
|
|
2620
|
+
*/
|
|
2621
|
+
/**
|
|
2622
|
+
* @private
|
|
2623
|
+
*/
|
|
2624
|
+
imageString: string;
|
|
2625
|
+
constructor(isInlineImage?: boolean);
|
|
2626
|
+
/**
|
|
2627
|
+
* @private
|
|
2628
|
+
*/
|
|
2629
|
+
getLength(): number;
|
|
2630
|
+
/**
|
|
2631
|
+
* @private
|
|
2632
|
+
*/
|
|
2633
|
+
clone(): ImageElementBox;
|
|
2634
|
+
/**
|
|
2635
|
+
* @private
|
|
2636
|
+
*/
|
|
2637
|
+
destroy(): void;
|
|
2638
|
+
}
|
|
2639
|
+
/**
|
|
2640
|
+
* @private
|
|
2641
|
+
*/
|
|
2642
|
+
export declare class ListTextElementBox extends ElementBox {
|
|
2643
|
+
/**
|
|
2644
|
+
* @private
|
|
2645
|
+
*/
|
|
2646
|
+
baselineOffset: number;
|
|
2647
|
+
/**
|
|
2648
|
+
* @private
|
|
2649
|
+
*/
|
|
2650
|
+
text: string;
|
|
2651
|
+
/**
|
|
2652
|
+
* @private
|
|
2653
|
+
*/
|
|
2654
|
+
dualWidths?: {
|
|
2655
|
+
w1: number;
|
|
2656
|
+
w2: number;
|
|
2657
|
+
} | undefined;
|
|
2658
|
+
/**
|
|
2659
|
+
* @private
|
|
2660
|
+
*/
|
|
2661
|
+
trimEndWidth: number;
|
|
2662
|
+
/**
|
|
2663
|
+
* @private
|
|
2664
|
+
*/
|
|
2665
|
+
listLevel: WListLevel;
|
|
2666
|
+
/**
|
|
2667
|
+
* @private
|
|
2668
|
+
*/
|
|
2669
|
+
isFollowCharacter: boolean;
|
|
2670
|
+
/**
|
|
2671
|
+
* Distance in pixels by which the list number is drawn to the left of its layout box.
|
|
2672
|
+
* It is non-zero only for center and right aligned (w:lvlJc) list numbers.
|
|
2673
|
+
*
|
|
2674
|
+
* @private
|
|
2675
|
+
*/
|
|
2676
|
+
alignmentShift: number;
|
|
2677
|
+
constructor(listLevel: WListLevel, isListFollowCharacter: boolean);
|
|
2678
|
+
/**
|
|
2679
|
+
* @private
|
|
2680
|
+
*/
|
|
2681
|
+
getLength(): number;
|
|
2682
|
+
/**
|
|
2683
|
+
* @private
|
|
2684
|
+
*/
|
|
2685
|
+
clone(): ListTextElementBox;
|
|
2686
|
+
/**
|
|
2687
|
+
* @private
|
|
2688
|
+
*/
|
|
2689
|
+
destroy(): void;
|
|
2690
|
+
}
|
|
2691
|
+
/**
|
|
2692
|
+
* @private
|
|
2693
|
+
*/
|
|
2694
|
+
export declare class EditRangeEndElementBox extends ElementBox {
|
|
2695
|
+
/**
|
|
2696
|
+
* @private
|
|
2697
|
+
*/
|
|
2698
|
+
editRangeStart: EditRangeStartElementBox;
|
|
2699
|
+
editRangeId: number;
|
|
2700
|
+
constructor();
|
|
2701
|
+
/**
|
|
2702
|
+
* @private
|
|
2703
|
+
*/
|
|
2704
|
+
getLength(): number;
|
|
2705
|
+
/**
|
|
2706
|
+
* @private
|
|
2707
|
+
*/
|
|
2708
|
+
destroy(): void;
|
|
2709
|
+
/**
|
|
2710
|
+
* @private
|
|
2711
|
+
*/
|
|
2712
|
+
clone(): EditRangeEndElementBox;
|
|
2713
|
+
}
|
|
2714
|
+
/**
|
|
2715
|
+
* @private
|
|
2716
|
+
*/
|
|
2717
|
+
export declare class EditRangeStartElementBox extends ElementBox {
|
|
2718
|
+
/**
|
|
2719
|
+
* @private
|
|
2720
|
+
*/
|
|
2721
|
+
columnFirst: number;
|
|
2722
|
+
/**
|
|
2723
|
+
* @private
|
|
2724
|
+
*/
|
|
2725
|
+
columnLast: number;
|
|
2726
|
+
/**
|
|
2727
|
+
* @private
|
|
2728
|
+
*/
|
|
2729
|
+
user: string;
|
|
2730
|
+
/**
|
|
2731
|
+
* @private
|
|
2732
|
+
*/
|
|
2733
|
+
group: string;
|
|
2734
|
+
/**
|
|
2735
|
+
* @private
|
|
2736
|
+
*/
|
|
2737
|
+
editRangeEnd: EditRangeEndElementBox;
|
|
2738
|
+
editRangeId: number;
|
|
2739
|
+
/**
|
|
2740
|
+
* Edit range mark
|
|
2741
|
+
* @private
|
|
2742
|
+
*/
|
|
2743
|
+
editRangeMark: HTMLElement;
|
|
2744
|
+
constructor();
|
|
2745
|
+
/**
|
|
2746
|
+
* @private
|
|
2747
|
+
*/
|
|
2748
|
+
getLength(): number;
|
|
2749
|
+
/**
|
|
2750
|
+
* @private
|
|
2751
|
+
*/
|
|
2752
|
+
removeEditRangeMark(): void;
|
|
2753
|
+
/**
|
|
2754
|
+
* @private
|
|
2755
|
+
*/
|
|
2756
|
+
destroy(): void;
|
|
2757
|
+
/**
|
|
2758
|
+
* @private
|
|
2759
|
+
*/
|
|
2760
|
+
clone(): EditRangeStartElementBox;
|
|
2761
|
+
}
|
|
2762
|
+
/**
|
|
2763
|
+
* @private
|
|
2764
|
+
*/
|
|
2765
|
+
export declare class ChartElementBox extends ImageElementBox {
|
|
2766
|
+
/**
|
|
2767
|
+
* @private
|
|
2768
|
+
*/
|
|
2769
|
+
private div;
|
|
2770
|
+
/**
|
|
2771
|
+
* @private
|
|
2772
|
+
*/
|
|
2773
|
+
private officeChartInternal;
|
|
2774
|
+
/**
|
|
2775
|
+
* @private
|
|
2776
|
+
*/
|
|
2777
|
+
private chartTitle;
|
|
2778
|
+
/**
|
|
2779
|
+
* @private
|
|
2780
|
+
*/
|
|
2781
|
+
private chartType;
|
|
2782
|
+
/**
|
|
2783
|
+
* @private
|
|
2784
|
+
*/
|
|
2785
|
+
private gapWidth;
|
|
2786
|
+
/**
|
|
2787
|
+
* @private
|
|
2788
|
+
*/
|
|
2789
|
+
private overlap;
|
|
2790
|
+
/**
|
|
2791
|
+
* @private
|
|
2792
|
+
*/
|
|
2793
|
+
private chartElement;
|
|
2794
|
+
/**
|
|
2795
|
+
* @private
|
|
2796
|
+
*/
|
|
2797
|
+
chartArea: ChartArea;
|
|
2798
|
+
/**
|
|
2799
|
+
* @private
|
|
2800
|
+
*/
|
|
2801
|
+
chartPlotArea: ChartArea;
|
|
2802
|
+
/**
|
|
2803
|
+
* @private
|
|
2804
|
+
*/
|
|
2805
|
+
chartCategory: ChartCategory[];
|
|
2806
|
+
/**
|
|
2807
|
+
* @private
|
|
2808
|
+
*/
|
|
2809
|
+
chartSeries: ChartSeries[];
|
|
2810
|
+
/**
|
|
2811
|
+
* @private
|
|
2812
|
+
*/
|
|
2813
|
+
chartTitleArea: ChartTitleArea;
|
|
2814
|
+
/**
|
|
2815
|
+
* @private
|
|
2816
|
+
*/
|
|
2817
|
+
chartLegend: ChartLegend;
|
|
2818
|
+
/**
|
|
2819
|
+
* @private
|
|
2820
|
+
*/
|
|
2821
|
+
chartPrimaryCategoryAxis: ChartCategoryAxis;
|
|
2822
|
+
/**
|
|
2823
|
+
* @private
|
|
2824
|
+
*/
|
|
2825
|
+
chartPrimaryValueAxis: ChartCategoryAxis;
|
|
2826
|
+
/**
|
|
2827
|
+
* @private
|
|
2828
|
+
*/
|
|
2829
|
+
chartDataTable: ChartDataTable;
|
|
2830
|
+
/**
|
|
2831
|
+
* @private
|
|
2832
|
+
*/
|
|
2833
|
+
getLength(): number;
|
|
2834
|
+
/**
|
|
2835
|
+
* @private
|
|
2836
|
+
*/
|
|
2837
|
+
/**
|
|
2838
|
+
* @private
|
|
2839
|
+
*/
|
|
2840
|
+
title: string;
|
|
2841
|
+
/**
|
|
2842
|
+
* @private
|
|
2843
|
+
*/
|
|
2844
|
+
/**
|
|
2845
|
+
* @private
|
|
2846
|
+
*/
|
|
2847
|
+
type: string;
|
|
2848
|
+
/**
|
|
2849
|
+
* @private
|
|
2850
|
+
*/
|
|
2851
|
+
/**
|
|
2852
|
+
* @private
|
|
2853
|
+
*/
|
|
2854
|
+
chartGapWidth: number;
|
|
2855
|
+
/**
|
|
2856
|
+
* @private
|
|
2857
|
+
*/
|
|
2858
|
+
/**
|
|
2859
|
+
* @private
|
|
2860
|
+
*/
|
|
2861
|
+
chartOverlap: number;
|
|
2862
|
+
/**
|
|
2863
|
+
* @private
|
|
2864
|
+
*/
|
|
2865
|
+
readonly targetElement: HTMLDivElement;
|
|
2866
|
+
/**
|
|
2867
|
+
* @private
|
|
2868
|
+
*/
|
|
2869
|
+
/**
|
|
2870
|
+
* @private
|
|
2871
|
+
*/
|
|
2872
|
+
officeChart: ChartComponent;
|
|
2873
|
+
/**
|
|
2874
|
+
* @private
|
|
2875
|
+
*/
|
|
2876
|
+
constructor();
|
|
2877
|
+
private onChartLoaded;
|
|
2878
|
+
/**
|
|
2879
|
+
* @private
|
|
2880
|
+
*/
|
|
2881
|
+
clone(): ChartElementBox;
|
|
2882
|
+
/**
|
|
2883
|
+
* @private
|
|
2884
|
+
*/
|
|
2885
|
+
destroy(): void;
|
|
2886
|
+
}
|
|
2887
|
+
/**
|
|
2888
|
+
* @private
|
|
2889
|
+
*/
|
|
2890
|
+
export declare class ChartArea {
|
|
2891
|
+
/**
|
|
2892
|
+
* @private
|
|
2893
|
+
*/
|
|
2894
|
+
private foreColor;
|
|
2895
|
+
/**
|
|
2896
|
+
* @private
|
|
2897
|
+
*/
|
|
2898
|
+
/**
|
|
2899
|
+
* @private
|
|
2900
|
+
*/
|
|
2901
|
+
chartForeColor: string;
|
|
2902
|
+
/**
|
|
2903
|
+
* @private
|
|
2904
|
+
*/
|
|
2905
|
+
clone(): ChartArea;
|
|
2906
|
+
/**
|
|
2907
|
+
* @private
|
|
2908
|
+
*/
|
|
2909
|
+
destroy(): void;
|
|
2910
|
+
}
|
|
2911
|
+
/**
|
|
2912
|
+
* @private
|
|
2913
|
+
*/
|
|
2914
|
+
export declare class ChartCategory {
|
|
2915
|
+
/**
|
|
2916
|
+
* @private
|
|
2917
|
+
*/
|
|
2918
|
+
private categoryXName;
|
|
2919
|
+
/**
|
|
2920
|
+
* @private
|
|
2921
|
+
*/
|
|
2922
|
+
chartData: ChartData[];
|
|
2923
|
+
/**
|
|
2924
|
+
* @private
|
|
2925
|
+
*/
|
|
2926
|
+
/**
|
|
2927
|
+
* @private
|
|
2928
|
+
*/
|
|
2929
|
+
xName: string;
|
|
2930
|
+
/**
|
|
2931
|
+
* @private
|
|
2932
|
+
*/
|
|
2933
|
+
clone(): ChartCategory;
|
|
2934
|
+
/**
|
|
2935
|
+
* @private
|
|
2936
|
+
*/
|
|
2937
|
+
destroy(): void;
|
|
2938
|
+
}
|
|
2939
|
+
/**
|
|
2940
|
+
* @private
|
|
2941
|
+
*/
|
|
2942
|
+
export declare class ChartData {
|
|
2943
|
+
private yValue;
|
|
2944
|
+
private xValue;
|
|
2945
|
+
private size;
|
|
2946
|
+
/**
|
|
2947
|
+
* @private
|
|
2948
|
+
*/
|
|
2949
|
+
/**
|
|
2950
|
+
* @private
|
|
2951
|
+
*/
|
|
2952
|
+
yAxisValue: number;
|
|
2953
|
+
/**
|
|
2954
|
+
* @private
|
|
2955
|
+
*/
|
|
2956
|
+
/**
|
|
2957
|
+
* @private
|
|
2958
|
+
*/
|
|
2959
|
+
xAxisValue: number;
|
|
2960
|
+
/**
|
|
2961
|
+
* @private
|
|
2962
|
+
*/
|
|
2963
|
+
/**
|
|
2964
|
+
* @private
|
|
2965
|
+
*/
|
|
2966
|
+
bubbleSize: number;
|
|
2967
|
+
/**
|
|
2968
|
+
* @private
|
|
2969
|
+
*/
|
|
2970
|
+
clone(): ChartData;
|
|
2971
|
+
/**
|
|
2972
|
+
* @private
|
|
2973
|
+
*/
|
|
2974
|
+
destroy(): void;
|
|
2975
|
+
}
|
|
2976
|
+
/**
|
|
2977
|
+
* @private
|
|
2978
|
+
*/
|
|
2979
|
+
export declare class ChartLegend {
|
|
2980
|
+
/**
|
|
2981
|
+
* @private
|
|
2982
|
+
*/
|
|
2983
|
+
private legendPostion;
|
|
2984
|
+
/**
|
|
2985
|
+
* @private
|
|
2986
|
+
*/
|
|
2987
|
+
chartTitleArea: ChartTitleArea;
|
|
2988
|
+
/**
|
|
2989
|
+
* @private
|
|
2990
|
+
*/
|
|
2991
|
+
/**
|
|
2992
|
+
* @private
|
|
2993
|
+
*/
|
|
2994
|
+
chartLegendPostion: string;
|
|
2995
|
+
/**
|
|
2996
|
+
* @private
|
|
2997
|
+
*/
|
|
2998
|
+
constructor();
|
|
2999
|
+
/**
|
|
3000
|
+
* @private
|
|
3001
|
+
*/
|
|
3002
|
+
clone(): ChartLegend;
|
|
3003
|
+
/**
|
|
3004
|
+
* @private
|
|
3005
|
+
*/
|
|
3006
|
+
destroy(): void;
|
|
3007
|
+
}
|
|
3008
|
+
/**
|
|
3009
|
+
* @private
|
|
3010
|
+
*/
|
|
3011
|
+
export declare class ChartSeries {
|
|
3012
|
+
/**
|
|
3013
|
+
* @private
|
|
3014
|
+
*/
|
|
3015
|
+
chartDataFormat: ChartDataFormat[];
|
|
3016
|
+
/**
|
|
3017
|
+
* @private
|
|
3018
|
+
*/
|
|
3019
|
+
errorBar: ChartErrorBar;
|
|
3020
|
+
/**
|
|
3021
|
+
* @private
|
|
3022
|
+
*/
|
|
3023
|
+
seriesFormat: ChartSeriesFormat;
|
|
3024
|
+
/**
|
|
3025
|
+
* @private
|
|
3026
|
+
*/
|
|
3027
|
+
trendLines: ChartTrendLines[];
|
|
3028
|
+
/**
|
|
3029
|
+
* @private
|
|
3030
|
+
*/
|
|
3031
|
+
private name;
|
|
3032
|
+
/**
|
|
3033
|
+
* @private
|
|
3034
|
+
*/
|
|
3035
|
+
private sliceAngle;
|
|
3036
|
+
/**
|
|
3037
|
+
* @private
|
|
3038
|
+
*/
|
|
3039
|
+
private holeSize;
|
|
3040
|
+
/**
|
|
3041
|
+
* @private
|
|
3042
|
+
*/
|
|
3043
|
+
dataLabels: ChartDataLabels;
|
|
3044
|
+
/**
|
|
3045
|
+
* @private
|
|
3046
|
+
*/
|
|
3047
|
+
/**
|
|
3048
|
+
* @private
|
|
3049
|
+
*/
|
|
3050
|
+
seriesName: string;
|
|
3051
|
+
/**
|
|
3052
|
+
* @private
|
|
3053
|
+
*/
|
|
3054
|
+
/**
|
|
3055
|
+
* @private
|
|
3056
|
+
*/
|
|
3057
|
+
firstSliceAngle: number;
|
|
3058
|
+
/**
|
|
3059
|
+
* @private
|
|
3060
|
+
*/
|
|
3061
|
+
/**
|
|
3062
|
+
* @private
|
|
3063
|
+
*/
|
|
3064
|
+
doughnutHoleSize: number;
|
|
3065
|
+
constructor();
|
|
3066
|
+
/**
|
|
3067
|
+
* @private
|
|
3068
|
+
*/
|
|
3069
|
+
clone(): ChartSeries;
|
|
3070
|
+
/**
|
|
3071
|
+
* @private
|
|
3072
|
+
*/
|
|
3073
|
+
destroy(): void;
|
|
3074
|
+
}
|
|
3075
|
+
/**
|
|
3076
|
+
* @private
|
|
3077
|
+
*/
|
|
3078
|
+
export declare class ChartErrorBar {
|
|
3079
|
+
/**
|
|
3080
|
+
* @private
|
|
3081
|
+
*/
|
|
3082
|
+
private type;
|
|
3083
|
+
/**
|
|
3084
|
+
* @private
|
|
3085
|
+
*/
|
|
3086
|
+
private direction;
|
|
3087
|
+
/**
|
|
3088
|
+
* @private
|
|
3089
|
+
*/
|
|
3090
|
+
private errorValue;
|
|
3091
|
+
/**
|
|
3092
|
+
* @private
|
|
3093
|
+
*/
|
|
3094
|
+
private endStyle;
|
|
3095
|
+
/**
|
|
3096
|
+
* @private
|
|
3097
|
+
*/
|
|
3098
|
+
/**
|
|
3099
|
+
* @private
|
|
3100
|
+
*/
|
|
3101
|
+
errorType: string;
|
|
3102
|
+
/**
|
|
3103
|
+
* @private
|
|
3104
|
+
*/
|
|
3105
|
+
/**
|
|
3106
|
+
* @private
|
|
3107
|
+
*/
|
|
3108
|
+
errorDirection: string;
|
|
3109
|
+
/**
|
|
3110
|
+
* @private
|
|
3111
|
+
*/
|
|
3112
|
+
/**
|
|
3113
|
+
* @private
|
|
3114
|
+
*/
|
|
3115
|
+
errorEndStyle: string;
|
|
3116
|
+
/**
|
|
3117
|
+
* @private
|
|
3118
|
+
*/
|
|
3119
|
+
numberValue: number;
|
|
3120
|
+
/**
|
|
3121
|
+
* @private
|
|
3122
|
+
*/
|
|
3123
|
+
clone(): ChartErrorBar;
|
|
3124
|
+
/**
|
|
3125
|
+
* @private
|
|
3126
|
+
*/
|
|
3127
|
+
destroy(): void;
|
|
3128
|
+
}
|
|
3129
|
+
/**
|
|
3130
|
+
* @private
|
|
3131
|
+
*/
|
|
3132
|
+
export declare class ChartSeriesFormat {
|
|
3133
|
+
/**
|
|
3134
|
+
* @private
|
|
3135
|
+
*/
|
|
3136
|
+
private style;
|
|
3137
|
+
/**
|
|
3138
|
+
* @private
|
|
3139
|
+
*/
|
|
3140
|
+
private color;
|
|
3141
|
+
/**
|
|
3142
|
+
* @private
|
|
3143
|
+
*/
|
|
3144
|
+
private size;
|
|
3145
|
+
/**
|
|
3146
|
+
* @private
|
|
3147
|
+
*/
|
|
3148
|
+
/**
|
|
3149
|
+
* @private
|
|
3150
|
+
*/
|
|
3151
|
+
markerStyle: string;
|
|
3152
|
+
/**
|
|
3153
|
+
* @private
|
|
3154
|
+
*/
|
|
3155
|
+
/**
|
|
3156
|
+
* @private
|
|
3157
|
+
*/
|
|
3158
|
+
markerColor: string;
|
|
3159
|
+
/**
|
|
3160
|
+
* @private
|
|
3161
|
+
*/
|
|
3162
|
+
/**
|
|
3163
|
+
* @private
|
|
3164
|
+
*/
|
|
3165
|
+
numberValue: number;
|
|
3166
|
+
/**
|
|
3167
|
+
* @private
|
|
3168
|
+
*/
|
|
3169
|
+
clone(): ChartSeriesFormat;
|
|
3170
|
+
/**
|
|
3171
|
+
* @private
|
|
3172
|
+
*/
|
|
3173
|
+
destroy(): void;
|
|
3174
|
+
}
|
|
3175
|
+
/**
|
|
3176
|
+
* @private
|
|
3177
|
+
*/
|
|
3178
|
+
export declare class ChartDataLabels {
|
|
3179
|
+
/**
|
|
3180
|
+
* @private
|
|
3181
|
+
*/
|
|
3182
|
+
private position;
|
|
3183
|
+
/**
|
|
3184
|
+
* @private
|
|
3185
|
+
*/
|
|
3186
|
+
private name;
|
|
3187
|
+
/**
|
|
3188
|
+
* @private
|
|
3189
|
+
*/
|
|
3190
|
+
private color;
|
|
3191
|
+
/**
|
|
3192
|
+
* @private
|
|
3193
|
+
*/
|
|
3194
|
+
private size;
|
|
3195
|
+
/**
|
|
3196
|
+
* @private
|
|
3197
|
+
*/
|
|
3198
|
+
private isLegend;
|
|
3199
|
+
/**
|
|
3200
|
+
* @private
|
|
3201
|
+
*/
|
|
3202
|
+
private isBubble;
|
|
3203
|
+
/**
|
|
3204
|
+
* @private
|
|
3205
|
+
*/
|
|
3206
|
+
private isCategory;
|
|
3207
|
+
/**
|
|
3208
|
+
* @private
|
|
3209
|
+
*/
|
|
3210
|
+
private isSeries;
|
|
3211
|
+
/**
|
|
3212
|
+
* @private
|
|
3213
|
+
*/
|
|
3214
|
+
private isValueEnabled;
|
|
3215
|
+
/**
|
|
3216
|
+
* @private
|
|
3217
|
+
*/
|
|
3218
|
+
private isPercentageEnabled;
|
|
3219
|
+
/**
|
|
3220
|
+
* @private
|
|
3221
|
+
*/
|
|
3222
|
+
private showLeaderLines;
|
|
3223
|
+
/**
|
|
3224
|
+
* @private
|
|
3225
|
+
*/
|
|
3226
|
+
/**
|
|
3227
|
+
* @private
|
|
3228
|
+
*/
|
|
3229
|
+
labelPosition: string;
|
|
3230
|
+
/**
|
|
3231
|
+
* @private
|
|
3232
|
+
*/
|
|
3233
|
+
/**
|
|
3234
|
+
* @private
|
|
3235
|
+
*/
|
|
3236
|
+
fontName: string;
|
|
3237
|
+
/**
|
|
3238
|
+
* @private
|
|
3239
|
+
*/
|
|
3240
|
+
/**
|
|
3241
|
+
* @private
|
|
3242
|
+
*/
|
|
3243
|
+
fontColor: string;
|
|
3244
|
+
/**
|
|
3245
|
+
* @private
|
|
3246
|
+
*/
|
|
3247
|
+
/**
|
|
3248
|
+
* @private
|
|
3249
|
+
*/
|
|
3250
|
+
fontSize: number;
|
|
3251
|
+
/**
|
|
3252
|
+
* @private
|
|
3253
|
+
*/
|
|
3254
|
+
/**
|
|
3255
|
+
* @private
|
|
3256
|
+
*/
|
|
3257
|
+
isLegendKey: boolean;
|
|
3258
|
+
/**
|
|
3259
|
+
* @private
|
|
3260
|
+
*/
|
|
3261
|
+
/**
|
|
3262
|
+
* @private
|
|
3263
|
+
*/
|
|
3264
|
+
isBubbleSize: boolean;
|
|
3265
|
+
/**
|
|
3266
|
+
* @private
|
|
3267
|
+
*/
|
|
3268
|
+
/**
|
|
3269
|
+
* @private
|
|
3270
|
+
*/
|
|
3271
|
+
isCategoryName: boolean;
|
|
3272
|
+
/**
|
|
3273
|
+
* @private
|
|
3274
|
+
*/
|
|
3275
|
+
/**
|
|
3276
|
+
* @private
|
|
3277
|
+
*/
|
|
3278
|
+
isSeriesName: boolean;
|
|
3279
|
+
/**
|
|
3280
|
+
* @private
|
|
3281
|
+
*/
|
|
3282
|
+
/**
|
|
3283
|
+
* @private
|
|
3284
|
+
*/
|
|
3285
|
+
isValue: boolean;
|
|
3286
|
+
/**
|
|
3287
|
+
* @private
|
|
3288
|
+
*/
|
|
3289
|
+
/**
|
|
3290
|
+
* @private
|
|
3291
|
+
*/
|
|
3292
|
+
isPercentage: boolean;
|
|
3293
|
+
/**
|
|
3294
|
+
* @private
|
|
3295
|
+
*/
|
|
3296
|
+
/**
|
|
3297
|
+
* @private
|
|
3298
|
+
*/
|
|
3299
|
+
isLeaderLines: boolean;
|
|
3300
|
+
/**
|
|
3301
|
+
* @private
|
|
3302
|
+
*/
|
|
3303
|
+
clone(): ChartDataLabels;
|
|
3304
|
+
/**
|
|
3305
|
+
* @private
|
|
3306
|
+
*/
|
|
3307
|
+
destroy(): void;
|
|
3308
|
+
}
|
|
3309
|
+
/**
|
|
3310
|
+
* @private
|
|
3311
|
+
*/
|
|
3312
|
+
export declare class ChartTrendLines {
|
|
3313
|
+
/**
|
|
3314
|
+
* @private
|
|
3315
|
+
*/
|
|
3316
|
+
private type;
|
|
3317
|
+
/**
|
|
3318
|
+
* @private
|
|
3319
|
+
*/
|
|
3320
|
+
private name;
|
|
3321
|
+
/**
|
|
3322
|
+
* @private
|
|
3323
|
+
*/
|
|
3324
|
+
private backward;
|
|
3325
|
+
/**
|
|
3326
|
+
* @private
|
|
3327
|
+
*/
|
|
3328
|
+
private forward;
|
|
3329
|
+
/**
|
|
3330
|
+
* @private
|
|
3331
|
+
*/
|
|
3332
|
+
private intercept;
|
|
3333
|
+
/**
|
|
3334
|
+
* @private
|
|
3335
|
+
*/
|
|
3336
|
+
private displayRSquared;
|
|
3337
|
+
/**
|
|
3338
|
+
* @private
|
|
3339
|
+
*/
|
|
3340
|
+
private displayEquation;
|
|
3341
|
+
/**
|
|
3342
|
+
* @private
|
|
3343
|
+
*/
|
|
3344
|
+
/**
|
|
3345
|
+
* @private
|
|
3346
|
+
*/
|
|
3347
|
+
trendLineType: string;
|
|
3348
|
+
/**
|
|
3349
|
+
* @private
|
|
3350
|
+
*/
|
|
3351
|
+
/**
|
|
3352
|
+
* @private
|
|
3353
|
+
*/
|
|
3354
|
+
trendLineName: string;
|
|
3355
|
+
/**
|
|
3356
|
+
* @private
|
|
3357
|
+
*/
|
|
3358
|
+
/**
|
|
3359
|
+
* @private
|
|
3360
|
+
*/
|
|
3361
|
+
interceptValue: number;
|
|
3362
|
+
/**
|
|
3363
|
+
* @private
|
|
3364
|
+
*/
|
|
3365
|
+
/**
|
|
3366
|
+
* @private
|
|
3367
|
+
*/
|
|
3368
|
+
forwardValue: number;
|
|
3369
|
+
/**
|
|
3370
|
+
* @private
|
|
3371
|
+
*/
|
|
3372
|
+
/**
|
|
3373
|
+
* @private
|
|
3374
|
+
*/
|
|
3375
|
+
backwardValue: number;
|
|
3376
|
+
/**
|
|
3377
|
+
* @private
|
|
3378
|
+
*/
|
|
3379
|
+
/**
|
|
3380
|
+
* @private
|
|
3381
|
+
*/
|
|
3382
|
+
isDisplayRSquared: boolean;
|
|
3383
|
+
/**
|
|
3384
|
+
* @private
|
|
3385
|
+
*/
|
|
3386
|
+
/**
|
|
3387
|
+
* @private
|
|
3388
|
+
*/
|
|
3389
|
+
isDisplayEquation: boolean;
|
|
3390
|
+
/**
|
|
3391
|
+
* @private
|
|
3392
|
+
*/
|
|
3393
|
+
clone(): ChartTrendLines;
|
|
3394
|
+
/**
|
|
3395
|
+
* @private
|
|
3396
|
+
*/
|
|
3397
|
+
destroy(): void;
|
|
3398
|
+
}
|
|
3399
|
+
/**
|
|
3400
|
+
* @private
|
|
3401
|
+
*/
|
|
3402
|
+
export declare class ChartTitleArea {
|
|
3403
|
+
/**
|
|
3404
|
+
* @private
|
|
3405
|
+
*/
|
|
3406
|
+
private fontName;
|
|
3407
|
+
/**
|
|
3408
|
+
* @private
|
|
3409
|
+
*/
|
|
3410
|
+
private fontSize;
|
|
3411
|
+
/**
|
|
3412
|
+
* @private
|
|
3413
|
+
*/
|
|
3414
|
+
dataFormat: ChartDataFormat;
|
|
3415
|
+
/**
|
|
3416
|
+
* @private
|
|
3417
|
+
*/
|
|
3418
|
+
layout: ChartLayout;
|
|
3419
|
+
/**
|
|
3420
|
+
* @private
|
|
3421
|
+
*/
|
|
3422
|
+
/**
|
|
3423
|
+
* @private
|
|
3424
|
+
*/
|
|
3425
|
+
chartfontName: string;
|
|
3426
|
+
/**
|
|
3427
|
+
* @private
|
|
3428
|
+
*/
|
|
3429
|
+
/**
|
|
3430
|
+
* @private
|
|
3431
|
+
*/
|
|
3432
|
+
chartFontSize: number;
|
|
3433
|
+
/**
|
|
3434
|
+
* @private
|
|
3435
|
+
*/
|
|
3436
|
+
constructor();
|
|
3437
|
+
/**
|
|
3438
|
+
* @private
|
|
3439
|
+
*/
|
|
3440
|
+
clone(): ChartTitleArea;
|
|
3441
|
+
/**
|
|
3442
|
+
* @private
|
|
3443
|
+
*/
|
|
3444
|
+
destroy(): void;
|
|
3445
|
+
}
|
|
3446
|
+
/**
|
|
3447
|
+
* @private
|
|
3448
|
+
*/
|
|
3449
|
+
export declare class ChartDataFormat {
|
|
3450
|
+
/**
|
|
3451
|
+
* @private
|
|
3452
|
+
*/
|
|
3453
|
+
line: ChartFill;
|
|
3454
|
+
/**
|
|
3455
|
+
* @private
|
|
3456
|
+
*/
|
|
3457
|
+
fill: ChartFill;
|
|
3458
|
+
/**
|
|
3459
|
+
* @private
|
|
3460
|
+
*/
|
|
3461
|
+
id: number;
|
|
3462
|
+
/**
|
|
3463
|
+
* @private
|
|
3464
|
+
*/
|
|
3465
|
+
constructor();
|
|
3466
|
+
/**
|
|
3467
|
+
* @private
|
|
3468
|
+
*/
|
|
3469
|
+
clone(): ChartDataFormat;
|
|
3470
|
+
/**
|
|
3471
|
+
* @private
|
|
3472
|
+
*/
|
|
3473
|
+
destroy(): void;
|
|
3474
|
+
}
|
|
3475
|
+
/**
|
|
3476
|
+
* @private
|
|
3477
|
+
*/
|
|
3478
|
+
export declare class ChartFill {
|
|
3479
|
+
/**
|
|
3480
|
+
* @private
|
|
3481
|
+
*/
|
|
3482
|
+
private fillColor;
|
|
3483
|
+
/**
|
|
3484
|
+
* @private
|
|
3485
|
+
*/
|
|
3486
|
+
private fillRGB;
|
|
3487
|
+
/**
|
|
3488
|
+
* @private
|
|
3489
|
+
*/
|
|
3490
|
+
/**
|
|
3491
|
+
* @private
|
|
3492
|
+
*/
|
|
3493
|
+
color: string;
|
|
3494
|
+
/**
|
|
3495
|
+
* @private
|
|
3496
|
+
*/
|
|
3497
|
+
/**
|
|
3498
|
+
* @private
|
|
3499
|
+
*/
|
|
3500
|
+
rgb: string;
|
|
3501
|
+
/**
|
|
3502
|
+
* @private
|
|
3503
|
+
*/
|
|
3504
|
+
clone(): ChartFill;
|
|
3505
|
+
/**
|
|
3506
|
+
* @private
|
|
3507
|
+
*/
|
|
3508
|
+
destroy(): void;
|
|
3509
|
+
}
|
|
3510
|
+
/**
|
|
3511
|
+
* @private
|
|
3512
|
+
*/
|
|
3513
|
+
export declare class ChartLayout {
|
|
3514
|
+
/**
|
|
3515
|
+
* @private
|
|
3516
|
+
*/
|
|
3517
|
+
private layoutX;
|
|
3518
|
+
/**
|
|
3519
|
+
* @private
|
|
3520
|
+
*/
|
|
3521
|
+
private layoutY;
|
|
3522
|
+
/**
|
|
3523
|
+
* @private
|
|
3524
|
+
*/
|
|
3525
|
+
/**
|
|
3526
|
+
* @private
|
|
3527
|
+
*/
|
|
3528
|
+
chartLayoutLeft: number;
|
|
3529
|
+
/**
|
|
3530
|
+
* @private
|
|
3531
|
+
*/
|
|
3532
|
+
/**
|
|
3533
|
+
* @private
|
|
3534
|
+
*/
|
|
3535
|
+
chartLayoutTop: number;
|
|
3536
|
+
/**
|
|
3537
|
+
* @private
|
|
3538
|
+
*/
|
|
3539
|
+
clone(): ChartLayout;
|
|
3540
|
+
/**
|
|
3541
|
+
* @private
|
|
3542
|
+
*/
|
|
3543
|
+
destroy(): void;
|
|
3544
|
+
}
|
|
3545
|
+
/**
|
|
3546
|
+
* @private
|
|
3547
|
+
*/
|
|
3548
|
+
export declare class ChartCategoryAxis {
|
|
3549
|
+
/**
|
|
3550
|
+
* @private
|
|
3551
|
+
*/
|
|
3552
|
+
private title;
|
|
3553
|
+
/**
|
|
3554
|
+
* @private
|
|
3555
|
+
*/
|
|
3556
|
+
private fontSize;
|
|
3557
|
+
/**
|
|
3558
|
+
* @private
|
|
3559
|
+
*/
|
|
3560
|
+
private fontName;
|
|
3561
|
+
/**
|
|
3562
|
+
* @private
|
|
3563
|
+
*/
|
|
3564
|
+
private categoryType;
|
|
3565
|
+
/**
|
|
3566
|
+
* @private
|
|
3567
|
+
*/
|
|
3568
|
+
private numberFormat;
|
|
3569
|
+
/**
|
|
3570
|
+
* @private
|
|
3571
|
+
*/
|
|
3572
|
+
chartTitleArea: ChartTitleArea;
|
|
3573
|
+
/**
|
|
3574
|
+
* @private
|
|
3575
|
+
*/
|
|
3576
|
+
private hasMajorGridLines;
|
|
3577
|
+
/**
|
|
3578
|
+
* @private
|
|
3579
|
+
*/
|
|
3580
|
+
private hasMinorGridLines;
|
|
3581
|
+
/**
|
|
3582
|
+
* @private
|
|
3583
|
+
*/
|
|
3584
|
+
private majorTickMark;
|
|
3585
|
+
/**
|
|
3586
|
+
* @private
|
|
3587
|
+
*/
|
|
3588
|
+
private minorTickMark;
|
|
3589
|
+
/**
|
|
3590
|
+
* @private
|
|
3591
|
+
*/
|
|
3592
|
+
private tickLabelPostion;
|
|
3593
|
+
/**
|
|
3594
|
+
* @private
|
|
3595
|
+
*/
|
|
3596
|
+
private majorUnit;
|
|
3597
|
+
/**
|
|
3598
|
+
* @private
|
|
3599
|
+
*/
|
|
3600
|
+
private isAutoMajor;
|
|
3601
|
+
/**
|
|
3602
|
+
* @private
|
|
3603
|
+
*/
|
|
3604
|
+
private minimumValue;
|
|
3605
|
+
/**
|
|
3606
|
+
* @private
|
|
3607
|
+
*/
|
|
3608
|
+
private maximumValue;
|
|
3609
|
+
/**
|
|
3610
|
+
* @private
|
|
3611
|
+
*/
|
|
3612
|
+
/**
|
|
3613
|
+
* @private
|
|
3614
|
+
*/
|
|
3615
|
+
majorTick: string;
|
|
3616
|
+
/**
|
|
3617
|
+
* @private
|
|
3618
|
+
*/
|
|
3619
|
+
/**
|
|
3620
|
+
* @private
|
|
3621
|
+
*/
|
|
3622
|
+
minorTick: string;
|
|
3623
|
+
/**
|
|
3624
|
+
* @private
|
|
3625
|
+
*/
|
|
3626
|
+
/**
|
|
3627
|
+
* @private
|
|
3628
|
+
*/
|
|
3629
|
+
tickPosition: string;
|
|
3630
|
+
/**
|
|
3631
|
+
* @private
|
|
3632
|
+
*/
|
|
3633
|
+
/**
|
|
3634
|
+
* @private
|
|
3635
|
+
*/
|
|
3636
|
+
minorGridLines: boolean;
|
|
3637
|
+
/**
|
|
3638
|
+
* @private
|
|
3639
|
+
*/
|
|
3640
|
+
/**
|
|
3641
|
+
* @private
|
|
3642
|
+
*/
|
|
3643
|
+
majorGridLines: boolean;
|
|
3644
|
+
/**
|
|
3645
|
+
* @private
|
|
3646
|
+
*/
|
|
3647
|
+
/**
|
|
3648
|
+
* @private
|
|
3649
|
+
*/
|
|
3650
|
+
interval: number;
|
|
3651
|
+
/**
|
|
3652
|
+
* @private
|
|
3653
|
+
*/
|
|
3654
|
+
/**
|
|
3655
|
+
* @private
|
|
3656
|
+
*/
|
|
3657
|
+
isAutoInternal: boolean;
|
|
3658
|
+
/**
|
|
3659
|
+
* @private
|
|
3660
|
+
*/
|
|
3661
|
+
/**
|
|
3662
|
+
* @private
|
|
3663
|
+
*/
|
|
3664
|
+
max: number;
|
|
3665
|
+
/**
|
|
3666
|
+
* @private
|
|
3667
|
+
*/
|
|
3668
|
+
/**
|
|
3669
|
+
* @private
|
|
3670
|
+
*/
|
|
3671
|
+
min: number;
|
|
3672
|
+
/**
|
|
3673
|
+
* @private
|
|
3674
|
+
*/
|
|
3675
|
+
/**
|
|
3676
|
+
* @private
|
|
3677
|
+
*/
|
|
3678
|
+
categoryAxisTitle: string;
|
|
3679
|
+
/**
|
|
3680
|
+
* @private
|
|
3681
|
+
*/
|
|
3682
|
+
/**
|
|
3683
|
+
* @private
|
|
3684
|
+
*/
|
|
3685
|
+
categoryAxisType: string;
|
|
3686
|
+
/**
|
|
3687
|
+
* @private
|
|
3688
|
+
*/
|
|
3689
|
+
/**
|
|
3690
|
+
* @private
|
|
3691
|
+
*/
|
|
3692
|
+
categoryNumberFormat: string;
|
|
3693
|
+
/**
|
|
3694
|
+
* @private
|
|
3695
|
+
*/
|
|
3696
|
+
/**
|
|
3697
|
+
* @private
|
|
3698
|
+
*/
|
|
3699
|
+
axisFontSize: number;
|
|
3700
|
+
/**
|
|
3701
|
+
* @private
|
|
3702
|
+
*/
|
|
3703
|
+
/**
|
|
3704
|
+
* @private
|
|
3705
|
+
*/
|
|
3706
|
+
axisFontName: string;
|
|
3707
|
+
constructor();
|
|
3708
|
+
/**
|
|
3709
|
+
* @private
|
|
3710
|
+
*/
|
|
3711
|
+
clone(): ChartCategoryAxis;
|
|
3712
|
+
/**
|
|
3713
|
+
* @private
|
|
3714
|
+
*/
|
|
3715
|
+
destroy(): void;
|
|
3716
|
+
}
|
|
3717
|
+
/**
|
|
3718
|
+
* @private
|
|
3719
|
+
*/
|
|
3720
|
+
export declare class ChartDataTable {
|
|
3721
|
+
/**
|
|
3722
|
+
* @private
|
|
3723
|
+
*/
|
|
3724
|
+
private isSeriesKeys;
|
|
3725
|
+
/**
|
|
3726
|
+
* @private
|
|
3727
|
+
*/
|
|
3728
|
+
private isHorzBorder;
|
|
3729
|
+
/**
|
|
3730
|
+
* @private
|
|
3731
|
+
*/
|
|
3732
|
+
private isVertBorder;
|
|
3733
|
+
/**
|
|
3734
|
+
* @private
|
|
3735
|
+
*/
|
|
3736
|
+
private isBorders;
|
|
3737
|
+
/**
|
|
3738
|
+
* @private
|
|
3739
|
+
*/
|
|
3740
|
+
/**
|
|
3741
|
+
* @private
|
|
3742
|
+
*/
|
|
3743
|
+
showSeriesKeys: boolean;
|
|
3744
|
+
/**
|
|
3745
|
+
* @private
|
|
3746
|
+
*/
|
|
3747
|
+
/**
|
|
3748
|
+
* @private
|
|
3749
|
+
*/
|
|
3750
|
+
hasHorzBorder: boolean;
|
|
3751
|
+
/**
|
|
3752
|
+
* @private
|
|
3753
|
+
*/
|
|
3754
|
+
/**
|
|
3755
|
+
* @private
|
|
3756
|
+
*/
|
|
3757
|
+
hasVertBorder: boolean;
|
|
3758
|
+
/**
|
|
3759
|
+
* @private
|
|
3760
|
+
*/
|
|
3761
|
+
/**
|
|
3762
|
+
* @private
|
|
3763
|
+
*/
|
|
3764
|
+
hasBorders: boolean;
|
|
3765
|
+
/**
|
|
3766
|
+
* @private
|
|
3767
|
+
*/
|
|
3768
|
+
clone(): ChartDataTable;
|
|
3769
|
+
/**
|
|
3770
|
+
* @private
|
|
3771
|
+
*/
|
|
3772
|
+
destroy(): void;
|
|
3773
|
+
}
|
|
3774
|
+
/**
|
|
3775
|
+
* @private
|
|
3776
|
+
*/
|
|
3777
|
+
export declare class CommentCharacterElementBox extends ElementBox {
|
|
3778
|
+
commentType: number;
|
|
3779
|
+
commentId: string;
|
|
3780
|
+
/**
|
|
3781
|
+
* @private
|
|
3782
|
+
*/
|
|
3783
|
+
commentInternal: CommentElementBox;
|
|
3784
|
+
commentMark: HTMLElement;
|
|
3785
|
+
commentMarkSpan: HTMLElement;
|
|
3786
|
+
onCommentMarkMouseEnter: () => void;
|
|
3787
|
+
onCommentMarkMouseLeave: () => void;
|
|
3788
|
+
comment: CommentElementBox;
|
|
3789
|
+
getLength(): number;
|
|
3790
|
+
clone(): ElementBox;
|
|
3791
|
+
constructor(type: number);
|
|
3792
|
+
renderCommentMark(topPosition?: string, leftPosition?: string): void;
|
|
3793
|
+
private elementsOverlap;
|
|
3794
|
+
getFirstCommentInLine(): CommentCharacterElementBox;
|
|
3795
|
+
private refreshCommentMarkAppearance;
|
|
3796
|
+
/**
|
|
3797
|
+
* @private
|
|
3798
|
+
* Helper method to update comment mark colors on hover/enter state
|
|
3799
|
+
* Applies full opacity color with textShadow enhancement
|
|
3800
|
+
*/
|
|
3801
|
+
updateCommentMarkColorOnHover(): void;
|
|
3802
|
+
/**
|
|
3803
|
+
* @private
|
|
3804
|
+
* Helper method to update comment mark colors on unhover/leave state
|
|
3805
|
+
* Applies selected comment color with textShadow if selected, else reduced opacity without textShadow
|
|
3806
|
+
*/
|
|
3807
|
+
updateCommentMarkColorOnUnhover(): void;
|
|
3808
|
+
selectComment(): void;
|
|
3809
|
+
removeCommentMark(): void;
|
|
3810
|
+
destroy(): void;
|
|
3811
|
+
}
|
|
3812
|
+
/**
|
|
3813
|
+
* @private
|
|
3814
|
+
*/
|
|
3815
|
+
export declare class CommentElementBox extends CommentCharacterElementBox {
|
|
3816
|
+
private commentStartIn;
|
|
3817
|
+
private commentEndIn;
|
|
3818
|
+
/**
|
|
3819
|
+
*
|
|
3820
|
+
* @private
|
|
3821
|
+
*/
|
|
3822
|
+
createdDate: string;
|
|
3823
|
+
private authorIn;
|
|
3824
|
+
private initialIn;
|
|
3825
|
+
private done;
|
|
3826
|
+
private posted;
|
|
3827
|
+
private textIn;
|
|
3828
|
+
replyComments: CommentElementBox[];
|
|
3829
|
+
isReply: boolean;
|
|
3830
|
+
ownerComment: CommentElementBox;
|
|
3831
|
+
private mentionsIn;
|
|
3832
|
+
commentStart: CommentCharacterElementBox;
|
|
3833
|
+
commentEnd: CommentCharacterElementBox;
|
|
3834
|
+
author: string;
|
|
3835
|
+
initial: string;
|
|
3836
|
+
isResolved: boolean;
|
|
3837
|
+
readonly date: string;
|
|
3838
|
+
text: string;
|
|
3839
|
+
mentions: FieldSettingsModel[];
|
|
3840
|
+
isPosted: boolean;
|
|
3841
|
+
constructor(date: string);
|
|
3842
|
+
getLength(): number;
|
|
3843
|
+
clone(): ElementBox;
|
|
3844
|
+
destroy(): void;
|
|
3845
|
+
}
|
|
3846
|
+
/**
|
|
3847
|
+
* @private
|
|
3848
|
+
*/
|
|
3849
|
+
export declare class Page {
|
|
3850
|
+
/**
|
|
3851
|
+
* Specifies the Viewer
|
|
3852
|
+
* @private
|
|
3853
|
+
*/
|
|
3854
|
+
documentHelper: DocxRenderer;
|
|
3855
|
+
/**
|
|
3856
|
+
* Specifies the Bonding Rectangle
|
|
3857
|
+
* @private
|
|
3858
|
+
*/
|
|
3859
|
+
boundingRectangle: Rect;
|
|
3860
|
+
/**
|
|
3861
|
+
* @private
|
|
3862
|
+
*/
|
|
3863
|
+
repeatHeaderRowTableWidget: boolean;
|
|
3864
|
+
/**
|
|
3865
|
+
* Specifies the bodyWidgets
|
|
3866
|
+
* @default []
|
|
3867
|
+
* @private
|
|
3868
|
+
*/
|
|
3869
|
+
bodyWidgets: BodyWidget[];
|
|
3870
|
+
/**
|
|
3871
|
+
* @private
|
|
3872
|
+
*/
|
|
3873
|
+
headerWidgetIn: HeaderFooterWidget;
|
|
3874
|
+
/**
|
|
3875
|
+
* @private
|
|
3876
|
+
*/
|
|
3877
|
+
footerWidgetIn: HeaderFooterWidget;
|
|
3878
|
+
/**
|
|
3879
|
+
* @private
|
|
3880
|
+
*/
|
|
3881
|
+
footnoteWidget: FootNoteWidget;
|
|
3882
|
+
/**
|
|
3883
|
+
* @private
|
|
3884
|
+
*/
|
|
3885
|
+
endnoteWidget: FootNoteWidget;
|
|
3886
|
+
/**
|
|
3887
|
+
* @private
|
|
3888
|
+
*/
|
|
3889
|
+
currentPageNum: number;
|
|
3890
|
+
/**
|
|
3891
|
+
* @private
|
|
3892
|
+
*/
|
|
3893
|
+
allowNextPageRendering: boolean;
|
|
3894
|
+
/**
|
|
3895
|
+
* @private
|
|
3896
|
+
*/
|
|
3897
|
+
/**
|
|
3898
|
+
* @private
|
|
3899
|
+
*/
|
|
3900
|
+
headerWidget: HeaderFooterWidget;
|
|
3901
|
+
/**
|
|
3902
|
+
* @private
|
|
3903
|
+
*/
|
|
3904
|
+
/**
|
|
3905
|
+
* @private
|
|
3906
|
+
*/
|
|
3907
|
+
footerWidget: HeaderFooterWidget;
|
|
3908
|
+
/**
|
|
3909
|
+
* @private
|
|
3910
|
+
*/
|
|
3911
|
+
readonly index: number;
|
|
3912
|
+
/**
|
|
3913
|
+
* @private
|
|
3914
|
+
*/
|
|
3915
|
+
readonly previousPage: Page;
|
|
3916
|
+
/**
|
|
3917
|
+
* @private
|
|
3918
|
+
*/
|
|
3919
|
+
readonly nextPage: Page;
|
|
3920
|
+
/**
|
|
3921
|
+
* @private
|
|
3922
|
+
*/
|
|
3923
|
+
readonly sectionIndex: number;
|
|
3924
|
+
/**
|
|
3925
|
+
* Initialize the constructor of Page
|
|
3926
|
+
*/
|
|
3927
|
+
constructor(documentHelper: DocxRenderer);
|
|
3928
|
+
readonly viewer: LayoutHelper;
|
|
3929
|
+
destroy(): void;
|
|
3930
|
+
/**
|
|
3931
|
+
* Disposes the internal objects which are maintained.
|
|
3932
|
+
* @private
|
|
3933
|
+
*/
|
|
3934
|
+
componentDestroy(): void;
|
|
3935
|
+
}
|
|
3936
|
+
/**
|
|
3937
|
+
* @private
|
|
3938
|
+
*/
|
|
3939
|
+
export declare class WTableHolder {
|
|
3940
|
+
private tableColumns;
|
|
3941
|
+
/**
|
|
3942
|
+
* @private
|
|
3943
|
+
*/
|
|
3944
|
+
tableWidth: number;
|
|
3945
|
+
readonly columns: WColumn[];
|
|
3946
|
+
/**
|
|
3947
|
+
* @private
|
|
3948
|
+
*/
|
|
3949
|
+
resetColumns(): void;
|
|
3950
|
+
/**
|
|
3951
|
+
* @private
|
|
3952
|
+
*/
|
|
3953
|
+
getPreviousSpannedCellWidth(previousColumnIndex: number, curColumnIndex: number): number;
|
|
3954
|
+
/**
|
|
3955
|
+
* @private
|
|
3956
|
+
*/
|
|
3957
|
+
addColumns(currentColumnIndex: number, columnSpan: number, width: number, sizeInfo: ColumnSizeInfo, offset: number, preferredWidthType: WidthType, isAutoWidth?: boolean): void;
|
|
3958
|
+
/**
|
|
3959
|
+
* @private
|
|
3960
|
+
*/
|
|
3961
|
+
getTotalWidth(type: number): number;
|
|
3962
|
+
/**
|
|
3963
|
+
* @private
|
|
3964
|
+
*/
|
|
3965
|
+
isFitColumns(containerWidth: number, preferredTableWidth: number, isAutoWidth: boolean): boolean;
|
|
3966
|
+
/**
|
|
3967
|
+
* @private
|
|
3968
|
+
*/
|
|
3969
|
+
isAllColumnHasPointWidthType(): boolean;
|
|
3970
|
+
/**
|
|
3971
|
+
* @private
|
|
3972
|
+
*/
|
|
3973
|
+
autoFitColumn(containerWidth: number, preferredTableWidth: number, isAuto: boolean, isNestedTable: boolean, isAutoFit: boolean, hasSpannedCells: boolean, clientWidth: number, indent?: number, pageContainerWidth?: number, tablePreferredWidthType?: WidthType, gridBeforeWidth?: boolean): void;
|
|
3974
|
+
/**
|
|
3975
|
+
* Sizes every column to its maximum word width, then expands the column having the widest paragraph
|
|
3976
|
+
* so that the table width equals that paragraph width, as per MS Word behavior.
|
|
3977
|
+
* @private
|
|
3978
|
+
*/
|
|
3979
|
+
resizeColumnsToWidestParaWidth(): void;
|
|
3980
|
+
/**
|
|
3981
|
+
* @private
|
|
3982
|
+
*/
|
|
3983
|
+
getValidColumnIndex(index: number): number;
|
|
3984
|
+
/**
|
|
3985
|
+
* @private
|
|
3986
|
+
*/
|
|
3987
|
+
fitColumns(containerWidth: number, preferredTableWidth: number, isAutoWidth: boolean, isAutoFit: boolean, indent?: number, isRowCellResize?: boolean): void;
|
|
3988
|
+
/**
|
|
3989
|
+
* @private
|
|
3990
|
+
*/
|
|
3991
|
+
getCellWidth(columnIndex: number, columnSpan: number, preferredTableWidth: number, isTableResizing?: boolean): number;
|
|
3992
|
+
/**
|
|
3993
|
+
* @private
|
|
3994
|
+
*/
|
|
3995
|
+
validateColumnWidths(): void;
|
|
3996
|
+
private getPreviousValidOffset;
|
|
3997
|
+
/**
|
|
3998
|
+
* @private
|
|
3999
|
+
*/
|
|
4000
|
+
clone(): WTableHolder;
|
|
4001
|
+
/**
|
|
4002
|
+
* @private
|
|
4003
|
+
*/
|
|
4004
|
+
destroy(): void;
|
|
4005
|
+
}
|
|
4006
|
+
/**
|
|
4007
|
+
* @private
|
|
4008
|
+
*/
|
|
4009
|
+
export declare class WColumn {
|
|
4010
|
+
/**
|
|
4011
|
+
* @private
|
|
4012
|
+
*/
|
|
4013
|
+
preferredWidth: number;
|
|
4014
|
+
/**
|
|
4015
|
+
* @private
|
|
4016
|
+
*/
|
|
4017
|
+
minWidth: number;
|
|
4018
|
+
/**
|
|
4019
|
+
* @private
|
|
4020
|
+
*/
|
|
4021
|
+
maxWidth: number;
|
|
4022
|
+
/**
|
|
4023
|
+
* @private
|
|
4024
|
+
*/
|
|
4025
|
+
endOffset: number;
|
|
4026
|
+
/**
|
|
4027
|
+
* @private
|
|
4028
|
+
*/
|
|
4029
|
+
minimumWordWidth: number;
|
|
4030
|
+
/**
|
|
4031
|
+
* @private
|
|
4032
|
+
*/
|
|
4033
|
+
maximumWordWidth: number;
|
|
4034
|
+
/**
|
|
4035
|
+
* @private
|
|
4036
|
+
*/
|
|
4037
|
+
maxParaWidth: number;
|
|
4038
|
+
/**
|
|
4039
|
+
* @private
|
|
4040
|
+
*/
|
|
4041
|
+
minimumWidth: number;
|
|
4042
|
+
/**
|
|
4043
|
+
* @private
|
|
4044
|
+
*/
|
|
4045
|
+
widthType: WidthType;
|
|
4046
|
+
/**
|
|
4047
|
+
* @private
|
|
4048
|
+
*/
|
|
4049
|
+
clone(): WColumn;
|
|
4050
|
+
/**
|
|
4051
|
+
* @private
|
|
4052
|
+
*/
|
|
4053
|
+
destroy(): void;
|
|
4054
|
+
}
|
|
4055
|
+
/**
|
|
4056
|
+
* @private
|
|
4057
|
+
*/
|
|
4058
|
+
export declare class ColumnSizeInfo {
|
|
4059
|
+
/**
|
|
4060
|
+
* @private
|
|
4061
|
+
*/
|
|
4062
|
+
minimumWordWidth: number;
|
|
4063
|
+
/**
|
|
4064
|
+
* @private
|
|
4065
|
+
*/
|
|
4066
|
+
maximumWordWidth: number;
|
|
4067
|
+
/**
|
|
4068
|
+
* @private
|
|
4069
|
+
*/
|
|
4070
|
+
maxParaWidth: number;
|
|
4071
|
+
/**
|
|
4072
|
+
* @private
|
|
4073
|
+
*/
|
|
4074
|
+
minimumWidth: number;
|
|
4075
|
+
/**
|
|
4076
|
+
* @private
|
|
4077
|
+
*/
|
|
4078
|
+
hasMinimumWidth: boolean;
|
|
4079
|
+
/**
|
|
4080
|
+
* @private
|
|
4081
|
+
*/
|
|
4082
|
+
hasMinimumWordWidth: boolean;
|
|
4083
|
+
/**
|
|
4084
|
+
* @private
|
|
4085
|
+
*/
|
|
4086
|
+
hasMaximumWordWidth: boolean;
|
|
4087
|
+
}
|
|
4088
|
+
/**
|
|
4089
|
+
* @private
|
|
4090
|
+
*/
|
|
4091
|
+
export declare class CommentEditInfo {
|
|
4092
|
+
/**
|
|
4093
|
+
* @private
|
|
4094
|
+
*/
|
|
4095
|
+
commentId: string;
|
|
4096
|
+
/**
|
|
4097
|
+
* @private
|
|
4098
|
+
*/
|
|
4099
|
+
text: string;
|
|
4100
|
+
}
|
|
4101
|
+
/**
|
|
4102
|
+
* @private
|
|
4103
|
+
*/
|
|
4104
|
+
export declare class MentionDataEditInfo {
|
|
4105
|
+
/**
|
|
4106
|
+
* @private
|
|
4107
|
+
*/
|
|
4108
|
+
text: string;
|
|
4109
|
+
/**
|
|
4110
|
+
* @private
|
|
4111
|
+
*/
|
|
4112
|
+
value: string;
|
|
4113
|
+
}
|
|
4114
|
+
/**
|
|
4115
|
+
* @private
|
|
4116
|
+
*/
|
|
4117
|
+
export declare class BreakElementBox extends TextElementBox {
|
|
4118
|
+
/**
|
|
4119
|
+
* @private
|
|
4120
|
+
*/
|
|
4121
|
+
breakClearType: BreakClearType;
|
|
4122
|
+
constructor();
|
|
4123
|
+
/**
|
|
4124
|
+
* @private
|
|
4125
|
+
*/
|
|
4126
|
+
clone(): BreakElementBox;
|
|
4127
|
+
destroy(): void;
|
|
4128
|
+
componentDestroy(): void;
|
|
4129
|
+
}
|
|
4130
|
+
/**
|
|
4131
|
+
* @private
|
|
4132
|
+
*/
|
|
4133
|
+
export declare class TabStopListInfo {
|
|
4134
|
+
/**
|
|
4135
|
+
* @private
|
|
4136
|
+
*/
|
|
4137
|
+
displayText: string;
|
|
4138
|
+
/**
|
|
4139
|
+
* @private
|
|
4140
|
+
*/
|
|
4141
|
+
value: WTabStop;
|
|
4142
|
+
}
|
|
4143
|
+
/**
|
|
4144
|
+
* @private
|
|
4145
|
+
*/
|
|
4146
|
+
export declare class FootnoteEndnoteMarkerElementBox extends TextElementBox {
|
|
4147
|
+
/**
|
|
4148
|
+
* @private
|
|
4149
|
+
*/
|
|
4150
|
+
getLength(): number;
|
|
4151
|
+
/**
|
|
4152
|
+
* @private
|
|
4153
|
+
*/
|
|
4154
|
+
clone(): FootnoteEndnoteMarkerElementBox;
|
|
4155
|
+
}
|