@yudaocode/univer-docs 1.6.215 → 1.6.217
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/WORD_TEMPLATE_PROTOCOL.md +25 -8
- package/fixtures/word-template-protocol-v1.json +27287 -0
- package/lib/cjs/facade/index.js +29 -8
- package/lib/cjs/facade/index.js.map +1 -1
- package/lib/cjs/index.js +935 -90
- package/lib/cjs/index.js.map +1 -1
- package/lib/es/facade/index.js +31 -8
- package/lib/es/facade/index.js.map +1 -1
- package/lib/es/index.js +1344 -504
- package/lib/es/index.js.map +1 -1
- package/lib/types/facade/index.d.ts +8 -1
- package/lib/types/index.d.ts +108 -33
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DocumentDataModel, Injector, ICommandService, IDocumentData, IDisposable, ICreateUnitOptions } from '@univerjs/core';
|
|
2
|
-
import { DocWorkMode, IDocTemplateMetadata, IDocTableSummary, IDocTableRowLoopConfig, IDocSdtControlSpec, IDocResolvedSdtControl, IDocFormValidationResult, IDocTrackRevision, IDocAiRiskFinding, IDocIoCapabilities, DocIoTarget, IDocImportOutcomeReport, IDocPdfExportOptions, IDocCatalogItem, IDocVersionSnapshot, IDocHtmlPrintOptions, IDocMedicalFormulaSpec, IDocCodeBlockSpec, IDocBarcodeBlockSpec, IDocDocumentStats, IDocSnapshotDiffResult, IDocBatchDocxFileItem, IDocInsertCalloutSpec, IDocCalloutBlock, IDocInsertQuoteSpec, IDocQuoteBlock, IDocInsertLatexFormulaSpec, IDocLatexFormulaSpec, IDocInsertInlineFormulaSpec, IDocInlineFormula, IDocEmbeddedChart, IDocEmbeddedShape, IDocRepeatingSectionSpec, IDocInsertBookmarkSpec, IDocBookmark, IDocTableOfContentsSpec, IDocTableOfContentsEntry, IDocParagraphBorderShadingSpec, DocHorizontalDividerStyle, IDocTabStop, IDocCollapsedHeadingEntry, IDocFindReplaceOptions, IDocReadabilityStatistics, DocCustomGlossaryInput, IDocTermDiagnostic, DocSectionBreakKind, DocPageOrientation, IDocColumnGroupOptions, IDocColumnGroupConfig, IDocParagraphPaginationSpec, IDocPrintConfig, IDocImageTransformSpec, IDocSmartArtSpec, DocFieldType, IDocFieldContext, IDocFieldEntry, DocCaptionCategory, IDocCaptionEntry, IDocCitationSource, IDocBuildingBlockSpec, IDocBuildingBlockEntry, DocMailMergeBatchFormat, IDocMailMergeBatchResultItem, IDocInsertAreaSpec, IDocAreaRegion, IDocAreaValueResult, IDocCornerBadge, IDocInsertLabelBadgeSpec, IDocLabelBadge, IDocCascadeRule, IDocCascadeEvaluationResult, DocSeparatorDashStyle, IDocStyledSeparatorEntry, IDocInsertEmbedBlockSpec, IDocEmbedBlock, DocMacroResolver, IDocAddGraffitiStrokeSpec, IDocGraffitiStroke, IDocNoteEntry, DocNoteType, IDocNoteSettings, IDocListInsertSpec, DocListGlyphType, IDocListParagraphInfo, DocTextDirection, IDocCopyPastePolicy, DocTableBorderPreset, IDocTableCellProperties, DocTableAutoFitMode, IDocCleanUpFormattingOptions, IDocCleanUpFormattingResult, IDocRecordedActionMacro, IDocVisualComparisonOptions, IDocVisualComparisonResult, IDocInsertHyperlinkSpec, IDocUpdateHyperlinkSpec, IDocHyperlinkEntry, IDocAddCommentSpec, IDocReplyCommentSpec, IDocCommentThread, IDocContextMenuItem, IDocShortcutItem, IDocContextMenuContext, IDocInsertTitleSpec, IDocTitleProperties, IDocTitleEntry, IDocBeforeSaveEvent, IDocSavedEvent, IDocControlChangeEvent, IDocControlValueChangeEvent, IDocModeChangeEvent, IDocContentChangeEvent, IDocIoAdapter, IDocAiCopilotAdapter, DocExportFormat } from '@yudaocode/univer-docs';
|
|
2
|
+
import { DocWorkMode, IDocTemplateMetadata, IDocTemplateSummary, IDocTableSummary, IDocTableRowLoopConfig, IDocSdtControlSpec, IDocResolvedSdtControl, IDocFormValidationResult, IDocTrackRevision, IDocAiRiskFinding, IDocIoCapabilities, DocIoTarget, IDocImportOutcomeReport, IDocPdfExportOptions, IDocCatalogItem, IDocVersionSnapshot, IDocHtmlPrintOptions, IDocMedicalFormulaSpec, IDocCodeBlockSpec, IDocBarcodeBlockSpec, IDocDocumentStats, IDocSnapshotDiffResult, IDocBatchDocxFileItem, IDocInsertCalloutSpec, IDocCalloutBlock, IDocInsertQuoteSpec, IDocQuoteBlock, IDocInsertLatexFormulaSpec, IDocLatexFormulaSpec, IDocInsertInlineFormulaSpec, IDocInlineFormula, IDocEmbeddedChart, IDocEmbeddedShape, IDocRepeatingSectionSpec, IDocInsertBookmarkSpec, IDocBookmark, IDocTableOfContentsSpec, IDocTableOfContentsEntry, IDocParagraphBorderShadingSpec, DocHorizontalDividerStyle, IDocTabStop, IDocCollapsedHeadingEntry, IDocFindReplaceOptions, IDocReadabilityStatistics, DocCustomGlossaryInput, IDocTermDiagnostic, DocSectionBreakKind, DocPageOrientation, IDocColumnGroupOptions, IDocColumnGroupConfig, IDocParagraphPaginationSpec, IDocPrintConfig, IDocImageTransformSpec, IDocSmartArtSpec, DocFieldType, IDocFieldContext, IDocFieldEntry, DocCaptionCategory, IDocCaptionEntry, IDocCitationSource, IDocBuildingBlockSpec, IDocBuildingBlockEntry, DocMailMergeBatchFormat, IDocMailMergeBatchResultItem, IDocInsertAreaSpec, IDocAreaRegion, IDocAreaValueResult, IDocCornerBadge, IDocInsertLabelBadgeSpec, IDocLabelBadge, IDocCascadeRule, IDocCascadeEvaluationResult, DocSeparatorDashStyle, IDocStyledSeparatorEntry, IDocInsertEmbedBlockSpec, IDocEmbedBlock, DocMacroResolver, IDocAddGraffitiStrokeSpec, IDocGraffitiStroke, IDocNoteEntry, DocNoteType, IDocNoteSettings, IDocListInsertSpec, DocListGlyphType, IDocListParagraphInfo, DocTextDirection, IDocCopyPastePolicy, DocTableBorderPreset, IDocTableCellProperties, DocTableAutoFitMode, IDocCleanUpFormattingOptions, IDocCleanUpFormattingResult, IDocRecordedActionMacro, IDocVisualComparisonOptions, IDocVisualComparisonResult, IDocInsertHyperlinkSpec, IDocUpdateHyperlinkSpec, IDocHyperlinkEntry, IDocAddCommentSpec, IDocReplyCommentSpec, IDocCommentThread, IDocContextMenuItem, IDocShortcutItem, IDocContextMenuContext, IDocInsertTitleSpec, IDocTitleProperties, IDocTitleEntry, IDocBeforeSaveEvent, IDocSavedEvent, IDocControlChangeEvent, IDocControlValueChangeEvent, IDocModeChangeEvent, IDocContentChangeEvent, IDocIoAdapter, IDocAiCopilotAdapter, DocExportFormat } from '@yudaocode/univer-docs';
|
|
3
3
|
import { FUniver } from '@univerjs/core/facade';
|
|
4
4
|
|
|
5
5
|
declare class FEnterpriseDoc {
|
|
@@ -14,6 +14,7 @@ declare class FEnterpriseDoc {
|
|
|
14
14
|
setMode(mode: DocWorkMode): boolean;
|
|
15
15
|
setTemplateMetadata(metadata: IDocTemplateMetadata): void;
|
|
16
16
|
getTemplateMetadata(): IDocTemplateMetadata;
|
|
17
|
+
summarizeTemplate(): IDocTemplateSummary;
|
|
17
18
|
getTables(): IDocTableSummary[];
|
|
18
19
|
setTableRowLoop(tableId: string, rowIndex: number, config: Omit<IDocTableRowLoopConfig, 'tableId' | 'rowIndex'> | null): boolean;
|
|
19
20
|
insertSdtControl(spec: Partial<IDocSdtControlSpec> & {
|
|
@@ -42,17 +43,21 @@ declare class FEnterpriseDoc {
|
|
|
42
43
|
getIoCapabilities(): IDocIoCapabilities;
|
|
43
44
|
importDocFileWithReport(file: File, options?: {
|
|
44
45
|
target?: DocIoTarget;
|
|
46
|
+
signal?: AbortSignal;
|
|
45
47
|
}): Promise<IDocImportOutcomeReport>;
|
|
46
48
|
importDocFile(file: File, options?: {
|
|
47
49
|
target?: DocIoTarget;
|
|
50
|
+
signal?: AbortSignal;
|
|
48
51
|
}): Promise<Partial<IDocumentData>>;
|
|
49
52
|
exportDocx(data?: Record<string, unknown>, options?: {
|
|
50
53
|
target?: DocIoTarget;
|
|
51
54
|
signatureImageDataUrl?: string;
|
|
55
|
+
signal?: AbortSignal;
|
|
52
56
|
}): Promise<Uint8Array>;
|
|
53
57
|
exportPdf(pdfOptions?: IDocPdfExportOptions, options?: {
|
|
54
58
|
target?: DocIoTarget;
|
|
55
59
|
data?: Record<string, unknown>;
|
|
60
|
+
signal?: AbortSignal;
|
|
56
61
|
}): Promise<Uint8Array>;
|
|
57
62
|
getCatalog(): IDocCatalogItem[];
|
|
58
63
|
getDocumentOutline(): IDocCatalogItem[];
|
|
@@ -304,11 +309,13 @@ interface IDocAsyncImportOptions {
|
|
|
304
309
|
fileName?: string;
|
|
305
310
|
title?: string;
|
|
306
311
|
target?: DocIoTarget;
|
|
312
|
+
signal?: AbortSignal;
|
|
307
313
|
}
|
|
308
314
|
interface IDocAsyncExportOptions {
|
|
309
315
|
data?: Record<string, unknown>;
|
|
310
316
|
pdfOptions?: IDocPdfExportOptions;
|
|
311
317
|
target?: DocIoTarget;
|
|
318
|
+
signal?: AbortSignal;
|
|
312
319
|
}
|
|
313
320
|
interface IFUniverDocsExtMixin {
|
|
314
321
|
createEnterpriseDoc(data?: Partial<IDocumentData>, metadata?: IDocTemplateMetadata, options?: ICreateUnitOptions): FEnterpriseDoc;
|
package/lib/types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _univerjs_core from '@univerjs/core';
|
|
2
|
-
import { ISdtListItem, ICommand, IMutation, IAccessor, DocumentDataModel, IDocumentData, IDocumentBody, Injector, ITextStyle, Disposable, IDisposable,
|
|
2
|
+
import { ISdtListItem, ICommand, IMutation, IAccessor, DocumentDataModel, IDocumentData, IDocumentBody, Injector, ITextStyle, Disposable, IDisposable, IUniverInstanceService, Plugin, ICommandService, IParagraph, ITableCell, ITableRow, BooleanNumber, ITable, ISdtRangeProperties, ICustomRange } from '@univerjs/core';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
|
|
5
5
|
declare const YUDAO_DOCS_TEMPLATE_RESOURCE = "YUDAO_DOCS_TEMPLATE_RESOURCE";
|
|
@@ -219,6 +219,7 @@ interface IDocTableRowLoopConfig {
|
|
|
219
219
|
/** Text displayed in cell 0 when `emptyStrategy === 'placeholder'` */
|
|
220
220
|
emptyPlaceholderText?: string;
|
|
221
221
|
}
|
|
222
|
+
type IDocTableRowLoop = IDocTableRowLoopConfig;
|
|
222
223
|
interface IDocTableRowSummary {
|
|
223
224
|
rowIndex: number;
|
|
224
225
|
cellTexts: string[];
|
|
@@ -1321,6 +1322,49 @@ interface IDocContentChangeEvent {
|
|
|
1321
1322
|
unitId: string;
|
|
1322
1323
|
snapshot: _univerjs_core.IDocumentData;
|
|
1323
1324
|
}
|
|
1325
|
+
type DocInlinePlaceholderSyntax = 'both' | 'dollar' | 'hash';
|
|
1326
|
+
interface IDocParsedBindingKey {
|
|
1327
|
+
rawKey: string;
|
|
1328
|
+
datasetCode?: string;
|
|
1329
|
+
fieldPath: string;
|
|
1330
|
+
}
|
|
1331
|
+
interface IDocInlinePlaceholderMatch {
|
|
1332
|
+
token: string;
|
|
1333
|
+
rawKey: string;
|
|
1334
|
+
syntax: 'dollar' | 'hash';
|
|
1335
|
+
index: number;
|
|
1336
|
+
datasetCode?: string;
|
|
1337
|
+
fieldPath: string;
|
|
1338
|
+
}
|
|
1339
|
+
interface IDocTemplateBindingEntry {
|
|
1340
|
+
source: 'sdt' | 'placeholder';
|
|
1341
|
+
scope: 'body' | 'header' | 'footer';
|
|
1342
|
+
segmentId?: string;
|
|
1343
|
+
rawKey: string;
|
|
1344
|
+
datasetCode?: string;
|
|
1345
|
+
fieldPath: string;
|
|
1346
|
+
controlId?: string;
|
|
1347
|
+
controlType?: string;
|
|
1348
|
+
}
|
|
1349
|
+
interface IDocTemplateSummary {
|
|
1350
|
+
datasetCodes: string[];
|
|
1351
|
+
bindings: IDocTemplateBindingEntry[];
|
|
1352
|
+
tableRowLoops: IDocTableRowLoop[];
|
|
1353
|
+
metadataKeys: string[];
|
|
1354
|
+
sdtCount: number;
|
|
1355
|
+
placeholderCount: number;
|
|
1356
|
+
hasDynamicPageFields: boolean;
|
|
1357
|
+
}
|
|
1358
|
+
type DocTemplateProtocolErrorCode = 'UNSUPPORTED_ROW_LOOP_STRUCTURE';
|
|
1359
|
+
declare class DocTemplateProtocolError extends Error {
|
|
1360
|
+
readonly code: DocTemplateProtocolErrorCode;
|
|
1361
|
+
readonly tableId?: string;
|
|
1362
|
+
readonly rowIndex?: number;
|
|
1363
|
+
constructor(code: DocTemplateProtocolErrorCode, message: string, details?: {
|
|
1364
|
+
tableId?: string;
|
|
1365
|
+
rowIndex?: number;
|
|
1366
|
+
});
|
|
1367
|
+
}
|
|
1324
1368
|
|
|
1325
1369
|
interface ISyncDocAuxStateMutationParams {
|
|
1326
1370
|
unitId: string;
|
|
@@ -2209,6 +2253,17 @@ declare function exportDocToPdfBytes(rawSnapshot: IDocumentData, options?: IDocP
|
|
|
2209
2253
|
* with independent per-record page numbering (`Page 1 / N_r`) and per-record sliced straddle seal (`[i/N_r, (i+1)/N_r]`)!
|
|
2210
2254
|
*/
|
|
2211
2255
|
declare function exportBatchDocPdfBytes(templateSnapshot: IDocumentData, records: Array<Record<string, unknown>>, options?: Omit<IDocPdfExportOptions, 'data'>): Uint8Array;
|
|
2256
|
+
interface IPdfExtractedPageText {
|
|
2257
|
+
pageIndex: number;
|
|
2258
|
+
pageNumber: number;
|
|
2259
|
+
spans: string[];
|
|
2260
|
+
text: string;
|
|
2261
|
+
}
|
|
2262
|
+
/**
|
|
2263
|
+
* Extracts native PDF 1.4 text spans per page (`(ascii) Tj` and `<FEFF...> Tj` operators)
|
|
2264
|
+
* from compiled PDF bytes in page order (`1..N`).
|
|
2265
|
+
*/
|
|
2266
|
+
declare function extractNativeTextSpansFromPdfBytes(pdfBytes: Uint8Array): IPdfExtractedPageText[];
|
|
2212
2267
|
|
|
2213
2268
|
type DocxImportErrorCode = 'INVALID_ZIP' | 'MISSING_DOCUMENT_XML' | 'DECOMPRESSION_UNSUPPORTED' | 'CORRUPT_ARCHIVE';
|
|
2214
2269
|
declare class DocxImportError extends Error {
|
|
@@ -2338,16 +2393,41 @@ interface IDocImportOutcomeReport {
|
|
|
2338
2393
|
executedBy: 'browser' | 'server';
|
|
2339
2394
|
fileName: string;
|
|
2340
2395
|
}
|
|
2396
|
+
interface IDocImportOptions {
|
|
2397
|
+
unitId?: string;
|
|
2398
|
+
target?: DocIoTarget;
|
|
2399
|
+
signal?: AbortSignal;
|
|
2400
|
+
}
|
|
2341
2401
|
interface IDocImportContext {
|
|
2342
2402
|
unitId?: string;
|
|
2403
|
+
signal?: AbortSignal;
|
|
2343
2404
|
defaultImport: (file: File) => Promise<Partial<IDocumentData>>;
|
|
2344
2405
|
}
|
|
2406
|
+
interface IDocExportOptions {
|
|
2407
|
+
unitId: string;
|
|
2408
|
+
snapshot: IDocumentData;
|
|
2409
|
+
format?: DocExportFormat;
|
|
2410
|
+
data?: Record<string, unknown>;
|
|
2411
|
+
pdfOptions?: IDocPdfExportOptions;
|
|
2412
|
+
target?: DocIoTarget;
|
|
2413
|
+
signal?: AbortSignal;
|
|
2414
|
+
}
|
|
2415
|
+
interface IDocExportFromUnitOptions {
|
|
2416
|
+
unitId?: string;
|
|
2417
|
+
snapshot?: IDocumentData;
|
|
2418
|
+
format?: DocExportFormat;
|
|
2419
|
+
data?: Record<string, unknown>;
|
|
2420
|
+
pdfOptions?: IDocPdfExportOptions;
|
|
2421
|
+
target?: DocIoTarget;
|
|
2422
|
+
signal?: AbortSignal;
|
|
2423
|
+
}
|
|
2345
2424
|
interface IDocExportContext {
|
|
2346
2425
|
unitId: string;
|
|
2347
2426
|
snapshot: IDocumentData;
|
|
2348
2427
|
format: DocExportFormat;
|
|
2349
2428
|
data?: Record<string, unknown>;
|
|
2350
2429
|
pdfOptions?: IDocPdfExportOptions;
|
|
2430
|
+
signal?: AbortSignal;
|
|
2351
2431
|
defaultExport: () => Promise<Uint8Array>;
|
|
2352
2432
|
}
|
|
2353
2433
|
interface IDocSaveContext {
|
|
@@ -2390,25 +2470,16 @@ interface IDocIoService {
|
|
|
2390
2470
|
getIoCapabilities(): IDocIoCapabilities;
|
|
2391
2471
|
onBeforeSave(cb: (ev: IDocBeforeSaveEvent) => void | boolean | Promise<void | boolean>, unitId?: string): IDisposable;
|
|
2392
2472
|
onSaved(cb: (ev: IDocSavedEvent) => void, unitId?: string): IDisposable;
|
|
2393
|
-
importDoc(file: File, unitId?: string, options?:
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
unitId?: string;
|
|
2398
|
-
target?: DocIoTarget;
|
|
2399
|
-
}): Promise<IDocImportOutcomeReport>;
|
|
2400
|
-
exportDoc(params: {
|
|
2401
|
-
unitId: string;
|
|
2402
|
-
snapshot: IDocumentData;
|
|
2403
|
-
format?: DocExportFormat;
|
|
2404
|
-
data?: Record<string, unknown>;
|
|
2405
|
-
pdfOptions?: IDocPdfExportOptions;
|
|
2406
|
-
target?: DocIoTarget;
|
|
2407
|
-
}): Promise<Uint8Array>;
|
|
2473
|
+
importDoc(file: File, unitId?: string, options?: Omit<IDocImportOptions, 'unitId'>): Promise<Partial<IDocumentData>>;
|
|
2474
|
+
importDocWithReport(file: File, options?: IDocImportOptions): Promise<IDocImportOutcomeReport>;
|
|
2475
|
+
exportDoc(params: IDocExportOptions): Promise<Uint8Array>;
|
|
2476
|
+
exportDocFromUnit(unitIdOrParams?: string | IDocExportFromUnitOptions, options?: Omit<IDocExportFromUnitOptions, 'unitId'>): Promise<Uint8Array>;
|
|
2408
2477
|
saveToHost(context: IDocSaveContext): Promise<boolean>;
|
|
2409
2478
|
}
|
|
2410
2479
|
declare const IDocIoService: _univerjs_core.IdentifierDecorator<IDocIoService>;
|
|
2480
|
+
declare function createDocAbortError(signal?: AbortSignal): Error;
|
|
2411
2481
|
declare class DocIoService extends Disposable implements IDocIoService {
|
|
2482
|
+
private readonly _univerInstanceService?;
|
|
2412
2483
|
private readonly _adapter$;
|
|
2413
2484
|
private readonly _saved$;
|
|
2414
2485
|
private _serviceDefaultIoTarget?;
|
|
@@ -2417,7 +2488,7 @@ declare class DocIoService extends Disposable implements IDocIoService {
|
|
|
2417
2488
|
private readonly _savedHooks;
|
|
2418
2489
|
readonly adapter$: Observable<IDocIoAdapter>;
|
|
2419
2490
|
readonly saved$: Observable<IDocSavedEvent>;
|
|
2420
|
-
constructor();
|
|
2491
|
+
constructor(_univerInstanceService?: IUniverInstanceService | undefined);
|
|
2421
2492
|
onBeforeSave(cb: (ev: IDocBeforeSaveEvent) => void | boolean | Promise<void | boolean>, unitId?: string): IDisposable;
|
|
2422
2493
|
onSaved(cb: (ev: IDocSavedEvent) => void, unitId?: string): IDisposable;
|
|
2423
2494
|
getAdapter(): IDocIoAdapter;
|
|
@@ -2426,21 +2497,10 @@ declare class DocIoService extends Disposable implements IDocIoService {
|
|
|
2426
2497
|
setDefaultIoTarget(target: DocIoTarget): void;
|
|
2427
2498
|
getIoCapabilities(): IDocIoCapabilities;
|
|
2428
2499
|
private _resolveEffectiveTarget;
|
|
2429
|
-
importDocWithReport(file: File, options?:
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
importDoc(file: File, unitId?: string, options?: {
|
|
2434
|
-
target?: DocIoTarget;
|
|
2435
|
-
}): Promise<Partial<IDocumentData>>;
|
|
2436
|
-
exportDoc(params: {
|
|
2437
|
-
unitId: string;
|
|
2438
|
-
snapshot: IDocumentData;
|
|
2439
|
-
format?: DocExportFormat;
|
|
2440
|
-
data?: Record<string, unknown>;
|
|
2441
|
-
pdfOptions?: IDocPdfExportOptions;
|
|
2442
|
-
target?: DocIoTarget;
|
|
2443
|
-
}): Promise<Uint8Array>;
|
|
2500
|
+
importDocWithReport(file: File, options?: IDocImportOptions): Promise<IDocImportOutcomeReport>;
|
|
2501
|
+
importDoc(file: File, unitId?: string, options?: Omit<IDocImportOptions, 'unitId'>): Promise<Partial<IDocumentData>>;
|
|
2502
|
+
exportDoc(params: IDocExportOptions): Promise<Uint8Array>;
|
|
2503
|
+
exportDocFromUnit(unitIdOrParams?: string | IDocExportFromUnitOptions, options?: Omit<IDocExportFromUnitOptions, 'unitId'>): Promise<Uint8Array>;
|
|
2444
2504
|
saveToHost(context: IDocSaveContext): Promise<boolean>;
|
|
2445
2505
|
}
|
|
2446
2506
|
|
|
@@ -2798,6 +2858,15 @@ declare function insertSyntaxCodeBlockIntoSnapshot(sourceSnapshot: IDocumentData
|
|
|
2798
2858
|
endOffset: number;
|
|
2799
2859
|
};
|
|
2800
2860
|
|
|
2861
|
+
declare const INLINE_VALUE_TOKEN_RE: RegExp;
|
|
2862
|
+
declare function parseDocBindingKey(rawKey: string): IDocParsedBindingKey;
|
|
2863
|
+
/**
|
|
2864
|
+
* Stateless inline placeholder scanner (`${...}` / `#{...}`) that constructs a fresh RegExp
|
|
2865
|
+
* instance per invocation so callers never experience shared `lastIndex` cursor bugs.
|
|
2866
|
+
*/
|
|
2867
|
+
declare function extractDocInlinePlaceholders(text: string, syntax?: DocInlinePlaceholderSyntax): IDocInlinePlaceholderMatch[];
|
|
2868
|
+
declare function extractDocFieldInstruction(range: Pick<ICustomRange, 'properties'> | null | undefined): string | undefined;
|
|
2869
|
+
declare function isDynamicPageFieldInstruction(instr?: string | null): boolean;
|
|
2801
2870
|
declare function resolvePathValue(source: Record<string, unknown> | undefined, path?: string): unknown;
|
|
2802
2871
|
declare function readDocTemplateMetadataFromSnapshot(snapshot: Partial<IDocumentData> | null | undefined): IDocTemplateMetadata;
|
|
2803
2872
|
declare function writeDocTemplateMetadataToSnapshot<T extends Partial<IDocumentData>>(snapshot: T, metadata: IDocTemplateMetadata): T;
|
|
@@ -3169,6 +3238,12 @@ declare function getDocumentStats(snapshot: Partial<IDocumentData> | null | unde
|
|
|
3169
3238
|
* (`fieldDiffs`) plus exact plain-text insertion/deletion character counts (`textChanged`, `addedLength`, `removedLength`).
|
|
3170
3239
|
*/
|
|
3171
3240
|
declare function diffDocSnapshots(beforeSnapshot: Partial<IDocumentData> | null | undefined, afterSnapshot: Partial<IDocumentData> | null | undefined): IDocSnapshotDiffResult;
|
|
3241
|
+
/**
|
|
3242
|
+
* Inspects an `IDocumentData` Word template across `body`, all `headers`, and all `footers`
|
|
3243
|
+
* to summarize bound dataset codes, SDT controls, `${...}` / `#{...}` inline placeholders,
|
|
3244
|
+
* `tableRowLoops`, template metadata keys, and dynamic `PAGE` / `NUMPAGES` fields.
|
|
3245
|
+
*/
|
|
3246
|
+
declare function summarizeDocTemplate(snapshot: Partial<IDocumentData> | null | undefined): IDocTemplateSummary;
|
|
3172
3247
|
|
|
3173
3248
|
/**
|
|
3174
3249
|
* Splices `[start, endInclusive]` with `replacementStream` (which may contain internal `\r` paragraph breaks),
|
|
@@ -3778,4 +3853,4 @@ declare function setDocTitlePropertiesInSnapshot(sourceSnapshot: IDocumentData,
|
|
|
3778
3853
|
};
|
|
3779
3854
|
declare function isEditBlockedByTitleLock(snapshot: Partial<IDocumentData> | null | undefined, editStart: number, editEndExclusive: number, isDeletion: boolean): boolean;
|
|
3780
3855
|
|
|
3781
|
-
export { ALL_DOC_BATCH3_COMMANDS, ALL_DOC_ROUND1_COMMANDS, ALL_DOC_ROUND3_COMMANDS, ALL_DOC_WAVE2_COMMANDS, AddDocCascadeRuleCommand, AddDocCommentCommand, AddDocGraffitiStrokeCommand, ApplyDocMacrosCommand, AutoFitDocTableCommand, CancelDocHyperlinkCommand, CleanUpDocFormattingCommand, ClearDocGraffitiStrokesCommand, CompareDocSnapshotsToTrackCommand, ConvertTextToDocTableCommand, DEFAULT_CASCADER_OPTIONS, DEFAULT_ENDNOTE_SETTINGS, DEFAULT_FOOTNOTE_SETTINGS, DOC_DRAWING_PLUGIN_RESOURCE, DOC_HYPERLINK_DEFAULT_COLOR, DOC_IO_CAPABILITY_FORMATS, DOC_TRACK_DELETE_STYLE, DOC_TRACK_INSERT_STYLE, DeleteDocAreaCommand, DeleteDocColumnGroupCommand, DeleteDocCommentCommand, DeleteDocHyperlinkCommand, DeleteDocNoteCommand, DeleteDocSdtCommand, DeleteDocTableColumnCommand, DeleteDocTableRowCommand, DocActionMacroService, type DocAdapterImportResult, DocAiCopilotService, type DocAiRiskSeverity, type DocAreaMode, type DocBarcodeBlockKind, type DocBuilderBlockInput, type DocBuilderSegment, type DocCalloutPreset, type DocCaptionCategory, type DocCellBorderLineStyle, type DocCustomGlossaryInput, type DocEmbedBlockKind, type DocEmbeddedChartType, type DocEmbeddedShapeKind, type DocEmptyRowStrategy, type DocExportFormat, DocExtensionRegistryService, type DocFieldType, type DocHorizontalDividerStyle, type DocImageWrapType, type DocInlineFormulaFormat, type DocIoCapabilityFormat, DocIoService, type DocIoTarget, DocIoTargetError, type DocLabelBadgeTone, type DocListGlyphType, type DocMacroResolver, type DocMailMergeBatchFormat, type DocMarkdownAlign, type DocMedicalFormulaKind, type DocNoteNumberFormat, type DocNoteRestartRule, type DocNoteType, type DocPageOrientation, type DocSdtControlKind, type DocSdtKind, type DocSdtLockPolicy, DocSdtService, type DocSdtType, type DocSdtValidatorPreset, type DocSdtVisualChrome, type DocSectionBreakKind, type DocSeparatorDashStyle, type DocSmartArtLayout, type DocTabStopAlignment, type DocTabStopLeader, type DocTableAutoFitMode, type DocTableBorderPreset, type DocTableCellSlashType, type DocTextDirection, type DocTrackRevisionStatus, type DocTrackRevisionType, type DocUnderlineStyle, type DocWatermarkLayer, type DocWorkMode, DocxImportError, EvaluateDocCascadeRulesCommand, EvaluateDocTableFormulasCommand, FillDocDatasetCommand, FindAndReplaceDocTextCommand, HighlightInvalidDocSdtCommand, type IAddDocCascadeRuleCommandParams, type IAddDocCommentCommandParams, type IAddDocGraffitiStrokeCommandParams, type IApplyDocMacrosCommandParams, type IAutoFitDocTableCommandParams, type ICancelDocHyperlinkCommandParams, type ICleanUpDocFormattingCommandParams, type IClearDocGraffitiStrokesCommandParams, type ICodeSyntaxToken, type ICompareDocSnapshotsToTrackCommandParams, type IConvertTextToDocTableCommandParams, type IDeleteDocAreaCommandParams, type IDeleteDocColumnGroupCommandParams, type IDeleteDocCommentCommandParams, type IDeleteDocHyperlinkCommandParams, type IDeleteDocNoteCommandParams, type IDeleteDocSdtCommandParams, type IDeleteDocTableColumnCommandParams, type IDeleteDocTableRowCommandParams, IDocActionMacroService, type IDocActionMacroStep, type IDocAdapterImportEnvelope, type IDocAddCommentSpec, type IDocAddGraffitiStrokeSpec, type IDocAiCopilotAdapter, type IDocAiCopilotContext, IDocAiCopilotService, type IDocAiRiskFinding, type IDocAreaHiddenSlice, type IDocAreaRegion, type IDocAreaValueResult, type IDocBarcodeBlockSpec, type IDocBatchDocxFileItem, type IDocBeforeSaveEvent, type IDocBookmark, type IDocBuilderParagraphInput, type IDocBuilderTableCellInput, type IDocBuilderTableInput, type IDocBuildingBlockEntry, type IDocBuildingBlockSpec, type IDocCalloutBlock, type IDocCaptionEntry, type IDocCascadeEvaluationResult, type IDocCascadeRule, type IDocCascadeTarget, type IDocCascadeTargetEffects, type IDocCascaderNode, type IDocCatalogItem, type IDocCellBorderEdgeSpec, type IDocChartSeries, type IDocCitationSource, type IDocCleanUpFormattingOptions, type IDocCleanUpFormattingResult, type IDocCodeBlockSpec, type IDocCollapsedHeadingEntry, type IDocCollapsedHeadingSlice, type IDocColumnGroupConfig, type IDocColumnGroupOptions, type IDocCommentReply, type IDocCommentThread, type IDocContentChangeEvent, type IDocContextMenuContext, type IDocContextMenuItem, type IDocControlCascadeBaseline, type IDocControlChangeEvent, type IDocControlValueChangeEvent, type IDocCopyPastePolicy, type IDocCornerBadge, type IDocCustomGlossaryRule, type IDocDatasetField, type IDocDatasetGroup, type IDocDocumentStats, type IDocEmbedBlock, type IDocEmbeddedBarcodeEntry, type IDocEmbeddedChart, type IDocEmbeddedCodeBlockEntry, type IDocEmbeddedMedicalFormulaEntry, type IDocEmbeddedShape, type IDocExportContext, IDocExtensionRegistryService, type IDocFieldContext, type IDocFieldDiffItem, type IDocFieldEntry, type IDocFindReplaceOptions, type IDocFormValidationIssue, type IDocFormValidationResult, type IDocGraffitiPoint, type IDocGraffitiStroke, type IDocHtmlPrintOptions, type IDocHyperlinkEntry, type IDocImageCropSpec, type IDocImageTransformSpec, type IDocImportContext, type IDocImportOutcomeReport, type IDocImportWarning, type IDocInlineFormula, type IDocInsertAreaSpec, type IDocInsertBookmarkSpec, type IDocInsertCalloutSpec, type IDocInsertEmbedBlockSpec, type IDocInsertHyperlinkSpec, type IDocInsertInlineFormulaSpec, type IDocInsertLabelBadgeSpec, type IDocInsertLatexFormulaSpec, type IDocInsertQuoteSpec, type IDocInsertSdtSpec, type IDocInsertTitleSpec, type IDocIoAdapter, type IDocIoCapabilities, type IDocIoFormatCapabilityEntry, IDocIoService, type IDocLabelBadge, type IDocLatexFormulaSpec, type IDocLatexRenderOptions, type IDocLatexRenderResult, type IDocListInsertSpec, type IDocListParagraphInfo, type IDocMailMergeBatchResultItem, type IDocMedicalFormulaSpec, type IDocModeChangeEvent, type IDocMultiOptionSpan, type IDocNoteEntry, type IDocNoteSettings, type IDocPageBorderConfig, type IDocParagraphBorderShadingSpec, type IDocParagraphPaginationSpec, type IDocPdfExportOptions, type IDocPrintConfig, type IDocQuoteBlock, type IDocReadabilityStatistics, type IDocRecordedActionMacro, type IDocRepeatingSectionSpec, type IDocReplyCommentSpec, type IDocReportTemplateMetadata, type IDocResolvedSdtControl, type IDocRiskAlertItem, type IDocSaveContext, type IDocSavedEvent, type IDocSdtControlMeta, type IDocSdtControlSpec, type IDocSdtHighlightRule, type IDocSdtOptionItem, IDocSdtService, type IDocShortcutItem, type IDocShortcutKeyboardEventLike, type IDocSignatureStroke, type IDocSignatureStrokePoint, type IDocSmartArtNode, type IDocSmartArtSpec, type IDocSnapshotDiffResult, type IDocStyledSeparatorEntry, type IDocTabStop, type IDocTableCellBorders, type IDocTableCellProperties, type IDocTableOfContentsEntry, type IDocTableOfContentsSpec, type IDocTableRowLoopConfig, type IDocTableRowSummary, type IDocTableSummary, type IDocTemplateMetadata, type IDocTermDiagnostic, type IDocTitleEntry, type IDocTitleProperties, type IDocTrackRevision, type IDocUpdateHyperlinkSpec, type IDocVersionSnapshot, type IDocVisibilityClause, type IDocVisualComparisonOptions, type IDocVisualComparisonResult, type IDocxExportCapabilitiesReport, type IDocxImportReport, type IEvaluateDocCascadeRulesCommandParams, type IEvaluateDocTableFormulasCommandParams, type IFillDocDatasetCommandParams, type IFindAndReplaceDocTextCommandParams, type IHighlightInvalidDocSdtCommandParams, type IInsertDocAreaCommandParams, type IInsertDocBibliographyCommandParams, type IInsertDocBookmarkCommandParams, type IInsertDocBuildingBlockCommandParams, type IInsertDocCalloutCommandParams, type IInsertDocCaptionCommandParams, type IInsertDocChartCommandParams, type IInsertDocCitationCommandParams, type IInsertDocCodeBlockCommandParams, type IInsertDocColumnGroupCommandParams, type IInsertDocCrossReferenceCommandParams, type IInsertDocEmbedBlockCommandParams, type IInsertDocFieldCommandParams, type IInsertDocHyperlinkCommandParams, type IInsertDocInlineFormulaCommandParams, type IInsertDocLabelBadgeCommandParams, type IInsertDocLatexFormulaCommandParams, type IInsertDocListCommandParams, type IInsertDocMedicalFormulaCommandParams, type IInsertDocNoteCommandParams, type IInsertDocPageBreakCommandParams, type IInsertDocQrOrBarcodeBlockCommandParams, type IInsertDocQuoteCommandParams, type IInsertDocRepeatingSectionCommandParams, type IInsertDocSdtCommandParams, type IInsertDocSectionBreakCommandParams, type IInsertDocShapeCommandParams, type IInsertDocSmartArtCommandParams, type IInsertDocTableColumnCommandParams, type IInsertDocTableOfContentsCommandParams, type IInsertDocTableRowCommandParams, type IInsertDocTitleCommandParams, type IInsertHorizontalDividerCommandParams, type IInsertStyledSeparatorCommandParams, type IJumpDocSdtControlCommandParams, type IMedicalFormulaLayoutResult, type IMergeDocTableCellsCommandParams, type IPdfRasterImageAsset, type IRecalculateDocInlineFormulasCommandParams, type IRecordDocRevisionCommandParams, type IRefreshDocTableOfContentsCommandParams, type IRemoveDocBookmarkCommandParams, type IRemoveDocCalloutCommandParams, type IRemoveDocCascadeRuleCommandParams, type IRemoveDocChartCommandParams, type IRemoveDocEmbedBlockCommandParams, type IRemoveDocLabelBadgeCommandParams, type IRemoveDocLatexFormulaCommandParams, type IRemoveDocQuoteCommandParams, type IRemoveDocShapeCommandParams, type IRemoveDocSmartArtCommandParams, type IRemoveDocTableOfContentsCommandParams, type IReplaceDocUnitSnapshotCommandParams, type IReplyDocCommentCommandParams, type IResolveDocCommentCommandParams, type IResolveDocRevisionCommandParams, type IRestoreDocVersionCommandParams, type ISaveDocVersionCommandParams, type ISetDocActiveRoleCommandParams, type ISetDocAreaBadgeCommandParams, type ISetDocAreaPropertiesCommandParams, type ISetDocAreaValueCommandParams, type ISetDocCascadeRulesCommandParams, type ISetDocCopyPastePolicyCommandParams, type ISetDocCustomPropertiesCommandParams, type ISetDocListGlyphTypeCommandParams, type ISetDocListLevelCommandParams, type ISetDocMainBadgeCommandParams, type ISetDocModeCommandParams, type ISetDocNoteSettingsCommandParams, type ISetDocPrintConfigCommandParams, type ISetDocSectionOrientationCommandParams, type ISetDocTableBorderPresetCommandParams, type ISetDocTableCellPropertiesCommandParams, type ISetDocTableRepeatHeaderCommandParams, type ISetDocTableRowLoopCommandParams, type ISetDocTextDirectionCommandParams, type ISetDocTitlePropertiesCommandParams, type ISetDocTrackChangesCommandParams, type ISetParagraphBorderAndShadingCommandParams, type ISetParagraphPaginationCommandParams, type ISetParagraphTabStopsCommandParams, type ISortDocTableCommandParams, type ISplitDocTableCellCommandParams, type ISyncDocAuxStateMutationParams, type IToggleDocListCheckboxCommandParams, type IToggleDocScriptCommandParams, type IToggleHeadingCollapseCommandParams, type IUniverDocsExtConfig, type IUpdateAllDocFieldsCommandParams, type IUpdateDocCalloutCommandParams, type IUpdateDocChartCommandParams, type IUpdateDocColumnGroupCommandParams, type IUpdateDocHyperlinkCommandParams, type IUpdateDocImageTransformCommandParams, type IUpdateDocLatexFormulaCommandParams, type IUpdateDocNoteCommandParams, type IUpdateDocQuoteCommandParams, type IUpdateDocSdtPropertiesCommandParams, type IUpdateDocSdtValueCommandParams, type IUpdateDocShapeCommandParams, type IUpdateDocSmartArtCommandParams, InsertDocAreaCommand, InsertDocBibliographyCommand, InsertDocBookmarkCommand, InsertDocBuildingBlockCommand, InsertDocCalloutCommand, InsertDocCaptionCommand, InsertDocChartCommand, InsertDocCitationCommand, InsertDocCodeBlockCommand, InsertDocColumnGroupCommand, InsertDocCrossReferenceCommand, InsertDocEmbedBlockCommand, InsertDocEndnoteCommand, InsertDocFieldCommand, InsertDocFootnoteCommand, InsertDocHyperlinkCommand, InsertDocInlineFormulaCommand, InsertDocLabelBadgeCommand, InsertDocLatexFormulaCommand, InsertDocListCommand, InsertDocMedicalFormulaCommand, InsertDocPageBreakCommand, InsertDocQrOrBarcodeBlockCommand, InsertDocQuoteCommand, InsertDocRepeatingSectionCommand, InsertDocSdtCommand, InsertDocSectionBreakCommand, InsertDocShapeCommand, InsertDocSmartArtCommand, InsertDocTableColumnCommand, InsertDocTableOfContentsCommand, InsertDocTableRowCommand, InsertDocTitleCommand, InsertHorizontalDividerCommand, InsertStyledSeparatorCommand, JumpDocSdtControlCommand, type LatexAstNode, MAX_CASCADE_ITERATIONS, MergeDocTableCellsCommand, RecalculateDocInlineFormulasCommand, RecordDocRevisionCommand, RefreshDocTableOfContentsCommand, RemoveDocBookmarkCommand, RemoveDocCalloutCommand, RemoveDocCascadeRuleCommand, RemoveDocChartCommand, RemoveDocEmbedBlockCommand, RemoveDocLabelBadgeCommand, RemoveDocLatexFormulaCommand, RemoveDocQuoteCommand, RemoveDocShapeCommand, RemoveDocSmartArtCommand, RemoveDocTableOfContentsCommand, ReplaceDocUnitSnapshotCommand, ReplyDocCommentCommand, ResolveDocCommentCommand, ResolveDocRevisionCommand, RestoreDocVersionCommand, SaveDocVersionCommand, SetDocActiveRoleCommand, SetDocAreaBadgeCommand, SetDocAreaPropertiesCommand, SetDocAreaValueCommand, SetDocCascadeRulesCommand, SetDocCopyPastePolicyCommand, SetDocCustomPropertiesCommand, SetDocListGlyphTypeCommand, SetDocListLevelCommand, SetDocMainBadgeCommand, SetDocModeCommand, SetDocNoteSettingsCommand, SetDocPrintConfigCommand, SetDocSectionOrientationCommand, SetDocTableBorderPresetCommand, SetDocTableCellPropertiesCommand, SetDocTableRepeatHeaderCommand, SetDocTableRowLoopCommand, SetDocTextDirectionCommand, SetDocTitlePropertiesCommand, SetDocTrackChangesCommand, SetParagraphBorderAndShadingCommand, SetParagraphPaginationCommand, SetParagraphTabStopsCommand, SortDocTableCommand, SplitDocTableCellCommand, SyncDocAuxStateMutation, ToggleDocListCheckboxCommand, ToggleDocSubscriptCommand, ToggleDocSuperscriptCommand, ToggleHeadingCollapseCommand, UNIVER_DOCS_EXT_PLUGIN_NAME, UNIVER_DOC_CHART_PALETTE, UniverDocsExtPlugin, UpdateAllDocFieldsCommand, UpdateDocCalloutCommand, UpdateDocChartCommand, UpdateDocColumnGroupCommand, UpdateDocHyperlinkCommand, UpdateDocImageTransformCommand, UpdateDocLatexFormulaCommand, UpdateDocNoteCommand, UpdateDocQuoteCommand, UpdateDocSdtPropertiesCommand, UpdateDocSdtValueCommand, UpdateDocShapeCommand, UpdateDocSmartArtCommand, YUDAO_DOCS_TEMPLATE_RESOURCE, addDocCascadeRuleInSnapshot as addDocCascadeRule, addDocCascadeRuleInSnapshot, addDocCommentInSnapshot, addDocGraffitiStrokeInSnapshot as addDocGraffitiStroke, addDocGraffitiStrokeInSnapshot, applyCopyPolicyToSelectedText, applyDocMacrosInSnapshot as applyDocMacros, applyDocMacrosInSnapshot, applyPictureOrSignatureSdtValueInSnapshot, applyTextStyleToBodySpan, attachSmartArtMetaRangeOnBody, auditContractRisksOffline, autoCropCanvasToPngDataUrl, autoFitDocTableInSnapshot, buildCode128BarcodeSvg, buildLiveDocFormContext, buildMedicalFormulaDataUri, buildMedicalFormulaSvg, buildQrCodeSvg, buildQrMatrix, buildQrOrBarcodeDataUri, buildQrOrBarcodeSvg, buildSdtPropertiesFromSpec, buildStructuredDocData, buildTocBlockLines, buildVisualComparisonSnapshot, canRoleEditSdtControl, cancelHyperlinkInSnapshot, checkDocumentSpellingAndTerms, cleanUpDocFormattingInSnapshot, clearDocGraffitiStrokesInSnapshot as clearDocGraffitiStrokes, clearDocGraffitiStrokesInSnapshot, clearRegisteredDocMacros, compareDocTableCellValues, computeAuthorInitials, computeSdtVisualStyle, computeSignatureBoundingBox, computeToggledMultiOptionValue, convertDocTableToText, convertTextToDocTableInSnapshot, decodeImageDataUrlForPdf, deleteColumnGroupFromSnapshot, deleteDocAreaFromSnapshot as deleteDocArea, deleteDocAreaFromSnapshot, deleteDocCommentFromSnapshot, deleteDocNoteFromSnapshot, deleteDocTableColumnInSnapshot, deleteDocTableRowInSnapshot, deleteHyperlinkFromSnapshot, detectAutoTextDirection, diffDocSnapshots, doesDocShortcutMatchEvent, draftContractClauseByPrompt, encodeCode128Bars, encodeUtf8Base64DataUri, estimateDocOffsetPageNumber, evaluateCascadeCondition, evaluateComputedSdtControls, evaluateComputedSdtControlsInPlace, evaluateDocCascadeRules, evaluateDocCascadeRulesInPlace, evaluateDocDateDiff, evaluateDocTableFormulas, evaluateLiveVisibilityClauses, evaluateSafeDocExpression, evaluateVisibleIfCondition, executeBodyUpdateViaRichTextMutation, executeWave2SnapshotUpdateWithUndoRedo, expandRepeatingSectionTemplate, exportBatchDocPdfBytes, exportBatchDocxFiles as exportBatchDocxArchives, exportBatchDocxFiles, exportDocHtmlString, exportDocToMarkdown, exportDocToOdtBytes, exportDocToPdfBytes, exportDocToRtf, exportDocxBytes, extractAnchorTypography, extractDocCatalog, extractDocCatalogTree, extractDocFormValues, fillDatasetIntoDocSnapshot, findAndReplaceDocTextInSnapshot, findMergedMasterInTableRows, flattenCascaderLeafItems, formatCalloutDisplayText, formatDocListMarker, formatDocNoteNumber, formatInlineFormulaResult, formatIsoDateByPattern, formatQuoteDisplayText, formatSdtDisplayText, getCollapsedHeadingsFromSnapshot, getColumnGroupConfigFromSnapshot, getDocAreaBadgeFromSnapshot as getDocAreaBadge, getDocAreaBadgeFromSnapshot, getDocAreaValueFromSnapshot as getDocAreaValue, getDocAreaValueFromSnapshot, getDocAreasFromSnapshot as getDocAreas, getDocAreasFromSnapshot, getDocCascadeRulesFromSnapshot as getDocCascadeRules, getDocCascadeRulesFromSnapshot, getDocCopyPastePolicyFromSnapshot, getDocCustomPropertiesFromSnapshot, getDocEmbedBlocksFromSnapshot as getDocEmbedBlocks, getDocEmbedBlocksFromSnapshot, getDocGraffitiStrokesFromSnapshot as getDocGraffitiStrokes, getDocGraffitiStrokesFromSnapshot, getDocImageTransformFromSnapshot, getDocLabelBadgesFromSnapshot as getDocLabelBadges, getDocLabelBadgesFromSnapshot, getDocListsFromSnapshot, getDocMainBadgeFromSnapshot as getDocMainBadge, getDocMainBadgeFromSnapshot, getDocNoteSettingsFromSnapshot, getDocParagraphDirection, getDocPrintConfigFromSnapshot, getDocTableCellProperties, getDocTableDirection, getDocTitleEntriesFromSnapshot, getDocTitleValueFromSnapshot, extractDocCatalog as getDocumentOutline, getDocumentStatistics, getDocumentStats, getLocalTodayIso, getMultiOptionHitIndexAtOffset, getMultiOptionSpansForSdtControl, getParagraphBorderAndShading, getParagraphPagination, getParagraphTabStops, getDocumentStatistics as getReadabilityStatistics, getRegisteredDocMacros, getStyledSeparatorsFromSnapshot, getTargetDocModel, importHtmlToDocData, importLegacyDocBytes, importMarkdownToDocData, inflateRawSync, insertBibliographyIntoSnapshot, insertBookmarkIntoSnapshot, insertBuildingBlockIntoSnapshot, insertCalloutIntoSnapshot, insertCaptionIntoSnapshot, insertCitationIntoSnapshot, insertColumnGroupInSnapshot, insertCrossReferenceIntoSnapshot, insertDocAreaInSnapshot as insertDocArea, insertDocAreaInSnapshot, insertDocEmbedBlockInSnapshot as insertDocEmbedBlock, insertDocEmbedBlockInSnapshot, insertDocFieldIntoSnapshot, insertDocLabelBadgeInSnapshot as insertDocLabelBadge, insertDocLabelBadgeInSnapshot, insertDocListInSnapshot, insertDocNoteIntoSnapshot, insertDocTableColumnInSnapshot, insertDocTableRowInSnapshot, insertDocTitleInSnapshot, insertHorizontalDividerInSnapshot, insertHyperlinkIntoSnapshot, insertInlineDrawingIntoSnapshot, insertInlineFormulaIntoSnapshot, insertPageBreakInSnapshot, insertQuoteIntoSnapshot, insertSdtControlIntoBody, insertSectionBreakInSnapshot, insertSmartArtIntoSnapshot, insertStyledSeparatorInSnapshot as insertStyledSeparator, insertStyledSeparatorInSnapshot, insertSyntaxCodeBlockIntoSnapshot, insertTableOfContentsIntoSnapshot, inspectDocxExportCapabilities, isEditBlockedByTitleLock, isOffsetInLockedTableCell, isOffsetLockedByGroupSdt, isOffsetReadonlyByArea, layoutLatexFormulaWidget, layoutMedicalFormulaWidget, listDocBookmarks, listDocCallouts, listDocCaptions, listDocCitations, listDocCommentsFromSnapshot, listDocFields, listDocHyperlinks, listDocInlineFormulas, listDocNotesFromSnapshot, listDocQuotes, listDocSdtControls, listDocTables, listLiveDocCharts, listLiveDocShapes, listLiveLatexFormulas, listLiveSmartArts, matchSdtHighlightRule, mergeDocTableCellsInSnapshot, normalizeDocDrawingsAndPluginResource, normalizeImageDataUriForSdt, normalizeMacroName, normalizeSdtListItems, numberToChineseUpperMoney, parseDateRangePair, parseDocxBytesToDocData, parseDocxBytesWithReport, parseFieldInstrString, parseIsoDateForExpr, parseLatexMathAst, parseParagraphBorderLine, parseSdtRangeToResolved, parseTableRowsInStream, readDocTemplateMetadataFromSnapshot, recalculateInlineFormulasInPlace, reconcileTemplateMetadataWithLiveSnapshot, recordDocTrackRevisionOnSnapshot, refreshTableOfContentsInSnapshot, registerDocMacro, reinitializeDocHeaderFooterModels, removeBookmarkFromSnapshot, removeCalloutFromSnapshot, removeDocCascadeRuleFromSnapshot as removeDocCascadeRule, removeDocCascadeRuleFromSnapshot, removeDocEmbedBlockFromSnapshot as removeDocEmbedBlock, removeDocEmbedBlockFromSnapshot, removeDocLabelBadgeFromSnapshot as removeDocLabelBadge, removeDocLabelBadgeFromSnapshot, removeInlineDrawingBlockFromBody, removeQuoteFromSnapshot, removeTableOfContentsFromSnapshot, renderDocChartSvg, renderDocChartToSvgDataUri, renderDocEmbedBlockCardSvg, renderDocLabelBadgeSvg, renderDocShapeSvg, renderDocShapeToSvgDataUri, renderLatexToSvg, renderLatexToSvgDataUri, renderSignatureStrokesToSvgDataUri, renderSmartArtSvg, renderSmartArtToSvgDataUri, exportDocHtmlString as renderStructuredDocHtml, renderStyledSeparatorSvg, renumberDocNotesInPlace, replyDocCommentInSnapshot, resolveActiveInsertOffset, resolveBarcodeBlockPayload, resolveBodyOffsetTypography, resolveCalloutPresetTheme, resolveCascaderPath, resolveDocCommentInSnapshot, resolveDocTrackRevisionOnSnapshot, resolveEffectiveSdtAffixes, resolveLabelBadgePalette, resolveListIdGlyphType, resolveLiveDocAreaSpan, resolvePathValue, resolveRangeAnchorTypography, resolveSegmentBodyInSnapshot, resolveSeparatorDimensions, resolveTableHeaderRowCount, resolveUnderlineCssStyle, runMailMergeBatchOnSnapshot, sanitizeDocEmbedUrl, sanitizeDocHyperlinkUrl, setDocAreaBadgeInSnapshot as setDocAreaBadge, setDocAreaBadgeInSnapshot, setDocAreaPropertiesInSnapshot as setDocAreaProperties, setDocAreaPropertiesInSnapshot, setDocAreaValueInSnapshot as setDocAreaValue, setDocAreaValueInSnapshot, setDocCascadeRulesInSnapshot as setDocCascadeRules, setDocCascadeRulesInSnapshot, setDocCopyPastePolicyInSnapshot, setDocCustomPropertiesInSnapshot, setDocListGlyphTypeInSnapshot, setDocListLevelInSnapshot, setDocMainBadgeInSnapshot as setDocMainBadge, setDocMainBadgeInSnapshot, setDocNoteSettingsInSnapshot, setDocPrintConfigInSnapshot, setDocTableBorderPresetInSnapshot, setDocTableCellPropertiesInSnapshot, setDocTableRepeatHeaderInSnapshot, setDocTextDirectionInSnapshot, setDocTitlePropertiesInSnapshot, setParagraphBorderAndShadingInSnapshot, setParagraphPaginationInSnapshot, setParagraphTabStopsInSnapshot, setSectionOrientationInSnapshot, shiftTrackRevisions, sortDocTableByColumnInSnapshot, spliceDocumentBodySpan, spliceMultiParagraphBodySpan, splitDocTableCellInSnapshot, stripDocEditorChromeForView, stripSdtAffixes, syncDocDrawingsToUniverServices, syncSnapshotAuxFields, toControlSpecSnapshot, toggleDocListCheckboxInSnapshot, toggleDocScriptInSnapshot, toggleHeadingCollapseInSnapshot, tokenizeCodeLineForHighlight, unregisterDocMacro, updateAllDocFieldsInSnapshot, updateCalloutInSnapshot, updateColumnGroupInSnapshot, updateDocImageTransformInSnapshot, updateDocNoteInSnapshot, updateHyperlinkInSnapshot, updateQuoteInSnapshot, updateSmartArtInSnapshot, validateDocForm, validateSdtValueBySpec, writeDocTemplateMetadataToSnapshot, writeSegmentBodyInSnapshot };
|
|
3856
|
+
export { ALL_DOC_BATCH3_COMMANDS, ALL_DOC_ROUND1_COMMANDS, ALL_DOC_ROUND3_COMMANDS, ALL_DOC_WAVE2_COMMANDS, AddDocCascadeRuleCommand, AddDocCommentCommand, AddDocGraffitiStrokeCommand, ApplyDocMacrosCommand, AutoFitDocTableCommand, CancelDocHyperlinkCommand, CleanUpDocFormattingCommand, ClearDocGraffitiStrokesCommand, CompareDocSnapshotsToTrackCommand, ConvertTextToDocTableCommand, DEFAULT_CASCADER_OPTIONS, DEFAULT_ENDNOTE_SETTINGS, DEFAULT_FOOTNOTE_SETTINGS, DOC_DRAWING_PLUGIN_RESOURCE, DOC_HYPERLINK_DEFAULT_COLOR, DOC_IO_CAPABILITY_FORMATS, DOC_TRACK_DELETE_STYLE, DOC_TRACK_INSERT_STYLE, DeleteDocAreaCommand, DeleteDocColumnGroupCommand, DeleteDocCommentCommand, DeleteDocHyperlinkCommand, DeleteDocNoteCommand, DeleteDocSdtCommand, DeleteDocTableColumnCommand, DeleteDocTableRowCommand, DocActionMacroService, type DocAdapterImportResult, DocAiCopilotService, type DocAiRiskSeverity, type DocAreaMode, type DocBarcodeBlockKind, type DocBuilderBlockInput, type DocBuilderSegment, type DocCalloutPreset, type DocCaptionCategory, type DocCellBorderLineStyle, type DocCustomGlossaryInput, type DocEmbedBlockKind, type DocEmbeddedChartType, type DocEmbeddedShapeKind, type DocEmptyRowStrategy, type DocExportFormat, DocExtensionRegistryService, type DocFieldType, type DocHorizontalDividerStyle, type DocImageWrapType, type DocInlineFormulaFormat, type DocInlinePlaceholderSyntax, type DocIoCapabilityFormat, DocIoService, type DocIoTarget, DocIoTargetError, type DocLabelBadgeTone, type DocListGlyphType, type DocMacroResolver, type DocMailMergeBatchFormat, type DocMarkdownAlign, type DocMedicalFormulaKind, type DocNoteNumberFormat, type DocNoteRestartRule, type DocNoteType, type DocPageOrientation, type DocSdtControlKind, type DocSdtKind, type DocSdtLockPolicy, DocSdtService, type DocSdtType, type DocSdtValidatorPreset, type DocSdtVisualChrome, type DocSectionBreakKind, type DocSeparatorDashStyle, type DocSmartArtLayout, type DocTabStopAlignment, type DocTabStopLeader, type DocTableAutoFitMode, type DocTableBorderPreset, type DocTableCellSlashType, DocTemplateProtocolError, type DocTemplateProtocolErrorCode, type DocTextDirection, type DocTrackRevisionStatus, type DocTrackRevisionType, type DocUnderlineStyle, type DocWatermarkLayer, type DocWorkMode, DocxImportError, EvaluateDocCascadeRulesCommand, EvaluateDocTableFormulasCommand, FillDocDatasetCommand, FindAndReplaceDocTextCommand, HighlightInvalidDocSdtCommand, type IAddDocCascadeRuleCommandParams, type IAddDocCommentCommandParams, type IAddDocGraffitiStrokeCommandParams, type IApplyDocMacrosCommandParams, type IAutoFitDocTableCommandParams, type ICancelDocHyperlinkCommandParams, type ICleanUpDocFormattingCommandParams, type IClearDocGraffitiStrokesCommandParams, type ICodeSyntaxToken, type ICompareDocSnapshotsToTrackCommandParams, type IConvertTextToDocTableCommandParams, type IDeleteDocAreaCommandParams, type IDeleteDocColumnGroupCommandParams, type IDeleteDocCommentCommandParams, type IDeleteDocHyperlinkCommandParams, type IDeleteDocNoteCommandParams, type IDeleteDocSdtCommandParams, type IDeleteDocTableColumnCommandParams, type IDeleteDocTableRowCommandParams, IDocActionMacroService, type IDocActionMacroStep, type IDocAdapterImportEnvelope, type IDocAddCommentSpec, type IDocAddGraffitiStrokeSpec, type IDocAiCopilotAdapter, type IDocAiCopilotContext, IDocAiCopilotService, type IDocAiRiskFinding, type IDocAreaHiddenSlice, type IDocAreaRegion, type IDocAreaValueResult, type IDocBarcodeBlockSpec, type IDocBatchDocxFileItem, type IDocBeforeSaveEvent, type IDocBookmark, type IDocBuilderParagraphInput, type IDocBuilderTableCellInput, type IDocBuilderTableInput, type IDocBuildingBlockEntry, type IDocBuildingBlockSpec, type IDocCalloutBlock, type IDocCaptionEntry, type IDocCascadeEvaluationResult, type IDocCascadeRule, type IDocCascadeTarget, type IDocCascadeTargetEffects, type IDocCascaderNode, type IDocCatalogItem, type IDocCellBorderEdgeSpec, type IDocChartSeries, type IDocCitationSource, type IDocCleanUpFormattingOptions, type IDocCleanUpFormattingResult, type IDocCodeBlockSpec, type IDocCollapsedHeadingEntry, type IDocCollapsedHeadingSlice, type IDocColumnGroupConfig, type IDocColumnGroupOptions, type IDocCommentReply, type IDocCommentThread, type IDocContentChangeEvent, type IDocContextMenuContext, type IDocContextMenuItem, type IDocControlCascadeBaseline, type IDocControlChangeEvent, type IDocControlValueChangeEvent, type IDocCopyPastePolicy, type IDocCornerBadge, type IDocCustomGlossaryRule, type IDocDatasetField, type IDocDatasetGroup, type IDocDocumentStats, type IDocEmbedBlock, type IDocEmbeddedBarcodeEntry, type IDocEmbeddedChart, type IDocEmbeddedCodeBlockEntry, type IDocEmbeddedMedicalFormulaEntry, type IDocEmbeddedShape, type IDocExportContext, type IDocExportFromUnitOptions, type IDocExportOptions, IDocExtensionRegistryService, type IDocFieldContext, type IDocFieldDiffItem, type IDocFieldEntry, type IDocFindReplaceOptions, type IDocFormValidationIssue, type IDocFormValidationResult, type IDocGraffitiPoint, type IDocGraffitiStroke, type IDocHtmlPrintOptions, type IDocHyperlinkEntry, type IDocImageCropSpec, type IDocImageTransformSpec, type IDocImportContext, type IDocImportOptions, type IDocImportOutcomeReport, type IDocImportWarning, type IDocInlineFormula, type IDocInlinePlaceholderMatch, type IDocInsertAreaSpec, type IDocInsertBookmarkSpec, type IDocInsertCalloutSpec, type IDocInsertEmbedBlockSpec, type IDocInsertHyperlinkSpec, type IDocInsertInlineFormulaSpec, type IDocInsertLabelBadgeSpec, type IDocInsertLatexFormulaSpec, type IDocInsertQuoteSpec, type IDocInsertSdtSpec, type IDocInsertTitleSpec, type IDocIoAdapter, type IDocIoCapabilities, type IDocIoFormatCapabilityEntry, IDocIoService, type IDocLabelBadge, type IDocLatexFormulaSpec, type IDocLatexRenderOptions, type IDocLatexRenderResult, type IDocListInsertSpec, type IDocListParagraphInfo, type IDocMailMergeBatchResultItem, type IDocMedicalFormulaSpec, type IDocModeChangeEvent, type IDocMultiOptionSpan, type IDocNoteEntry, type IDocNoteSettings, type IDocPageBorderConfig, type IDocParagraphBorderShadingSpec, type IDocParagraphPaginationSpec, type IDocParsedBindingKey, type IDocPdfExportOptions, type IDocPrintConfig, type IDocQuoteBlock, type IDocReadabilityStatistics, type IDocRecordedActionMacro, type IDocRepeatingSectionSpec, type IDocReplyCommentSpec, type IDocReportTemplateMetadata, type IDocResolvedSdtControl, type IDocRiskAlertItem, type IDocSaveContext, type IDocSavedEvent, type IDocSdtControlMeta, type IDocSdtControlSpec, type IDocSdtHighlightRule, type IDocSdtOptionItem, IDocSdtService, type IDocShortcutItem, type IDocShortcutKeyboardEventLike, type IDocSignatureStroke, type IDocSignatureStrokePoint, type IDocSmartArtNode, type IDocSmartArtSpec, type IDocSnapshotDiffResult, type IDocStyledSeparatorEntry, type IDocTabStop, type IDocTableCellBorders, type IDocTableCellProperties, type IDocTableOfContentsEntry, type IDocTableOfContentsSpec, type IDocTableRowLoop, type IDocTableRowLoopConfig, type IDocTableRowSummary, type IDocTableSummary, type IDocTemplateBindingEntry, type IDocTemplateMetadata, type IDocTemplateSummary, type IDocTermDiagnostic, type IDocTitleEntry, type IDocTitleProperties, type IDocTrackRevision, type IDocUpdateHyperlinkSpec, type IDocVersionSnapshot, type IDocVisibilityClause, type IDocVisualComparisonOptions, type IDocVisualComparisonResult, type IDocxExportCapabilitiesReport, type IDocxImportReport, type IEvaluateDocCascadeRulesCommandParams, type IEvaluateDocTableFormulasCommandParams, type IFillDocDatasetCommandParams, type IFindAndReplaceDocTextCommandParams, type IHighlightInvalidDocSdtCommandParams, type IInsertDocAreaCommandParams, type IInsertDocBibliographyCommandParams, type IInsertDocBookmarkCommandParams, type IInsertDocBuildingBlockCommandParams, type IInsertDocCalloutCommandParams, type IInsertDocCaptionCommandParams, type IInsertDocChartCommandParams, type IInsertDocCitationCommandParams, type IInsertDocCodeBlockCommandParams, type IInsertDocColumnGroupCommandParams, type IInsertDocCrossReferenceCommandParams, type IInsertDocEmbedBlockCommandParams, type IInsertDocFieldCommandParams, type IInsertDocHyperlinkCommandParams, type IInsertDocInlineFormulaCommandParams, type IInsertDocLabelBadgeCommandParams, type IInsertDocLatexFormulaCommandParams, type IInsertDocListCommandParams, type IInsertDocMedicalFormulaCommandParams, type IInsertDocNoteCommandParams, type IInsertDocPageBreakCommandParams, type IInsertDocQrOrBarcodeBlockCommandParams, type IInsertDocQuoteCommandParams, type IInsertDocRepeatingSectionCommandParams, type IInsertDocSdtCommandParams, type IInsertDocSectionBreakCommandParams, type IInsertDocShapeCommandParams, type IInsertDocSmartArtCommandParams, type IInsertDocTableColumnCommandParams, type IInsertDocTableOfContentsCommandParams, type IInsertDocTableRowCommandParams, type IInsertDocTitleCommandParams, type IInsertHorizontalDividerCommandParams, type IInsertStyledSeparatorCommandParams, type IJumpDocSdtControlCommandParams, type IMedicalFormulaLayoutResult, type IMergeDocTableCellsCommandParams, INLINE_VALUE_TOKEN_RE, type IPdfExtractedPageText, type IPdfRasterImageAsset, type IRecalculateDocInlineFormulasCommandParams, type IRecordDocRevisionCommandParams, type IRefreshDocTableOfContentsCommandParams, type IRemoveDocBookmarkCommandParams, type IRemoveDocCalloutCommandParams, type IRemoveDocCascadeRuleCommandParams, type IRemoveDocChartCommandParams, type IRemoveDocEmbedBlockCommandParams, type IRemoveDocLabelBadgeCommandParams, type IRemoveDocLatexFormulaCommandParams, type IRemoveDocQuoteCommandParams, type IRemoveDocShapeCommandParams, type IRemoveDocSmartArtCommandParams, type IRemoveDocTableOfContentsCommandParams, type IReplaceDocUnitSnapshotCommandParams, type IReplyDocCommentCommandParams, type IResolveDocCommentCommandParams, type IResolveDocRevisionCommandParams, type IRestoreDocVersionCommandParams, type ISaveDocVersionCommandParams, type ISetDocActiveRoleCommandParams, type ISetDocAreaBadgeCommandParams, type ISetDocAreaPropertiesCommandParams, type ISetDocAreaValueCommandParams, type ISetDocCascadeRulesCommandParams, type ISetDocCopyPastePolicyCommandParams, type ISetDocCustomPropertiesCommandParams, type ISetDocListGlyphTypeCommandParams, type ISetDocListLevelCommandParams, type ISetDocMainBadgeCommandParams, type ISetDocModeCommandParams, type ISetDocNoteSettingsCommandParams, type ISetDocPrintConfigCommandParams, type ISetDocSectionOrientationCommandParams, type ISetDocTableBorderPresetCommandParams, type ISetDocTableCellPropertiesCommandParams, type ISetDocTableRepeatHeaderCommandParams, type ISetDocTableRowLoopCommandParams, type ISetDocTextDirectionCommandParams, type ISetDocTitlePropertiesCommandParams, type ISetDocTrackChangesCommandParams, type ISetParagraphBorderAndShadingCommandParams, type ISetParagraphPaginationCommandParams, type ISetParagraphTabStopsCommandParams, type ISortDocTableCommandParams, type ISplitDocTableCellCommandParams, type ISyncDocAuxStateMutationParams, type IToggleDocListCheckboxCommandParams, type IToggleDocScriptCommandParams, type IToggleHeadingCollapseCommandParams, type IUniverDocsExtConfig, type IUpdateAllDocFieldsCommandParams, type IUpdateDocCalloutCommandParams, type IUpdateDocChartCommandParams, type IUpdateDocColumnGroupCommandParams, type IUpdateDocHyperlinkCommandParams, type IUpdateDocImageTransformCommandParams, type IUpdateDocLatexFormulaCommandParams, type IUpdateDocNoteCommandParams, type IUpdateDocQuoteCommandParams, type IUpdateDocSdtPropertiesCommandParams, type IUpdateDocSdtValueCommandParams, type IUpdateDocShapeCommandParams, type IUpdateDocSmartArtCommandParams, InsertDocAreaCommand, InsertDocBibliographyCommand, InsertDocBookmarkCommand, InsertDocBuildingBlockCommand, InsertDocCalloutCommand, InsertDocCaptionCommand, InsertDocChartCommand, InsertDocCitationCommand, InsertDocCodeBlockCommand, InsertDocColumnGroupCommand, InsertDocCrossReferenceCommand, InsertDocEmbedBlockCommand, InsertDocEndnoteCommand, InsertDocFieldCommand, InsertDocFootnoteCommand, InsertDocHyperlinkCommand, InsertDocInlineFormulaCommand, InsertDocLabelBadgeCommand, InsertDocLatexFormulaCommand, InsertDocListCommand, InsertDocMedicalFormulaCommand, InsertDocPageBreakCommand, InsertDocQrOrBarcodeBlockCommand, InsertDocQuoteCommand, InsertDocRepeatingSectionCommand, InsertDocSdtCommand, InsertDocSectionBreakCommand, InsertDocShapeCommand, InsertDocSmartArtCommand, InsertDocTableColumnCommand, InsertDocTableOfContentsCommand, InsertDocTableRowCommand, InsertDocTitleCommand, InsertHorizontalDividerCommand, InsertStyledSeparatorCommand, JumpDocSdtControlCommand, type LatexAstNode, MAX_CASCADE_ITERATIONS, MergeDocTableCellsCommand, RecalculateDocInlineFormulasCommand, RecordDocRevisionCommand, RefreshDocTableOfContentsCommand, RemoveDocBookmarkCommand, RemoveDocCalloutCommand, RemoveDocCascadeRuleCommand, RemoveDocChartCommand, RemoveDocEmbedBlockCommand, RemoveDocLabelBadgeCommand, RemoveDocLatexFormulaCommand, RemoveDocQuoteCommand, RemoveDocShapeCommand, RemoveDocSmartArtCommand, RemoveDocTableOfContentsCommand, ReplaceDocUnitSnapshotCommand, ReplyDocCommentCommand, ResolveDocCommentCommand, ResolveDocRevisionCommand, RestoreDocVersionCommand, SaveDocVersionCommand, SetDocActiveRoleCommand, SetDocAreaBadgeCommand, SetDocAreaPropertiesCommand, SetDocAreaValueCommand, SetDocCascadeRulesCommand, SetDocCopyPastePolicyCommand, SetDocCustomPropertiesCommand, SetDocListGlyphTypeCommand, SetDocListLevelCommand, SetDocMainBadgeCommand, SetDocModeCommand, SetDocNoteSettingsCommand, SetDocPrintConfigCommand, SetDocSectionOrientationCommand, SetDocTableBorderPresetCommand, SetDocTableCellPropertiesCommand, SetDocTableRepeatHeaderCommand, SetDocTableRowLoopCommand, SetDocTextDirectionCommand, SetDocTitlePropertiesCommand, SetDocTrackChangesCommand, SetParagraphBorderAndShadingCommand, SetParagraphPaginationCommand, SetParagraphTabStopsCommand, SortDocTableCommand, SplitDocTableCellCommand, SyncDocAuxStateMutation, ToggleDocListCheckboxCommand, ToggleDocSubscriptCommand, ToggleDocSuperscriptCommand, ToggleHeadingCollapseCommand, UNIVER_DOCS_EXT_PLUGIN_NAME, UNIVER_DOC_CHART_PALETTE, UniverDocsExtPlugin, UpdateAllDocFieldsCommand, UpdateDocCalloutCommand, UpdateDocChartCommand, UpdateDocColumnGroupCommand, UpdateDocHyperlinkCommand, UpdateDocImageTransformCommand, UpdateDocLatexFormulaCommand, UpdateDocNoteCommand, UpdateDocQuoteCommand, UpdateDocSdtPropertiesCommand, UpdateDocSdtValueCommand, UpdateDocShapeCommand, UpdateDocSmartArtCommand, YUDAO_DOCS_TEMPLATE_RESOURCE, addDocCascadeRuleInSnapshot as addDocCascadeRule, addDocCascadeRuleInSnapshot, addDocCommentInSnapshot, addDocGraffitiStrokeInSnapshot as addDocGraffitiStroke, addDocGraffitiStrokeInSnapshot, applyCopyPolicyToSelectedText, applyDocMacrosInSnapshot as applyDocMacros, applyDocMacrosInSnapshot, applyPictureOrSignatureSdtValueInSnapshot, applyTextStyleToBodySpan, attachSmartArtMetaRangeOnBody, auditContractRisksOffline, autoCropCanvasToPngDataUrl, autoFitDocTableInSnapshot, buildCode128BarcodeSvg, buildLiveDocFormContext, buildMedicalFormulaDataUri, buildMedicalFormulaSvg, buildQrCodeSvg, buildQrMatrix, buildQrOrBarcodeDataUri, buildQrOrBarcodeSvg, buildSdtPropertiesFromSpec, buildStructuredDocData, buildTocBlockLines, buildVisualComparisonSnapshot, canRoleEditSdtControl, cancelHyperlinkInSnapshot, checkDocumentSpellingAndTerms, cleanUpDocFormattingInSnapshot, clearDocGraffitiStrokesInSnapshot as clearDocGraffitiStrokes, clearDocGraffitiStrokesInSnapshot, clearRegisteredDocMacros, compareDocTableCellValues, computeAuthorInitials, computeSdtVisualStyle, computeSignatureBoundingBox, computeToggledMultiOptionValue, convertDocTableToText, convertTextToDocTableInSnapshot, createDocAbortError, decodeImageDataUrlForPdf, deleteColumnGroupFromSnapshot, deleteDocAreaFromSnapshot as deleteDocArea, deleteDocAreaFromSnapshot, deleteDocCommentFromSnapshot, deleteDocNoteFromSnapshot, deleteDocTableColumnInSnapshot, deleteDocTableRowInSnapshot, deleteHyperlinkFromSnapshot, detectAutoTextDirection, diffDocSnapshots, doesDocShortcutMatchEvent, draftContractClauseByPrompt, encodeCode128Bars, encodeUtf8Base64DataUri, estimateDocOffsetPageNumber, evaluateCascadeCondition, evaluateComputedSdtControls, evaluateComputedSdtControlsInPlace, evaluateDocCascadeRules, evaluateDocCascadeRulesInPlace, evaluateDocDateDiff, evaluateDocTableFormulas, evaluateLiveVisibilityClauses, evaluateSafeDocExpression, evaluateVisibleIfCondition, executeBodyUpdateViaRichTextMutation, executeWave2SnapshotUpdateWithUndoRedo, expandRepeatingSectionTemplate, exportBatchDocPdfBytes, exportBatchDocxFiles as exportBatchDocxArchives, exportBatchDocxFiles, exportDocHtmlString, exportDocToMarkdown, exportDocToOdtBytes, exportDocToPdfBytes, exportDocToRtf, exportDocxBytes, extractAnchorTypography, extractDocCatalog, extractDocCatalogTree, extractDocFieldInstruction, extractDocFormValues, extractDocInlinePlaceholders, extractNativeTextSpansFromPdfBytes, fillDatasetIntoDocSnapshot, findAndReplaceDocTextInSnapshot, findMergedMasterInTableRows, flattenCascaderLeafItems, formatCalloutDisplayText, formatDocListMarker, formatDocNoteNumber, formatInlineFormulaResult, formatIsoDateByPattern, formatQuoteDisplayText, formatSdtDisplayText, getCollapsedHeadingsFromSnapshot, getColumnGroupConfigFromSnapshot, getDocAreaBadgeFromSnapshot as getDocAreaBadge, getDocAreaBadgeFromSnapshot, getDocAreaValueFromSnapshot as getDocAreaValue, getDocAreaValueFromSnapshot, getDocAreasFromSnapshot as getDocAreas, getDocAreasFromSnapshot, getDocCascadeRulesFromSnapshot as getDocCascadeRules, getDocCascadeRulesFromSnapshot, getDocCopyPastePolicyFromSnapshot, getDocCustomPropertiesFromSnapshot, getDocEmbedBlocksFromSnapshot as getDocEmbedBlocks, getDocEmbedBlocksFromSnapshot, getDocGraffitiStrokesFromSnapshot as getDocGraffitiStrokes, getDocGraffitiStrokesFromSnapshot, getDocImageTransformFromSnapshot, getDocLabelBadgesFromSnapshot as getDocLabelBadges, getDocLabelBadgesFromSnapshot, getDocListsFromSnapshot, getDocMainBadgeFromSnapshot as getDocMainBadge, getDocMainBadgeFromSnapshot, getDocNoteSettingsFromSnapshot, getDocParagraphDirection, getDocPrintConfigFromSnapshot, getDocTableCellProperties, getDocTableDirection, getDocTitleEntriesFromSnapshot, getDocTitleValueFromSnapshot, extractDocCatalog as getDocumentOutline, getDocumentStatistics, getDocumentStats, getLocalTodayIso, getMultiOptionHitIndexAtOffset, getMultiOptionSpansForSdtControl, getParagraphBorderAndShading, getParagraphPagination, getParagraphTabStops, getDocumentStatistics as getReadabilityStatistics, getRegisteredDocMacros, getStyledSeparatorsFromSnapshot, getTargetDocModel, importHtmlToDocData, importLegacyDocBytes, importMarkdownToDocData, inflateRawSync, insertBibliographyIntoSnapshot, insertBookmarkIntoSnapshot, insertBuildingBlockIntoSnapshot, insertCalloutIntoSnapshot, insertCaptionIntoSnapshot, insertCitationIntoSnapshot, insertColumnGroupInSnapshot, insertCrossReferenceIntoSnapshot, insertDocAreaInSnapshot as insertDocArea, insertDocAreaInSnapshot, insertDocEmbedBlockInSnapshot as insertDocEmbedBlock, insertDocEmbedBlockInSnapshot, insertDocFieldIntoSnapshot, insertDocLabelBadgeInSnapshot as insertDocLabelBadge, insertDocLabelBadgeInSnapshot, insertDocListInSnapshot, insertDocNoteIntoSnapshot, insertDocTableColumnInSnapshot, insertDocTableRowInSnapshot, insertDocTitleInSnapshot, insertHorizontalDividerInSnapshot, insertHyperlinkIntoSnapshot, insertInlineDrawingIntoSnapshot, insertInlineFormulaIntoSnapshot, insertPageBreakInSnapshot, insertQuoteIntoSnapshot, insertSdtControlIntoBody, insertSectionBreakInSnapshot, insertSmartArtIntoSnapshot, insertStyledSeparatorInSnapshot as insertStyledSeparator, insertStyledSeparatorInSnapshot, insertSyntaxCodeBlockIntoSnapshot, insertTableOfContentsIntoSnapshot, inspectDocxExportCapabilities, isDynamicPageFieldInstruction, isEditBlockedByTitleLock, isOffsetInLockedTableCell, isOffsetLockedByGroupSdt, isOffsetReadonlyByArea, layoutLatexFormulaWidget, layoutMedicalFormulaWidget, listDocBookmarks, listDocCallouts, listDocCaptions, listDocCitations, listDocCommentsFromSnapshot, listDocFields, listDocHyperlinks, listDocInlineFormulas, listDocNotesFromSnapshot, listDocQuotes, listDocSdtControls, listDocTables, listLiveDocCharts, listLiveDocShapes, listLiveLatexFormulas, listLiveSmartArts, matchSdtHighlightRule, mergeDocTableCellsInSnapshot, normalizeDocDrawingsAndPluginResource, normalizeImageDataUriForSdt, normalizeMacroName, normalizeSdtListItems, numberToChineseUpperMoney, parseDateRangePair, parseDocBindingKey, parseDocxBytesToDocData, parseDocxBytesWithReport, parseFieldInstrString, parseIsoDateForExpr, parseLatexMathAst, parseParagraphBorderLine, parseSdtRangeToResolved, parseTableRowsInStream, readDocTemplateMetadataFromSnapshot, recalculateInlineFormulasInPlace, reconcileTemplateMetadataWithLiveSnapshot, recordDocTrackRevisionOnSnapshot, refreshTableOfContentsInSnapshot, registerDocMacro, reinitializeDocHeaderFooterModels, removeBookmarkFromSnapshot, removeCalloutFromSnapshot, removeDocCascadeRuleFromSnapshot as removeDocCascadeRule, removeDocCascadeRuleFromSnapshot, removeDocEmbedBlockFromSnapshot as removeDocEmbedBlock, removeDocEmbedBlockFromSnapshot, removeDocLabelBadgeFromSnapshot as removeDocLabelBadge, removeDocLabelBadgeFromSnapshot, removeInlineDrawingBlockFromBody, removeQuoteFromSnapshot, removeTableOfContentsFromSnapshot, renderDocChartSvg, renderDocChartToSvgDataUri, renderDocEmbedBlockCardSvg, renderDocLabelBadgeSvg, renderDocShapeSvg, renderDocShapeToSvgDataUri, renderLatexToSvg, renderLatexToSvgDataUri, renderSignatureStrokesToSvgDataUri, renderSmartArtSvg, renderSmartArtToSvgDataUri, exportDocHtmlString as renderStructuredDocHtml, renderStyledSeparatorSvg, renumberDocNotesInPlace, replyDocCommentInSnapshot, resolveActiveInsertOffset, resolveBarcodeBlockPayload, resolveBodyOffsetTypography, resolveCalloutPresetTheme, resolveCascaderPath, resolveDocCommentInSnapshot, resolveDocTrackRevisionOnSnapshot, resolveEffectiveSdtAffixes, resolveLabelBadgePalette, resolveListIdGlyphType, resolveLiveDocAreaSpan, resolvePathValue, resolveRangeAnchorTypography, resolveSegmentBodyInSnapshot, resolveSeparatorDimensions, resolveTableHeaderRowCount, resolveUnderlineCssStyle, runMailMergeBatchOnSnapshot, sanitizeDocEmbedUrl, sanitizeDocHyperlinkUrl, setDocAreaBadgeInSnapshot as setDocAreaBadge, setDocAreaBadgeInSnapshot, setDocAreaPropertiesInSnapshot as setDocAreaProperties, setDocAreaPropertiesInSnapshot, setDocAreaValueInSnapshot as setDocAreaValue, setDocAreaValueInSnapshot, setDocCascadeRulesInSnapshot as setDocCascadeRules, setDocCascadeRulesInSnapshot, setDocCopyPastePolicyInSnapshot, setDocCustomPropertiesInSnapshot, setDocListGlyphTypeInSnapshot, setDocListLevelInSnapshot, setDocMainBadgeInSnapshot as setDocMainBadge, setDocMainBadgeInSnapshot, setDocNoteSettingsInSnapshot, setDocPrintConfigInSnapshot, setDocTableBorderPresetInSnapshot, setDocTableCellPropertiesInSnapshot, setDocTableRepeatHeaderInSnapshot, setDocTextDirectionInSnapshot, setDocTitlePropertiesInSnapshot, setParagraphBorderAndShadingInSnapshot, setParagraphPaginationInSnapshot, setParagraphTabStopsInSnapshot, setSectionOrientationInSnapshot, shiftTrackRevisions, sortDocTableByColumnInSnapshot, spliceDocumentBodySpan, spliceMultiParagraphBodySpan, splitDocTableCellInSnapshot, stripDocEditorChromeForView, stripSdtAffixes, summarizeDocTemplate, syncDocDrawingsToUniverServices, syncSnapshotAuxFields, toControlSpecSnapshot, toggleDocListCheckboxInSnapshot, toggleDocScriptInSnapshot, toggleHeadingCollapseInSnapshot, tokenizeCodeLineForHighlight, unregisterDocMacro, updateAllDocFieldsInSnapshot, updateCalloutInSnapshot, updateColumnGroupInSnapshot, updateDocImageTransformInSnapshot, updateDocNoteInSnapshot, updateHyperlinkInSnapshot, updateQuoteInSnapshot, updateSmartArtInSnapshot, validateDocForm, validateSdtValueBySpec, writeDocTemplateMetadataToSnapshot, writeSegmentBodyInSnapshot };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yudaocode/univer-docs",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.217",
|
|
4
4
|
"description": "Univer Docs enterprise enhancement core plugin: structured SDT controls, table row loop & dataset template engine, view mode & pluggable DOCX/Markdown/HTML IO adapter",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://github.com/yudaocode/yudao-univer#readme",
|