1 | /**
|
2 | * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3 | * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4 | */
|
5 | /**
|
6 | * @module paste-from-office/normalizers/googlesheetsnormalizer
|
7 | */
|
8 | import { type ViewDocument } from 'ckeditor5/src/engine.js';
|
9 | import type { Normalizer, NormalizerData } from '../normalizer.js';
|
10 | /**
|
11 | * Normalizer for the content pasted from Google Sheets.
|
12 | */
|
13 | export default class GoogleSheetsNormalizer implements Normalizer {
|
14 | readonly document: ViewDocument;
|
15 | /**
|
16 | * Creates a new `GoogleSheetsNormalizer` instance.
|
17 | *
|
18 | * @param document View document.
|
19 | */
|
20 | constructor(document: ViewDocument);
|
21 | /**
|
22 | * @inheritDoc
|
23 | */
|
24 | isActive(htmlString: string): boolean;
|
25 | /**
|
26 | * @inheritDoc
|
27 | */
|
28 | execute(data: NormalizerData): void;
|
29 | }
|