@grapecity/wijmo.grid.pdf 5.20252.44 → 5.20261.48

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/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * Wijmo Library 5.20252.44
3
+ * Wijmo Library 5.20261.48
4
4
  * https://developer.mescius.com/wijmo
5
5
  *
6
6
  * Copyright(c) MESCIUS inc. All rights reserved.
@@ -37,6 +37,115 @@ export declare function softSheet(): typeof sheet;
37
37
  export declare function softOlap(): typeof olap;
38
38
  export declare function softTransposed(): typeof transposed;
39
39
  export declare function softTransposedMultiRow(): typeof transposedMultiRow;
40
+ /**
41
+ * Represents arguments of the IFlexGridDrawSettings.formatItem callback.
42
+ */
43
+ export declare class PdfFormatItemEventArgs extends /*wijmo.grid.CellRangeEventArgs*/ CancelEventArgs {
44
+ private _p;
45
+ private _rng;
46
+ private _data;
47
+ private _tagContent;
48
+ private _canvas;
49
+ private _cell;
50
+ private _clientRect;
51
+ private _contentRect;
52
+ private _textRect;
53
+ private _style;
54
+ private _getFormattedCell;
55
+ private _getTextRect;
56
+ /**
57
+ * Initializes a new instance of the {@link PdfFormatItemEventArgs} class.
58
+ *
59
+ * @param p {@link GridPanel} that contains the range.
60
+ * @param rng Range of cells affected by the event.
61
+ * @param cell Element that represents the grid cell to be rendered.
62
+ * @param canvas Canvas to perform the custom painting on.
63
+ * @param clientRect Object that represents the client rectangle of the grid cell to be rendered in canvas coordinates.
64
+ * @param contentRect Object that represents the content rectangle of the grid cell to be rendered in canvas coordinates.
65
+ * @param style Object that represents the style of the grid cell to be rendered.
66
+ * @param getFormattedCell Callback function that should return the grid cell when the getFormattedCell method is called.
67
+ * @param getTextRect Callback function that should return the text rectangle of the grid cell to be rendered in canvas coordinates.
68
+ */
69
+ constructor(p: any, rng: any, cell: HTMLElement, canvas: PdfPageArea, clientRect: Rect, contentRect: Rect, style: ICellStyle, getFormattedCell: () => HTMLElement, getTextRect: () => Rect);
70
+ /**
71
+ * Gets the {@link GridPanel} affected by this event.
72
+ */
73
+ readonly panel: GridPanel;
74
+ /**
75
+ * Gets the {@link CellRange} affected by this event.
76
+ */
77
+ readonly range: CellRange;
78
+ /**
79
+ * Gets the row affected by this event.
80
+ */
81
+ readonly row: number;
82
+ /**
83
+ * Gets the column affected by this event.
84
+ */
85
+ readonly col: number;
86
+ /**
87
+ * Gets or sets the data associated with the event.
88
+ */
89
+ data: any;
90
+ /**
91
+ * Gets or sets a value that indicates that default cell borders drawing should be canceled.
92
+ */
93
+ cancelBorders: boolean;
94
+ /**
95
+ * Gets the canvas to perform the custom painting on.
96
+ */
97
+ readonly canvas: PdfPageArea;
98
+ /**
99
+ * Gets a reference to the element that represents the grid cell being rendered.
100
+ * If IFlexGridDrawSettings.customCellContent is set to true then contains
101
+ * reference to the element that represents the formatted grid cell; otherwise, a null value.
102
+ */
103
+ readonly cell: HTMLElement;
104
+ /**
105
+ * Gets the client rectangle of the cell being rendered in canvas coordinates.
106
+ */
107
+ readonly clientRect: Rect;
108
+ /**
109
+ * Gets the content rectangle of the cell being rendered in canvas coordinates.
110
+ */
111
+ readonly contentRect: Rect;
112
+ /**
113
+ * Draws the background of the cell with the specified brush or color, or, if it is not specified, with the value of the {@link style.backgroundColor} property.
114
+ * @param brush The brush or color to use.
115
+ */
116
+ drawBackground(brush?: PdfBrush | Color | string): void;
117
+ /**
118
+ * Returns a reference to the element that represents the grid cell being rendered.
119
+ * This method is useful when export of custom formatting is disabled, but you need
120
+ * to export custom content for certain cells.
121
+ */
122
+ getFormattedCell(): HTMLElement;
123
+ /**
124
+ * Gets or sets a reference to a marked structure content of the cell.
125
+ *
126
+ * If user produces Tagged PDF and draws the cell content manually, then he can mark the cell content and return a reference to the structure content via this property.
127
+ * The returned item will be incorporated into the document's structure tree.
128
+ *
129
+ * For example:
130
+ * <pre>
131
+ * args.tagContent = args.canvas.beginTagContent(wijmo.pdf.PdfTagType.P);
132
+ * args.canvas.drawText('Some text', x, y);
133
+ * args.canvas.endTagContent();
134
+ * </pre>
135
+ */
136
+ tagContent: IPdfTagContent | IPdfTag;
137
+ /**
138
+ * Gets an object that represents the style of the cell being rendered.
139
+ * If IFlexGridDrawSettings.customCellContent is set to true then the style is inferred
140
+ * from the cell style; othwerwise it contains a combination of the IFlexGridDrawSettings.styles export
141
+ * setting, according to the row type of exported cell.
142
+ */
143
+ readonly style: ICellStyle;
144
+ /**
145
+ * Gets the value that represents the top position of the text of the cell being rendered in canvas coordinates.
146
+ */
147
+ readonly textTop: number;
148
+ }
40
149
  /**
41
150
  * Specifies how the grid content should be scaled to fit the page.
42
151
  */
@@ -244,6 +353,9 @@ export interface IFlexGridDrawSettings {
244
353
  */
245
354
  quickCellStyles?: boolean;
246
355
  _progressMax?: number;
356
+ _mergedCellTextState?: {
357
+ [key: string]: number;
358
+ };
247
359
  }
248
360
  /**
249
361
  * Represents the settings used by the {@link FlexGridPdfConverter.export} method.
@@ -355,115 +467,6 @@ export declare enum _CellType {
355
467
  export declare function _merge(dst: any, src: any, overwrite?: boolean): any;
356
468
  export declare function _combineColumns(regCol: _IColumn, bndCol: _IColumn): _IColumn;
357
469
  export declare function _cloneStyle(val: CSSStyleDeclaration): any;
358
- /**
359
- * Represents arguments of the IFlexGridDrawSettings.formatItem callback.
360
- */
361
- export declare class PdfFormatItemEventArgs extends /*wijmo.grid.CellRangeEventArgs*/ CancelEventArgs {
362
- private _p;
363
- private _rng;
364
- private _data;
365
- private _tagContent;
366
- private _canvas;
367
- private _cell;
368
- private _clientRect;
369
- private _contentRect;
370
- private _textRect;
371
- private _style;
372
- private _getFormattedCell;
373
- private _getTextRect;
374
- /**
375
- * Initializes a new instance of the {@link PdfFormatItemEventArgs} class.
376
- *
377
- * @param p {@link GridPanel} that contains the range.
378
- * @param rng Range of cells affected by the event.
379
- * @param cell Element that represents the grid cell to be rendered.
380
- * @param canvas Canvas to perform the custom painting on.
381
- * @param clientRect Object that represents the client rectangle of the grid cell to be rendered in canvas coordinates.
382
- * @param contentRect Object that represents the content rectangle of the grid cell to be rendered in canvas coordinates.
383
- * @param style Object that represents the style of the grid cell to be rendered.
384
- * @param getFormattedCell Callback function that should return the grid cell when the getFormattedCell method is called.
385
- * @param getTextRect Callback function that should return the text rectangle of the grid cell to be rendered in canvas coordinates.
386
- */
387
- constructor(p: any, rng: any, cell: HTMLElement, canvas: PdfPageArea, clientRect: Rect, contentRect: Rect, style: ICellStyle, getFormattedCell: () => HTMLElement, getTextRect: () => Rect);
388
- /**
389
- * Gets the {@link GridPanel} affected by this event.
390
- */
391
- readonly panel: GridPanel;
392
- /**
393
- * Gets the {@link CellRange} affected by this event.
394
- */
395
- readonly range: CellRange;
396
- /**
397
- * Gets the row affected by this event.
398
- */
399
- readonly row: number;
400
- /**
401
- * Gets the column affected by this event.
402
- */
403
- readonly col: number;
404
- /**
405
- * Gets or sets the data associated with the event.
406
- */
407
- data: any;
408
- /**
409
- * Gets or sets a value that indicates that default cell borders drawing should be canceled.
410
- */
411
- cancelBorders: boolean;
412
- /**
413
- * Gets the canvas to perform the custom painting on.
414
- */
415
- readonly canvas: PdfPageArea;
416
- /**
417
- * Gets a reference to the element that represents the grid cell being rendered.
418
- * If IFlexGridDrawSettings.customCellContent is set to true then contains
419
- * reference to the element that represents the formatted grid cell; otherwise, a null value.
420
- */
421
- readonly cell: HTMLElement;
422
- /**
423
- * Gets the client rectangle of the cell being rendered in canvas coordinates.
424
- */
425
- readonly clientRect: Rect;
426
- /**
427
- * Gets the content rectangle of the cell being rendered in canvas coordinates.
428
- */
429
- readonly contentRect: Rect;
430
- /**
431
- * Draws the background of the cell with the specified brush or color, or, if it is not specified, with the value of the {@link style.backgroundColor} property.
432
- * @param brush The brush or color to use.
433
- */
434
- drawBackground(brush?: PdfBrush | Color | string): void;
435
- /**
436
- * Returns a reference to the element that represents the grid cell being rendered.
437
- * This method is useful when export of custom formatting is disabled, but you need
438
- * to export custom content for certain cells.
439
- */
440
- getFormattedCell(): HTMLElement;
441
- /**
442
- * Gets or sets a reference to a marked structure content of the cell.
443
- *
444
- * If user produces Tagged PDF and draws the cell content manually, then he can mark the cell content and return a reference to the structure content via this property.
445
- * The returned item will be incorporated into the document's structure tree.
446
- *
447
- * For example:
448
- * <pre>
449
- * args.tagContent = args.canvas.beginTagContent(wijmo.pdf.PdfTagType.P);
450
- * args.canvas.drawText('Some text', x, y);
451
- * args.canvas.endTagContent();
452
- * </pre>
453
- */
454
- tagContent: IPdfTagContent | IPdfTag;
455
- /**
456
- * Gets an object that represents the style of the cell being rendered.
457
- * If IFlexGridDrawSettings.customCellContent is set to true then the style is inferred
458
- * from the cell style; othwerwise it contains a combination of the IFlexGridDrawSettings.styles export
459
- * setting, according to the row type of exported cell.
460
- */
461
- readonly style: ICellStyle;
462
- /**
463
- * Gets the value that represents the top position of the text of the cell being rendered in canvas coordinates.
464
- */
465
- readonly textTop: number;
466
- }
467
470
  /**
468
471
  * Provides a functionality to export the {@link FlexGrid} to PDF.
469
472
  */
@@ -591,6 +594,7 @@ export declare class _CellRenderer {
591
594
  private _area;
592
595
  private _borderWidth;
593
596
  private readonly InvisiblePen;
597
+ _lastRenderCharCount: number;
594
598
  constructor(panelRenderer: PanelSectionRenderer, area: pdf.PdfPageArea, borderWidth: number);
595
599
  renderCell(value: string, row: _IRow, column: _IColumn, rng: _CellRangeExt, r: Rect): pdf.IPdfTagContent | pdf.IPdfTag;
596
600
  private _renderCell;
@@ -653,140 +657,140 @@ declare class RowRange {
653
657
  }
654
658
  export declare function _removeFakeCell(): void;
655
659
  /**
656
- * Provides a functionality to export the {@link FlexGrid} to PDF.
657
- *
658
- * The example below shows how you can use a {@link FlexGridPdfConverter} to
659
- * export a {@link FlexGrid} to PDF:
660
- *
661
- * {@sample Grid/ImportExportPrint/PDF/ExportToFile/purejs Example}
662
- */
660
+ * Provides a functionality to export the {@link FlexGrid} to PDF.
661
+ *
662
+ * The example below shows how you can use a {@link FlexGridPdfConverter} to
663
+ * export a {@link FlexGrid} to PDF:
664
+ *
665
+ * {@sample Grid/ImportExportPrint/PDF/ExportToFile/purejs Example}
666
+ */
663
667
  export declare class FlexGridPdfConverter {
664
668
  static _DefaultExportSettings: IFlexGridExportSettings;
665
669
  /**
666
- * Draws the {@link FlexGrid} to an existing {@link PdfDocument} at the
667
- * (0, @wijmo.pdf.PdfDocument.y) coordinates.
668
- *
669
- * If both, **width** and **height** are determined, then grid will be scaled to fit the
670
- * specified rectangle without any page breaks.
671
- * If only **width** is specifed, then grid will be scaled to fit the width, breaking
672
- * into pages vertically as needed.
673
- * Otherwise grid will be rendered in actual size, breaking into pages as needed.
674
- *
675
- * <pre>
676
- * var doc = new wijmo.pdf.PdfDocument({
677
- * ended: function (sender, args) {
678
- * wijmo.pdf.saveBlob(args.blob, 'FlexGrid.pdf');
679
- * }
680
- * });
681
- *
682
- * wijmo.grid.pdf.FlexGridPdfConverter.draw(grid, doc, null, null, {
683
- * maxPages: 10,
684
- * styles: {
685
- * cellStyle: {
686
- * backgroundColor: '#ffffff',
687
- * borderColor: '#c6c6c6'
688
- * },
689
- * headerCellStyle: {
690
- * backgroundColor: '#eaeaea'
691
- * }
692
- * }
693
- * });
694
- * </pre>
695
- *
696
- * @param flex The {@link FlexGrid} instance to export.
697
- * @param doc The {@link PdfDocument} instance to draw in.
698
- * @param width The width of the drawing area in points.
699
- * @param height The height of the drawing area in points.
700
- * @param settings The draw settings.
701
- */
670
+ * Draws the {@link FlexGrid} to an existing {@link PdfDocument} at the
671
+ * (0, @wijmo.pdf.PdfDocument.y) coordinates.
672
+ *
673
+ * If both, **width** and **height** are determined, then grid will be scaled to fit the
674
+ * specified rectangle without any page breaks.
675
+ * If only **width** is specifed, then grid will be scaled to fit the width, breaking
676
+ * into pages vertically as needed.
677
+ * Otherwise grid will be rendered in actual size, breaking into pages as needed.
678
+ *
679
+ * <pre>
680
+ * var doc = new wijmo.pdf.PdfDocument({
681
+ * ended: function (sender, args) {
682
+ * wijmo.pdf.saveBlob(args.blob, 'FlexGrid.pdf');
683
+ * }
684
+ * });
685
+ *
686
+ * wijmo.grid.pdf.FlexGridPdfConverter.draw(grid, doc, null, null, {
687
+ * maxPages: 10,
688
+ * styles: {
689
+ * cellStyle: {
690
+ * backgroundColor: '#ffffff',
691
+ * borderColor: '#c6c6c6'
692
+ * },
693
+ * headerCellStyle: {
694
+ * backgroundColor: '#eaeaea'
695
+ * }
696
+ * }
697
+ * });
698
+ * </pre>
699
+ *
700
+ * @param flex The {@link FlexGrid} instance to export.
701
+ * @param doc The {@link PdfDocument} instance to draw in.
702
+ * @param width The width of the drawing area in points.
703
+ * @param height The height of the drawing area in points.
704
+ * @param settings The draw settings.
705
+ */
702
706
  static draw(flex: any, doc: pdf.PdfDocument, width?: number, height?: number, settings?: IFlexGridDrawSettings): void;
703
707
  /**
704
- * Draws the {@link FlexGrid} to an existing {@link PdfDocument} instance at the
705
- * specified coordinates.
706
- *
707
- * If both, **width** and **height** are determined, then grid will be scaled to fit
708
- * the specified rectangle without any page breaks.
709
- * If only **width** is specified, then grid will be scaled to fit the width without
710
- * any page breaks.
711
- * Othwerwise grid will be rendered in actual size without any page breaks.
712
- *
713
- * <pre>
714
- * var doc = new wijmo.pdf.PdfDocument({
715
- * ended: function (sender, args) {
716
- * wijmo.pdf.saveBlob(args.blob, 'FlexGrid.pdf');
717
- * }
718
- * });
719
- *
720
- * wijmo.grid.pdf.FlexGridPdfConverter.drawToPosition(grid, doc, new wijmo.Point(0, 0), null, null, {
721
- * maxPages: 10,
722
- * styles: {
723
- * cellStyle: {
724
- * backgroundColor: '#ffffff',
725
- * borderColor: '#c6c6c6'
726
- * },
727
- * headerCellStyle: {
728
- * backgroundColor: '#eaeaea'
729
- * }
730
- * }
731
- * });
732
- * </pre>
733
- *
734
- * @param flex The {@link FlexGrid} instance to export.
735
- * @param doc The {@link PdfDocument} instance to draw in.
736
- * @param point The position to draw at, in points.
737
- * @param width The width of the drawing area in points.
738
- * @param height The height of the drawing area in points.
739
- * @param settings The draw settings.
740
- */
708
+ * Draws the {@link FlexGrid} to an existing {@link PdfDocument} instance at the
709
+ * specified coordinates.
710
+ *
711
+ * If both, **width** and **height** are determined, then grid will be scaled to fit
712
+ * the specified rectangle without any page breaks.
713
+ * If only **width** is specified, then grid will be scaled to fit the width without
714
+ * any page breaks.
715
+ * Othwerwise grid will be rendered in actual size without any page breaks.
716
+ *
717
+ * <pre>
718
+ * var doc = new wijmo.pdf.PdfDocument({
719
+ * ended: function (sender, args) {
720
+ * wijmo.pdf.saveBlob(args.blob, 'FlexGrid.pdf');
721
+ * }
722
+ * });
723
+ *
724
+ * wijmo.grid.pdf.FlexGridPdfConverter.drawToPosition(grid, doc, new wijmo.Point(0, 0), null, null, {
725
+ * maxPages: 10,
726
+ * styles: {
727
+ * cellStyle: {
728
+ * backgroundColor: '#ffffff',
729
+ * borderColor: '#c6c6c6'
730
+ * },
731
+ * headerCellStyle: {
732
+ * backgroundColor: '#eaeaea'
733
+ * }
734
+ * }
735
+ * });
736
+ * </pre>
737
+ *
738
+ * @param flex The {@link FlexGrid} instance to export.
739
+ * @param doc The {@link PdfDocument} instance to draw in.
740
+ * @param point The position to draw at, in points.
741
+ * @param width The width of the drawing area in points.
742
+ * @param height The height of the drawing area in points.
743
+ * @param settings The draw settings.
744
+ */
741
745
  static drawToPosition(flex: any, doc: pdf.PdfDocument, point: Point, width?: number, height?: number, settings?: IFlexGridDrawSettings): void;
742
746
  /**
743
- * Exports the {@link FlexGrid} to PDF.
744
- *
745
- * <pre>
746
- * wijmo.grid.pdf.FlexGridPdfConverter.export(grid, 'FlexGrid.pdf', {
747
- * scaleMode: wijmo.grid.pdf.ScaleMode.PageWidth,
748
- * maxPages: 10,
749
- * styles: {
750
- * cellStyle: {
751
- * backgroundColor: '#ffffff',
752
- * borderColor: '#c6c6c6'
753
- * },
754
- * headerCellStyle: {
755
- * backgroundColor: '#eaeaea'
756
- * }
757
- * },
758
- * documentOptions: {
759
- * info: {
760
- * title: 'Sample'
761
- * }
762
- * }
763
- * });
764
- * </pre>
765
- *
766
- * @param flex The {@link FlexGrid} instance to export.
767
- * @param fileName Name of the file to export.
768
- * @param settings The export settings.
769
- */
747
+ * Exports the {@link FlexGrid} to PDF.
748
+ *
749
+ * <pre>
750
+ * wijmo.grid.pdf.FlexGridPdfConverter.export(grid, 'FlexGrid.pdf', {
751
+ * scaleMode: wijmo.grid.pdf.ScaleMode.PageWidth,
752
+ * maxPages: 10,
753
+ * styles: {
754
+ * cellStyle: {
755
+ * backgroundColor: '#ffffff',
756
+ * borderColor: '#c6c6c6'
757
+ * },
758
+ * headerCellStyle: {
759
+ * backgroundColor: '#eaeaea'
760
+ * }
761
+ * },
762
+ * documentOptions: {
763
+ * info: {
764
+ * title: 'Sample'
765
+ * }
766
+ * }
767
+ * });
768
+ * </pre>
769
+ *
770
+ * @param flex The {@link FlexGrid} instance to export.
771
+ * @param fileName Name of the file to export.
772
+ * @param settings The export settings.
773
+ */
770
774
  static export(flex: grid.FlexGrid, fileName: string, settings?: IFlexGridExportSettings): void;
771
775
  static _getFlexGridAdapter(flex: grid.FlexGrid, settings: IFlexGridDrawSettings): _IFlexGridAdapter;
772
776
  static _applyDefaultExportSettings(settings: any): IFlexGridExportSettings;
773
777
  }
774
778
  /**
775
- * Represents a single item of the {@link IClientData} dictionary.
776
- */
779
+ * Represents a single item of the {@link IClientData} dictionary.
780
+ */
777
781
  export interface IClientDataItem {
778
782
  /**
779
- * Gets or sets the content for the data item.
780
- */
783
+ * Gets or sets the content for the data item.
784
+ */
781
785
  content: any;
782
786
  /**
783
- * Gets or sets the settings for the data item.
784
- */
787
+ * Gets or sets the settings for the data item.
788
+ */
785
789
  settings: any;
786
790
  }
787
791
  /**
788
- * Represents a dictionary of {name: value} pairs which contains client data.
789
- */
792
+ * Represents a dictionary of {name: value} pairs which contains client data.
793
+ */
790
794
  export interface IClientData {
791
795
  [name: string]: IClientDataItem;
792
796
  }
@@ -797,18 +801,18 @@ export declare class PdfWebWorkerExportDoneEventArgs extends EventArgs {
797
801
  private _blob;
798
802
  private _buf;
799
803
  /**
800
- * Initializes a new instance of the {@link PdfWebWorkerExportDoneEventArgs} class.
801
- *
802
- * @param buffer An ArrayBuffer.
803
- */
804
+ * Initializes a new instance of the {@link PdfWebWorkerExportDoneEventArgs} class.
805
+ *
806
+ * @param buffer An ArrayBuffer.
807
+ */
804
808
  constructor(buffer: ArrayBuffer);
805
809
  /**
806
- * Gets a Blob object that contains the document data.
807
- */
810
+ * Gets a Blob object that contains the document data.
811
+ */
808
812
  readonly blob: Blob;
809
813
  /**
810
- * Gets an ArrayBuffer that contains the document data.
811
- */
814
+ * Gets an ArrayBuffer that contains the document data.
815
+ */
812
816
  readonly buffer: ArrayBuffer;
813
817
  }
814
818
  /**
@@ -868,11 +872,11 @@ export declare class PdfWebWorkerClient {
868
872
  */
869
873
  static addString(worker: Worker, value: string, name: string): void;
870
874
  /**
871
- * Serializes the {@link FlexGrid} to ArrayBuffer. The serialized data can be send to a Web Worker using the postMessage method.
872
- *
873
- * @param grid The {@link FlexGrid} instance to serialize.
874
- * @param settings The export settings used to serialize the grid.
875
- */
875
+ * Serializes the {@link FlexGrid} to ArrayBuffer. The serialized data can be send to a Web Worker using the postMessage method.
876
+ *
877
+ * @param grid The {@link FlexGrid} instance to serialize.
878
+ * @param settings The export settings used to serialize the grid.
879
+ */
876
880
  static serializeGrid(grid: grid.FlexGrid, settings?: IFlexGridExportSettings): ArrayBuffer;
877
881
  private static _addClientData;
878
882
  private static _clearClientData;
@@ -907,11 +911,11 @@ export declare class PdfWebWorker {
907
911
  */
908
912
  static sendExportProgress(value: number): void;
909
913
  /**
910
- * Deserializes the {@link FlexGrid} from ArrayBuffer to its internal representation that can be used in a Web Worker and passed to the {@link FlexGridPdfConverter.draw} and {@link FlexGridPdfConverter.drawToPosition} methods.
911
- *
912
- * @param data The data to deserialize.
913
- * @param settings The draw settings used to deserialize the grid.
914
- */
914
+ * Deserializes the {@link FlexGrid} from ArrayBuffer to its internal representation that can be used in a Web Worker and passed to the {@link FlexGridPdfConverter.draw} and {@link FlexGridPdfConverter.drawToPosition} methods.
915
+ *
916
+ * @param data The data to deserialize.
917
+ * @param settings The draw settings used to deserialize the grid.
918
+ */
915
919
  static deserializeGrid(data: ArrayBuffer, settings?: IFlexGridDrawSettings): any;
916
920
  private static _deserializeGridFromString;
917
921
  private static _disableUnsupportedFeatures;