UNPKG

@mertdeveci55/univer-import-export

Version:

Excel/CSV import and export library for Univer spreadsheets with full format preservation

33 lines (32 loc) 1.25 kB
/** * Complete Resource Handlers for Excel Export * * This file implements all resource plugin exports to ensure * complete feature parity with the import process. */ import { Worksheet } from '@zwight/exceljs'; /** * Export filter data to Excel worksheet * Handles SHEET_FILTER_PLUGIN resource */ export declare function exportFilter(worksheet: Worksheet, sheetId: string, resources: any[]): void; /** * Export conditional formatting to Excel worksheet * Handles SHEET_CONDITIONAL_FORMATTING_PLUGIN resource */ export declare function exportConditionalFormatting(worksheet: Worksheet, sheetId: string, resources: any[]): void; /** * Export data validation to Excel worksheet * Handles SHEET_DATA_VALIDATION_PLUGIN resource */ export declare function exportDataValidation(worksheet: Worksheet, sheetId: string, resources: any[]): void; /** * Export comments to Excel worksheet * Handles SHEET_COMMENT_PLUGIN resource */ export declare function exportComments(worksheet: Worksheet, sheetId: string, resources: any[]): void; /** * Export all resources for a worksheet * This is the main entry point for resource export */ export declare function exportAllResources(worksheet: Worksheet, sheetId: string, resources: any[]): void;