UNPKG

@univerjs/sheets-ui

Version:

UniverSheet normal ui-plugin-sheets

33 lines (32 loc) 1.72 kB
import { ICommandService, IConfigService, IContextService, Injector, IUniverInstanceService, LocaleService, RxDisposable } from '@univerjs/core'; import { IRenderManagerService } from '@univerjs/engine-render'; import { IMessageService, IUIPartsService } from '@univerjs/ui'; import { ISheetClipboardService } from '../../services/clipboard/clipboard.service'; export declare class SheetClipboardController extends RxDisposable { private readonly _injector; private readonly _instanceService; private readonly _renderManagerService; private readonly _commandService; private readonly _contextService; private readonly _configService; private readonly _sheetClipboardService; private readonly _messageService; private readonly _localService; protected readonly _uiPartsService: IUIPartsService; private _refreshOptionalPaste$; refreshOptionalPaste$: import('rxjs').Observable<unknown>; constructor(_injector: Injector, _instanceService: IUniverInstanceService, _renderManagerService: IRenderManagerService, _commandService: ICommandService, _contextService: IContextService, _configService: IConfigService, _sheetClipboardService: ISheetClipboardService, _messageService: IMessageService, _localService: LocaleService, _uiPartsService: IUIPartsService); refreshOptionalPaste(): void; private _pasteWithDoc; private _resolveClipboardFiles; private _init; private _initCopyingHooks; private _initPastingHook; private _generateDocumentDataModelSnapshot; private _onPastePlainText; private _onPasteCells; private _initSpecialPasteHooks; private _getWorksheet; private _initCommandListener; private _initUIComponents; }