@k-table/sheet-canvas 1.0.22 → 1.0.24

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/dist/index.d.cts CHANGED
@@ -164,6 +164,9 @@ declare function runsToEditableHtml(runs: TextRun[]): string;
164
164
  declare function runsFromCellContentRoot(root: Element): TextRun[];
165
165
  declare function editableHtmlToRuns(html: string): TextRun[];
166
166
  declare function hasMeaningfulRuns(runs: TextRun[] | undefined): boolean;
167
+ declare function cellValueHasScriptMarkup(value: string | undefined): boolean;
168
+ /** 把正文里的 sup/sub 标记拆成绘制用分段。没有标记时返回 null。 */
169
+ declare function scriptMarkupToRuns(raw: string): TextRun[] | null;
167
170
  /** 从 CellData 得到绘制用 runs(含旧版整格上下标;分段与整格默认样式合并) */
168
171
  declare function getDisplayRuns(data: CellData | undefined): TextRun[];
169
172
  /**
@@ -1648,4 +1651,4 @@ declare function parseGridRcAddress(s: string): {
1648
1651
  */
1649
1652
  declare const SHEET_CANVAS_PACKAGE: "@k-table/sheet-canvas";
1650
1653
 
1651
- export { type ApplyFillOptions, type ApplyMergeSelectionOptions, AssetEmbedHost, type AssetEmbedHostDeps, type AssetEmbedHostProps, type BindingOverlayDeps, type BuildPrintDocumentAsyncOptions, type BuildPrintDocumentOptions, type BuildPrintWorkbookDocumentAsyncOptions, type BuildPrintWorkbookDocumentOptions, type BuildPrintWorkbookItem, type BuildPrintWorkbookItemWithSheetId, CALENDAR_PANEL_APPROX_H, type ChartEchartsInstance, type ChartEchartsPort, ChartEmbedHost, type ChartEmbedHostProps as ChartEmbedHostCoreProps, DEFAULT_SHEET_CANVAS_PAINT_PORT, DEFAULT_SHEET_PAINT_PALETTE, EMBED_CELL_INSET_CSS_PX, EMBED_CELL_INSET_PT, type EmbedCellOffset, type EmbedOverlayBox, type EmbedOverlayLayoutPort, type ExportBoundsRowsCols, FILL_HANDLE_PX, FLOATING_PANEL_DEFAULT_W, FLOATING_PANEL_GAP, FLOATING_PANEL_TEXT_H, type FillPattern, InstanceAssetLayer, type InstanceAssetLayerProps, InstanceEmbedLayer, type InstanceEmbedLayerMode, type InstanceEmbedLayerProps, type InstanceFillGuard, type InstancePasteGuard, type InstanceSelectionChromeState, MAX_BORDER_STROKE_WIDTH_PX, type MergeIndex, PANEL_FOLLOW_MODE_DEFAULT, PANEL_FOLLOW_MODE_OPTIONS, PRINT_EXPORT_PRESET, type PaintEmbedsDeps, type PaintEmbedsOptions, type PaintSheetCanvasFrameInput, type PaintVirtualBandBindingOverlay, type PaintVirtualBandOptions, type PanelFollowMode, type PasteCellStyleOptions, type PrintLayoutMode, QrEmbedSlot, type QrEmbedSlotProps, type QrToDataUrlFn, type RasterizeSheetExportOptions, type RasterizeSheetWithEmbedsOptions, type ResolvedEmbedRect, SHEET_ACTIVE_CELL_BG, SHEET_ACTIVE_OUTLINE, SHEET_CANVAS_PACKAGE, SHEET_CLIPBOARD_MIME, SHEET_DATA_BG, SHEET_GRID_LINE_DATA, SHEET_GRID_LINE_HEADER, SHEET_HEADER_BG, SHEET_HEADER_SEL_ACCENT_PX, SHEET_HEADER_SEL_BG, SHEET_INSTANCE_FILL_LOCKED_BG, SHEET_SEL_FILL, SHEET_SEL_STROKE, SHEET_SHADOW_STYLES, type ScrollRevealInput, type SelectionEditChromeFlags, type SelectionHeaderHighlight, type SheetCanvasPaintPort, type SheetCanvasViewport, type SheetClipboardFragmentV1, type SheetDragEndInput, type SheetDragEndOutcome, type SheetDragGuide, type SheetDragMoveInput, type SheetDragMoveOutcome, type SheetDragState, SheetEmbedOverlay, type SheetEmbedOverlayProps, type SheetExportOptions, type SheetExportSizeOptions, type SheetPaintPalette, type SheetPdfRasterOptions, type SheetPointerCursorInput, type SheetPointerDownInput, type SheetPointerDownResult, type SheetScrollPort, type SheetWindowDragListeners, StaticWorkbookSlicePreview, type ViewportPoint, type ViewportRect, type WorkbookPdfSheetSlice, type WorkbookPdfSheetSliceSync, type XlsxToWorkbookLayoutOptions, appendSheetToPdf, appendSheetToPdfAsync, applyFillToSheet, applyMergeSelection, applyRichGridToSheet, applyScriptToRunSubstring, applyTdAlignAttrs, applyTextRunStylePatchToSubstring, assetBoxOverlayBox, assetBoxPrintRect, attachSheetWindowDragListeners, borderStrokeWidth, boundaryAtPlainIndex, buildFillDragState, buildMergeIndex, buildPrintDocument, buildPrintDocumentAsync, buildPrintWorkbookDocument, buildPrintWorkbookDocumentAsync, cellDataFromEdit, cellEditorA1Label, cellStyleFromTableCell, chartSpanOverlayBox, chartSpanPrintRect, clampColumnHeaderDragEnd, clampFloatingPanelPos, clampRowHeaderDragEnd, clampSelection, clampSheetViewZoom, clientToSheetCoords, clipboardItemsToPastePayload, collectEmbedAnchorRect, columnDividerAtX, columnDividerAtXInHeaderRow, computeColumnHeaderPointerSelection, computeDataCellPointerSelection, computeDatePopupPos, computeFillPreviewSelectionInstance, computeFloatingPanelFollowPos, computeResizedColWidth, computeResizedRowHeight, computeRowHeaderPointerSelection, computeScrollToRevealSelection, computeSelectAllCornerSelection, createSheetScrollPort, createSheetWindowDragHandlers, ctxTextMeasurer, denseGridToLogicalPlainGrid, detachSheetWindowDragListeners, downloadExcelFile, downloadSheetAsExcel, downloadWorkbookAsExcel, drawCellBorders, editableHtmlToRuns, effectiveDefaultFontPtForPaint, embedDisplayLabel, ensureMinDimensions, expandMergeSelectionRect, extractClassStyleMapFromDocument, extractFillPattern, fillHandleBlockedByEdit, finalizeCellDataForSave, formatA1, formatSelectionA1, getCellRect, getDisplayRuns, getExcelSheetList, getGridClipBleedPx, getMaster, getMergeRect, getMergedPixelRect, getPlainOffsetsFromSelection, getPrintPageOverlayRects, getSelectionForEditableRoot, getSelectionPixelBounds, getSheetExportSize, getUsedDataBounds, getUsedExportPixelRect, hasMeaningfulRuns, hitTestFillHandle, hitTestToCell, htmlTableToRichGrid, htmlTableToRichGridWithSpans, htmlTableToTsv, insertCol, insertRow, insetOverlayBox, instanceSelectionChromeState, intermediateToSheetState, isCellUsedForPrintBounds, isColumnHeaderRow, isDataCell, isDataCellTextuallyEmpty, isFillHandlePointerDown, isHeaderCorner, isPanelFollowMode, isPointerInVirtualBottomBand, isPointerInVirtualTopBand, isRowHeaderCol, joinRuns, listEmbedAnchorBindings, loadPanelFollowMode, mergeCellStylesLoose, mergeRunStyle, mergeScriptIntoRuns, mergesOverlap, normalizeCellDataValue, normalizeCssColorToHex, normalizeMerge, normalizeRuns, normalizeSelectDragHit, overlayBoxToViewportRect, pageSettingsPrintKey, paintDesignBindingOverlayForDataCell, paintDesignFormulaOverlayForDataCell, paintEmbedsToCanvas, paintSheetCanvasFrame, paintSheetDataCellContent, paintVirtualSheetBand, parseA1, parseA1OrRangeToSelection, parseExcelBufferAllSheets, parseExcelBufferToIntermediate, parseExcelToIntermediate, parseGridRcAddress, parseSpreadsheetInlineCss, parseTsvGrid, pasteCellStyleAndRuns, pasteClipboardInstanceValuesOnly, pasteClipboardIntoSheet, pasteTsvAt, plainLengthToBoundary, preferredWindowDragMoveEvent, processSheetDragEnd, processSheetDragMove, processSheetPointerDown, rasterizeSheetExport, rasterizeSheetExportToCanvas, rasterizeSheetWithEmbeds, readClipboardForSheetPaste, renderSheetExport, resolveChartLayoutRect, resolveChartPrintRect, resolveColResizeDivider, resolveContextMenuCell, resolveFillDragAxis, resolveFormulaPickerRefText, resolveRowResizeDivider, resolveSheetPaintPalette, resolveSheetPointerCursor, rowDividerAtY, rowDividerAtYInHeaderCol, runsFromCellContentRoot, runsToEditableHtml, savePanelFollowMode, selectionBoundsMatchEntireMerge, selectionEditChromeFlags, selectionHeaderHighlightFlags, selectionMatchesMergeMaster, selectionToClipboardPayload, selectionToTsv, setCell, setPlainTextSelection, setupSheetCanvasElement, sheetChrome, sheetToExcelBuffer, sheetToPdfBlob, sheetToPdfBlobAsync, sheetTotalSize, shouldIgnorePointerOutsideMidBand, shouldKeepInlineEditFocus, shouldSkipScrollRevealForSelection, sliceExportCanvasToDataUrls, splitRunsIntoLines, splitTsvLine, strokeHeaderCellGrid, strokeUnmergedCellGrid, virtualBandWorldHeight, visibleColRange, visibleRowRange, visibleRowRangeInBand, workbookToExcelBuffer, workbookToPdfBlob, workbookToPdfBlobAsync, wrapRunsLinesToMaxWidth, writeSheetClipboardPayload, writeSheetToWorksheet, xlsxToWorkbookLayout };
1654
+ export { type ApplyFillOptions, type ApplyMergeSelectionOptions, AssetEmbedHost, type AssetEmbedHostDeps, type AssetEmbedHostProps, type BindingOverlayDeps, type BuildPrintDocumentAsyncOptions, type BuildPrintDocumentOptions, type BuildPrintWorkbookDocumentAsyncOptions, type BuildPrintWorkbookDocumentOptions, type BuildPrintWorkbookItem, type BuildPrintWorkbookItemWithSheetId, CALENDAR_PANEL_APPROX_H, type ChartEchartsInstance, type ChartEchartsPort, ChartEmbedHost, type ChartEmbedHostProps as ChartEmbedHostCoreProps, DEFAULT_SHEET_CANVAS_PAINT_PORT, DEFAULT_SHEET_PAINT_PALETTE, EMBED_CELL_INSET_CSS_PX, EMBED_CELL_INSET_PT, type EmbedCellOffset, type EmbedOverlayBox, type EmbedOverlayLayoutPort, type ExportBoundsRowsCols, FILL_HANDLE_PX, FLOATING_PANEL_DEFAULT_W, FLOATING_PANEL_GAP, FLOATING_PANEL_TEXT_H, type FillPattern, InstanceAssetLayer, type InstanceAssetLayerProps, InstanceEmbedLayer, type InstanceEmbedLayerMode, type InstanceEmbedLayerProps, type InstanceFillGuard, type InstancePasteGuard, type InstanceSelectionChromeState, MAX_BORDER_STROKE_WIDTH_PX, type MergeIndex, PANEL_FOLLOW_MODE_DEFAULT, PANEL_FOLLOW_MODE_OPTIONS, PRINT_EXPORT_PRESET, type PaintEmbedsDeps, type PaintEmbedsOptions, type PaintSheetCanvasFrameInput, type PaintVirtualBandBindingOverlay, type PaintVirtualBandOptions, type PanelFollowMode, type PasteCellStyleOptions, type PrintLayoutMode, QrEmbedSlot, type QrEmbedSlotProps, type QrToDataUrlFn, type RasterizeSheetExportOptions, type RasterizeSheetWithEmbedsOptions, type ResolvedEmbedRect, SHEET_ACTIVE_CELL_BG, SHEET_ACTIVE_OUTLINE, SHEET_CANVAS_PACKAGE, SHEET_CLIPBOARD_MIME, SHEET_DATA_BG, SHEET_GRID_LINE_DATA, SHEET_GRID_LINE_HEADER, SHEET_HEADER_BG, SHEET_HEADER_SEL_ACCENT_PX, SHEET_HEADER_SEL_BG, SHEET_INSTANCE_FILL_LOCKED_BG, SHEET_SEL_FILL, SHEET_SEL_STROKE, SHEET_SHADOW_STYLES, type ScrollRevealInput, type SelectionEditChromeFlags, type SelectionHeaderHighlight, type SheetCanvasPaintPort, type SheetCanvasViewport, type SheetClipboardFragmentV1, type SheetDragEndInput, type SheetDragEndOutcome, type SheetDragGuide, type SheetDragMoveInput, type SheetDragMoveOutcome, type SheetDragState, SheetEmbedOverlay, type SheetEmbedOverlayProps, type SheetExportOptions, type SheetExportSizeOptions, type SheetPaintPalette, type SheetPdfRasterOptions, type SheetPointerCursorInput, type SheetPointerDownInput, type SheetPointerDownResult, type SheetScrollPort, type SheetWindowDragListeners, StaticWorkbookSlicePreview, type ViewportPoint, type ViewportRect, type WorkbookPdfSheetSlice, type WorkbookPdfSheetSliceSync, type XlsxToWorkbookLayoutOptions, appendSheetToPdf, appendSheetToPdfAsync, applyFillToSheet, applyMergeSelection, applyRichGridToSheet, applyScriptToRunSubstring, applyTdAlignAttrs, applyTextRunStylePatchToSubstring, assetBoxOverlayBox, assetBoxPrintRect, attachSheetWindowDragListeners, borderStrokeWidth, boundaryAtPlainIndex, buildFillDragState, buildMergeIndex, buildPrintDocument, buildPrintDocumentAsync, buildPrintWorkbookDocument, buildPrintWorkbookDocumentAsync, cellDataFromEdit, cellEditorA1Label, cellStyleFromTableCell, cellValueHasScriptMarkup, chartSpanOverlayBox, chartSpanPrintRect, clampColumnHeaderDragEnd, clampFloatingPanelPos, clampRowHeaderDragEnd, clampSelection, clampSheetViewZoom, clientToSheetCoords, clipboardItemsToPastePayload, collectEmbedAnchorRect, columnDividerAtX, columnDividerAtXInHeaderRow, computeColumnHeaderPointerSelection, computeDataCellPointerSelection, computeDatePopupPos, computeFillPreviewSelectionInstance, computeFloatingPanelFollowPos, computeResizedColWidth, computeResizedRowHeight, computeRowHeaderPointerSelection, computeScrollToRevealSelection, computeSelectAllCornerSelection, createSheetScrollPort, createSheetWindowDragHandlers, ctxTextMeasurer, denseGridToLogicalPlainGrid, detachSheetWindowDragListeners, downloadExcelFile, downloadSheetAsExcel, downloadWorkbookAsExcel, drawCellBorders, editableHtmlToRuns, effectiveDefaultFontPtForPaint, embedDisplayLabel, ensureMinDimensions, expandMergeSelectionRect, extractClassStyleMapFromDocument, extractFillPattern, fillHandleBlockedByEdit, finalizeCellDataForSave, formatA1, formatSelectionA1, getCellRect, getDisplayRuns, getExcelSheetList, getGridClipBleedPx, getMaster, getMergeRect, getMergedPixelRect, getPlainOffsetsFromSelection, getPrintPageOverlayRects, getSelectionForEditableRoot, getSelectionPixelBounds, getSheetExportSize, getUsedDataBounds, getUsedExportPixelRect, hasMeaningfulRuns, hitTestFillHandle, hitTestToCell, htmlTableToRichGrid, htmlTableToRichGridWithSpans, htmlTableToTsv, insertCol, insertRow, insetOverlayBox, instanceSelectionChromeState, intermediateToSheetState, isCellUsedForPrintBounds, isColumnHeaderRow, isDataCell, isDataCellTextuallyEmpty, isFillHandlePointerDown, isHeaderCorner, isPanelFollowMode, isPointerInVirtualBottomBand, isPointerInVirtualTopBand, isRowHeaderCol, joinRuns, listEmbedAnchorBindings, loadPanelFollowMode, mergeCellStylesLoose, mergeRunStyle, mergeScriptIntoRuns, mergesOverlap, normalizeCellDataValue, normalizeCssColorToHex, normalizeMerge, normalizeRuns, normalizeSelectDragHit, overlayBoxToViewportRect, pageSettingsPrintKey, paintDesignBindingOverlayForDataCell, paintDesignFormulaOverlayForDataCell, paintEmbedsToCanvas, paintSheetCanvasFrame, paintSheetDataCellContent, paintVirtualSheetBand, parseA1, parseA1OrRangeToSelection, parseExcelBufferAllSheets, parseExcelBufferToIntermediate, parseExcelToIntermediate, parseGridRcAddress, parseSpreadsheetInlineCss, parseTsvGrid, pasteCellStyleAndRuns, pasteClipboardInstanceValuesOnly, pasteClipboardIntoSheet, pasteTsvAt, plainLengthToBoundary, preferredWindowDragMoveEvent, processSheetDragEnd, processSheetDragMove, processSheetPointerDown, rasterizeSheetExport, rasterizeSheetExportToCanvas, rasterizeSheetWithEmbeds, readClipboardForSheetPaste, renderSheetExport, resolveChartLayoutRect, resolveChartPrintRect, resolveColResizeDivider, resolveContextMenuCell, resolveFillDragAxis, resolveFormulaPickerRefText, resolveRowResizeDivider, resolveSheetPaintPalette, resolveSheetPointerCursor, rowDividerAtY, rowDividerAtYInHeaderCol, runsFromCellContentRoot, runsToEditableHtml, savePanelFollowMode, scriptMarkupToRuns, selectionBoundsMatchEntireMerge, selectionEditChromeFlags, selectionHeaderHighlightFlags, selectionMatchesMergeMaster, selectionToClipboardPayload, selectionToTsv, setCell, setPlainTextSelection, setupSheetCanvasElement, sheetChrome, sheetToExcelBuffer, sheetToPdfBlob, sheetToPdfBlobAsync, sheetTotalSize, shouldIgnorePointerOutsideMidBand, shouldKeepInlineEditFocus, shouldSkipScrollRevealForSelection, sliceExportCanvasToDataUrls, splitRunsIntoLines, splitTsvLine, strokeHeaderCellGrid, strokeUnmergedCellGrid, virtualBandWorldHeight, visibleColRange, visibleRowRange, visibleRowRangeInBand, workbookToExcelBuffer, workbookToPdfBlob, workbookToPdfBlobAsync, wrapRunsLinesToMaxWidth, writeSheetClipboardPayload, writeSheetToWorksheet, xlsxToWorkbookLayout };
package/dist/index.d.ts CHANGED
@@ -164,6 +164,9 @@ declare function runsToEditableHtml(runs: TextRun[]): string;
164
164
  declare function runsFromCellContentRoot(root: Element): TextRun[];
165
165
  declare function editableHtmlToRuns(html: string): TextRun[];
166
166
  declare function hasMeaningfulRuns(runs: TextRun[] | undefined): boolean;
167
+ declare function cellValueHasScriptMarkup(value: string | undefined): boolean;
168
+ /** 把正文里的 sup/sub 标记拆成绘制用分段。没有标记时返回 null。 */
169
+ declare function scriptMarkupToRuns(raw: string): TextRun[] | null;
167
170
  /** 从 CellData 得到绘制用 runs(含旧版整格上下标;分段与整格默认样式合并) */
168
171
  declare function getDisplayRuns(data: CellData | undefined): TextRun[];
169
172
  /**
@@ -1648,4 +1651,4 @@ declare function parseGridRcAddress(s: string): {
1648
1651
  */
1649
1652
  declare const SHEET_CANVAS_PACKAGE: "@k-table/sheet-canvas";
1650
1653
 
1651
- export { type ApplyFillOptions, type ApplyMergeSelectionOptions, AssetEmbedHost, type AssetEmbedHostDeps, type AssetEmbedHostProps, type BindingOverlayDeps, type BuildPrintDocumentAsyncOptions, type BuildPrintDocumentOptions, type BuildPrintWorkbookDocumentAsyncOptions, type BuildPrintWorkbookDocumentOptions, type BuildPrintWorkbookItem, type BuildPrintWorkbookItemWithSheetId, CALENDAR_PANEL_APPROX_H, type ChartEchartsInstance, type ChartEchartsPort, ChartEmbedHost, type ChartEmbedHostProps as ChartEmbedHostCoreProps, DEFAULT_SHEET_CANVAS_PAINT_PORT, DEFAULT_SHEET_PAINT_PALETTE, EMBED_CELL_INSET_CSS_PX, EMBED_CELL_INSET_PT, type EmbedCellOffset, type EmbedOverlayBox, type EmbedOverlayLayoutPort, type ExportBoundsRowsCols, FILL_HANDLE_PX, FLOATING_PANEL_DEFAULT_W, FLOATING_PANEL_GAP, FLOATING_PANEL_TEXT_H, type FillPattern, InstanceAssetLayer, type InstanceAssetLayerProps, InstanceEmbedLayer, type InstanceEmbedLayerMode, type InstanceEmbedLayerProps, type InstanceFillGuard, type InstancePasteGuard, type InstanceSelectionChromeState, MAX_BORDER_STROKE_WIDTH_PX, type MergeIndex, PANEL_FOLLOW_MODE_DEFAULT, PANEL_FOLLOW_MODE_OPTIONS, PRINT_EXPORT_PRESET, type PaintEmbedsDeps, type PaintEmbedsOptions, type PaintSheetCanvasFrameInput, type PaintVirtualBandBindingOverlay, type PaintVirtualBandOptions, type PanelFollowMode, type PasteCellStyleOptions, type PrintLayoutMode, QrEmbedSlot, type QrEmbedSlotProps, type QrToDataUrlFn, type RasterizeSheetExportOptions, type RasterizeSheetWithEmbedsOptions, type ResolvedEmbedRect, SHEET_ACTIVE_CELL_BG, SHEET_ACTIVE_OUTLINE, SHEET_CANVAS_PACKAGE, SHEET_CLIPBOARD_MIME, SHEET_DATA_BG, SHEET_GRID_LINE_DATA, SHEET_GRID_LINE_HEADER, SHEET_HEADER_BG, SHEET_HEADER_SEL_ACCENT_PX, SHEET_HEADER_SEL_BG, SHEET_INSTANCE_FILL_LOCKED_BG, SHEET_SEL_FILL, SHEET_SEL_STROKE, SHEET_SHADOW_STYLES, type ScrollRevealInput, type SelectionEditChromeFlags, type SelectionHeaderHighlight, type SheetCanvasPaintPort, type SheetCanvasViewport, type SheetClipboardFragmentV1, type SheetDragEndInput, type SheetDragEndOutcome, type SheetDragGuide, type SheetDragMoveInput, type SheetDragMoveOutcome, type SheetDragState, SheetEmbedOverlay, type SheetEmbedOverlayProps, type SheetExportOptions, type SheetExportSizeOptions, type SheetPaintPalette, type SheetPdfRasterOptions, type SheetPointerCursorInput, type SheetPointerDownInput, type SheetPointerDownResult, type SheetScrollPort, type SheetWindowDragListeners, StaticWorkbookSlicePreview, type ViewportPoint, type ViewportRect, type WorkbookPdfSheetSlice, type WorkbookPdfSheetSliceSync, type XlsxToWorkbookLayoutOptions, appendSheetToPdf, appendSheetToPdfAsync, applyFillToSheet, applyMergeSelection, applyRichGridToSheet, applyScriptToRunSubstring, applyTdAlignAttrs, applyTextRunStylePatchToSubstring, assetBoxOverlayBox, assetBoxPrintRect, attachSheetWindowDragListeners, borderStrokeWidth, boundaryAtPlainIndex, buildFillDragState, buildMergeIndex, buildPrintDocument, buildPrintDocumentAsync, buildPrintWorkbookDocument, buildPrintWorkbookDocumentAsync, cellDataFromEdit, cellEditorA1Label, cellStyleFromTableCell, chartSpanOverlayBox, chartSpanPrintRect, clampColumnHeaderDragEnd, clampFloatingPanelPos, clampRowHeaderDragEnd, clampSelection, clampSheetViewZoom, clientToSheetCoords, clipboardItemsToPastePayload, collectEmbedAnchorRect, columnDividerAtX, columnDividerAtXInHeaderRow, computeColumnHeaderPointerSelection, computeDataCellPointerSelection, computeDatePopupPos, computeFillPreviewSelectionInstance, computeFloatingPanelFollowPos, computeResizedColWidth, computeResizedRowHeight, computeRowHeaderPointerSelection, computeScrollToRevealSelection, computeSelectAllCornerSelection, createSheetScrollPort, createSheetWindowDragHandlers, ctxTextMeasurer, denseGridToLogicalPlainGrid, detachSheetWindowDragListeners, downloadExcelFile, downloadSheetAsExcel, downloadWorkbookAsExcel, drawCellBorders, editableHtmlToRuns, effectiveDefaultFontPtForPaint, embedDisplayLabel, ensureMinDimensions, expandMergeSelectionRect, extractClassStyleMapFromDocument, extractFillPattern, fillHandleBlockedByEdit, finalizeCellDataForSave, formatA1, formatSelectionA1, getCellRect, getDisplayRuns, getExcelSheetList, getGridClipBleedPx, getMaster, getMergeRect, getMergedPixelRect, getPlainOffsetsFromSelection, getPrintPageOverlayRects, getSelectionForEditableRoot, getSelectionPixelBounds, getSheetExportSize, getUsedDataBounds, getUsedExportPixelRect, hasMeaningfulRuns, hitTestFillHandle, hitTestToCell, htmlTableToRichGrid, htmlTableToRichGridWithSpans, htmlTableToTsv, insertCol, insertRow, insetOverlayBox, instanceSelectionChromeState, intermediateToSheetState, isCellUsedForPrintBounds, isColumnHeaderRow, isDataCell, isDataCellTextuallyEmpty, isFillHandlePointerDown, isHeaderCorner, isPanelFollowMode, isPointerInVirtualBottomBand, isPointerInVirtualTopBand, isRowHeaderCol, joinRuns, listEmbedAnchorBindings, loadPanelFollowMode, mergeCellStylesLoose, mergeRunStyle, mergeScriptIntoRuns, mergesOverlap, normalizeCellDataValue, normalizeCssColorToHex, normalizeMerge, normalizeRuns, normalizeSelectDragHit, overlayBoxToViewportRect, pageSettingsPrintKey, paintDesignBindingOverlayForDataCell, paintDesignFormulaOverlayForDataCell, paintEmbedsToCanvas, paintSheetCanvasFrame, paintSheetDataCellContent, paintVirtualSheetBand, parseA1, parseA1OrRangeToSelection, parseExcelBufferAllSheets, parseExcelBufferToIntermediate, parseExcelToIntermediate, parseGridRcAddress, parseSpreadsheetInlineCss, parseTsvGrid, pasteCellStyleAndRuns, pasteClipboardInstanceValuesOnly, pasteClipboardIntoSheet, pasteTsvAt, plainLengthToBoundary, preferredWindowDragMoveEvent, processSheetDragEnd, processSheetDragMove, processSheetPointerDown, rasterizeSheetExport, rasterizeSheetExportToCanvas, rasterizeSheetWithEmbeds, readClipboardForSheetPaste, renderSheetExport, resolveChartLayoutRect, resolveChartPrintRect, resolveColResizeDivider, resolveContextMenuCell, resolveFillDragAxis, resolveFormulaPickerRefText, resolveRowResizeDivider, resolveSheetPaintPalette, resolveSheetPointerCursor, rowDividerAtY, rowDividerAtYInHeaderCol, runsFromCellContentRoot, runsToEditableHtml, savePanelFollowMode, selectionBoundsMatchEntireMerge, selectionEditChromeFlags, selectionHeaderHighlightFlags, selectionMatchesMergeMaster, selectionToClipboardPayload, selectionToTsv, setCell, setPlainTextSelection, setupSheetCanvasElement, sheetChrome, sheetToExcelBuffer, sheetToPdfBlob, sheetToPdfBlobAsync, sheetTotalSize, shouldIgnorePointerOutsideMidBand, shouldKeepInlineEditFocus, shouldSkipScrollRevealForSelection, sliceExportCanvasToDataUrls, splitRunsIntoLines, splitTsvLine, strokeHeaderCellGrid, strokeUnmergedCellGrid, virtualBandWorldHeight, visibleColRange, visibleRowRange, visibleRowRangeInBand, workbookToExcelBuffer, workbookToPdfBlob, workbookToPdfBlobAsync, wrapRunsLinesToMaxWidth, writeSheetClipboardPayload, writeSheetToWorksheet, xlsxToWorkbookLayout };
1654
+ export { type ApplyFillOptions, type ApplyMergeSelectionOptions, AssetEmbedHost, type AssetEmbedHostDeps, type AssetEmbedHostProps, type BindingOverlayDeps, type BuildPrintDocumentAsyncOptions, type BuildPrintDocumentOptions, type BuildPrintWorkbookDocumentAsyncOptions, type BuildPrintWorkbookDocumentOptions, type BuildPrintWorkbookItem, type BuildPrintWorkbookItemWithSheetId, CALENDAR_PANEL_APPROX_H, type ChartEchartsInstance, type ChartEchartsPort, ChartEmbedHost, type ChartEmbedHostProps as ChartEmbedHostCoreProps, DEFAULT_SHEET_CANVAS_PAINT_PORT, DEFAULT_SHEET_PAINT_PALETTE, EMBED_CELL_INSET_CSS_PX, EMBED_CELL_INSET_PT, type EmbedCellOffset, type EmbedOverlayBox, type EmbedOverlayLayoutPort, type ExportBoundsRowsCols, FILL_HANDLE_PX, FLOATING_PANEL_DEFAULT_W, FLOATING_PANEL_GAP, FLOATING_PANEL_TEXT_H, type FillPattern, InstanceAssetLayer, type InstanceAssetLayerProps, InstanceEmbedLayer, type InstanceEmbedLayerMode, type InstanceEmbedLayerProps, type InstanceFillGuard, type InstancePasteGuard, type InstanceSelectionChromeState, MAX_BORDER_STROKE_WIDTH_PX, type MergeIndex, PANEL_FOLLOW_MODE_DEFAULT, PANEL_FOLLOW_MODE_OPTIONS, PRINT_EXPORT_PRESET, type PaintEmbedsDeps, type PaintEmbedsOptions, type PaintSheetCanvasFrameInput, type PaintVirtualBandBindingOverlay, type PaintVirtualBandOptions, type PanelFollowMode, type PasteCellStyleOptions, type PrintLayoutMode, QrEmbedSlot, type QrEmbedSlotProps, type QrToDataUrlFn, type RasterizeSheetExportOptions, type RasterizeSheetWithEmbedsOptions, type ResolvedEmbedRect, SHEET_ACTIVE_CELL_BG, SHEET_ACTIVE_OUTLINE, SHEET_CANVAS_PACKAGE, SHEET_CLIPBOARD_MIME, SHEET_DATA_BG, SHEET_GRID_LINE_DATA, SHEET_GRID_LINE_HEADER, SHEET_HEADER_BG, SHEET_HEADER_SEL_ACCENT_PX, SHEET_HEADER_SEL_BG, SHEET_INSTANCE_FILL_LOCKED_BG, SHEET_SEL_FILL, SHEET_SEL_STROKE, SHEET_SHADOW_STYLES, type ScrollRevealInput, type SelectionEditChromeFlags, type SelectionHeaderHighlight, type SheetCanvasPaintPort, type SheetCanvasViewport, type SheetClipboardFragmentV1, type SheetDragEndInput, type SheetDragEndOutcome, type SheetDragGuide, type SheetDragMoveInput, type SheetDragMoveOutcome, type SheetDragState, SheetEmbedOverlay, type SheetEmbedOverlayProps, type SheetExportOptions, type SheetExportSizeOptions, type SheetPaintPalette, type SheetPdfRasterOptions, type SheetPointerCursorInput, type SheetPointerDownInput, type SheetPointerDownResult, type SheetScrollPort, type SheetWindowDragListeners, StaticWorkbookSlicePreview, type ViewportPoint, type ViewportRect, type WorkbookPdfSheetSlice, type WorkbookPdfSheetSliceSync, type XlsxToWorkbookLayoutOptions, appendSheetToPdf, appendSheetToPdfAsync, applyFillToSheet, applyMergeSelection, applyRichGridToSheet, applyScriptToRunSubstring, applyTdAlignAttrs, applyTextRunStylePatchToSubstring, assetBoxOverlayBox, assetBoxPrintRect, attachSheetWindowDragListeners, borderStrokeWidth, boundaryAtPlainIndex, buildFillDragState, buildMergeIndex, buildPrintDocument, buildPrintDocumentAsync, buildPrintWorkbookDocument, buildPrintWorkbookDocumentAsync, cellDataFromEdit, cellEditorA1Label, cellStyleFromTableCell, cellValueHasScriptMarkup, chartSpanOverlayBox, chartSpanPrintRect, clampColumnHeaderDragEnd, clampFloatingPanelPos, clampRowHeaderDragEnd, clampSelection, clampSheetViewZoom, clientToSheetCoords, clipboardItemsToPastePayload, collectEmbedAnchorRect, columnDividerAtX, columnDividerAtXInHeaderRow, computeColumnHeaderPointerSelection, computeDataCellPointerSelection, computeDatePopupPos, computeFillPreviewSelectionInstance, computeFloatingPanelFollowPos, computeResizedColWidth, computeResizedRowHeight, computeRowHeaderPointerSelection, computeScrollToRevealSelection, computeSelectAllCornerSelection, createSheetScrollPort, createSheetWindowDragHandlers, ctxTextMeasurer, denseGridToLogicalPlainGrid, detachSheetWindowDragListeners, downloadExcelFile, downloadSheetAsExcel, downloadWorkbookAsExcel, drawCellBorders, editableHtmlToRuns, effectiveDefaultFontPtForPaint, embedDisplayLabel, ensureMinDimensions, expandMergeSelectionRect, extractClassStyleMapFromDocument, extractFillPattern, fillHandleBlockedByEdit, finalizeCellDataForSave, formatA1, formatSelectionA1, getCellRect, getDisplayRuns, getExcelSheetList, getGridClipBleedPx, getMaster, getMergeRect, getMergedPixelRect, getPlainOffsetsFromSelection, getPrintPageOverlayRects, getSelectionForEditableRoot, getSelectionPixelBounds, getSheetExportSize, getUsedDataBounds, getUsedExportPixelRect, hasMeaningfulRuns, hitTestFillHandle, hitTestToCell, htmlTableToRichGrid, htmlTableToRichGridWithSpans, htmlTableToTsv, insertCol, insertRow, insetOverlayBox, instanceSelectionChromeState, intermediateToSheetState, isCellUsedForPrintBounds, isColumnHeaderRow, isDataCell, isDataCellTextuallyEmpty, isFillHandlePointerDown, isHeaderCorner, isPanelFollowMode, isPointerInVirtualBottomBand, isPointerInVirtualTopBand, isRowHeaderCol, joinRuns, listEmbedAnchorBindings, loadPanelFollowMode, mergeCellStylesLoose, mergeRunStyle, mergeScriptIntoRuns, mergesOverlap, normalizeCellDataValue, normalizeCssColorToHex, normalizeMerge, normalizeRuns, normalizeSelectDragHit, overlayBoxToViewportRect, pageSettingsPrintKey, paintDesignBindingOverlayForDataCell, paintDesignFormulaOverlayForDataCell, paintEmbedsToCanvas, paintSheetCanvasFrame, paintSheetDataCellContent, paintVirtualSheetBand, parseA1, parseA1OrRangeToSelection, parseExcelBufferAllSheets, parseExcelBufferToIntermediate, parseExcelToIntermediate, parseGridRcAddress, parseSpreadsheetInlineCss, parseTsvGrid, pasteCellStyleAndRuns, pasteClipboardInstanceValuesOnly, pasteClipboardIntoSheet, pasteTsvAt, plainLengthToBoundary, preferredWindowDragMoveEvent, processSheetDragEnd, processSheetDragMove, processSheetPointerDown, rasterizeSheetExport, rasterizeSheetExportToCanvas, rasterizeSheetWithEmbeds, readClipboardForSheetPaste, renderSheetExport, resolveChartLayoutRect, resolveChartPrintRect, resolveColResizeDivider, resolveContextMenuCell, resolveFillDragAxis, resolveFormulaPickerRefText, resolveRowResizeDivider, resolveSheetPaintPalette, resolveSheetPointerCursor, rowDividerAtY, rowDividerAtYInHeaderCol, runsFromCellContentRoot, runsToEditableHtml, savePanelFollowMode, scriptMarkupToRuns, selectionBoundsMatchEntireMerge, selectionEditChromeFlags, selectionHeaderHighlightFlags, selectionMatchesMergeMaster, selectionToClipboardPayload, selectionToTsv, setCell, setPlainTextSelection, setupSheetCanvasElement, sheetChrome, sheetToExcelBuffer, sheetToPdfBlob, sheetToPdfBlobAsync, sheetTotalSize, shouldIgnorePointerOutsideMidBand, shouldKeepInlineEditFocus, shouldSkipScrollRevealForSelection, sliceExportCanvasToDataUrls, splitRunsIntoLines, splitTsvLine, strokeHeaderCellGrid, strokeUnmergedCellGrid, virtualBandWorldHeight, visibleColRange, visibleRowRange, visibleRowRangeInBand, workbookToExcelBuffer, workbookToPdfBlob, workbookToPdfBlobAsync, wrapRunsLinesToMaxWidth, writeSheetClipboardPayload, writeSheetToWorksheet, xlsxToWorkbookLayout };