@yudaocode/univer-docs 1.6.210 → 1.6.212
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 +209 -0
- package/fixtures/word-template-protocol-v1.json +9135 -0
- package/lib/cjs/index.js +2820 -576
- package/lib/cjs/index.js.map +1 -1
- package/lib/es/index.js +3226 -973
- package/lib/es/index.js.map +1 -1
- package/lib/types/index.d.ts +89 -11
- package/package.json +5 -2
package/lib/types/index.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import * as _univerjs_core from '@univerjs/core';
|
|
2
|
-
import { ISdtListItem, ICommand, IMutation, IAccessor, DocumentDataModel, IDocumentData, IDocumentBody, ITextStyle, Disposable, IDisposable, Plugin,
|
|
2
|
+
import { ISdtListItem, ICommand, IMutation, IAccessor, DocumentDataModel, IDocumentData, IDocumentBody, Injector, ITextStyle, Disposable, IDisposable, Plugin, IUniverInstanceService, 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";
|
|
6
|
+
declare const DOC_DRAWING_PLUGIN_RESOURCE = "DOC_DRAWING_PLUGIN";
|
|
6
7
|
/**
|
|
7
8
|
* Document working mode:
|
|
8
9
|
* - `design`: full template authoring (edit body, insert/delete SDT controls, bind datasets & row loops)
|
|
@@ -641,7 +642,7 @@ interface IDocPrintConfig {
|
|
|
641
642
|
fromPageNo?: number;
|
|
642
643
|
startPageNo?: number;
|
|
643
644
|
}
|
|
644
|
-
type DocImageWrapType = 'inline' | 'square' | 'tight' | 'topAndBottom' | 'behindText' | 'inFrontOfText';
|
|
645
|
+
type DocImageWrapType = 'inline' | 'square' | 'tight' | 'through' | 'polygon' | 'topAndBottom' | 'behindText' | 'inFrontOfText';
|
|
645
646
|
interface IDocImageCropSpec {
|
|
646
647
|
left: number;
|
|
647
648
|
top: number;
|
|
@@ -654,6 +655,8 @@ interface IDocImageTransformSpec {
|
|
|
654
655
|
wrapType?: DocImageWrapType;
|
|
655
656
|
posOffsetH?: number;
|
|
656
657
|
posOffsetV?: number;
|
|
658
|
+
alignH?: 'left' | 'center' | 'right' | 'inside' | 'outside';
|
|
659
|
+
alignV?: 'top' | 'center' | 'bottom' | 'inside' | 'outside';
|
|
657
660
|
relativeFromH?: string;
|
|
658
661
|
relativeFromV?: string;
|
|
659
662
|
distT?: number;
|
|
@@ -678,7 +681,7 @@ interface IDocSmartArtSpec {
|
|
|
678
681
|
width?: number;
|
|
679
682
|
height?: number;
|
|
680
683
|
}
|
|
681
|
-
type DocFieldType = 'PAGE' | 'NUMPAGES' | 'DATE' | 'TIME' | 'AUTHOR' | 'FILENAME' | 'SEQ' | 'REF' | 'DOCPROPERTY' | 'COMPANY' | 'TITLE';
|
|
684
|
+
type DocFieldType = 'PAGE' | 'NUMPAGES' | 'SECTIONPAGES' | 'DATE' | 'TIME' | 'AUTHOR' | 'FILENAME' | 'SEQ' | 'REF' | 'DOCPROPERTY' | 'COMPANY' | 'TITLE';
|
|
682
685
|
interface IDocFieldContext {
|
|
683
686
|
page?: number;
|
|
684
687
|
numPages?: number;
|
|
@@ -696,6 +699,9 @@ interface IDocFieldEntry {
|
|
|
696
699
|
instructionArgs?: string;
|
|
697
700
|
instrText: string;
|
|
698
701
|
value: string;
|
|
702
|
+
sourceKind?: 'simple' | 'complex';
|
|
703
|
+
preserveStyle?: boolean;
|
|
704
|
+
segmentId?: string;
|
|
699
705
|
startIndex?: number;
|
|
700
706
|
endIndex?: number;
|
|
701
707
|
}
|
|
@@ -1045,7 +1051,7 @@ interface IDocAddGraffitiStrokeSpec {
|
|
|
1045
1051
|
}
|
|
1046
1052
|
type IDocReportTemplateMetadata = IDocTemplateMetadata;
|
|
1047
1053
|
interface IDocImportWarning {
|
|
1048
|
-
code: 'UNSUPPORTED_SHAPE' | 'UNSUPPORTED_TEXTBOX' | 'UNSUPPORTED_SMARTART' | 'UNSUPPORTED_FIELD' | 'UNSUPPORTED_NOTE' | 'UNSUPPORTED_COMMENT_TRACK' | 'UNSUPPORTED_EMBED' | 'MULTI_SECTION_FLATTENED' | 'FLOATING_IMAGE_INLINE' | 'COMPLEX_NUMBERING_SIMPLIFIED';
|
|
1054
|
+
code: 'UNSUPPORTED_SHAPE' | 'UNSUPPORTED_TEXTBOX' | 'UNSUPPORTED_SMARTART' | 'UNSUPPORTED_FIELD' | 'UNSUPPORTED_NOTE' | 'UNSUPPORTED_COMMENT_TRACK' | 'UNSUPPORTED_EMBED' | 'MULTI_SECTION_FLATTENED' | 'FLOATING_IMAGE_INLINE' | 'COMPLEX_NUMBERING_SIMPLIFIED' | 'SERVER_IMPORT_WARNING' | (string & {});
|
|
1049
1055
|
message: string;
|
|
1050
1056
|
count?: number;
|
|
1051
1057
|
}
|
|
@@ -1986,12 +1992,18 @@ declare const SetDocTitlePropertiesCommand: ICommand<ISetDocTitlePropertiesComma
|
|
|
1986
1992
|
declare const ALL_DOC_ROUND3_COMMANDS: ICommand[];
|
|
1987
1993
|
|
|
1988
1994
|
declare function getTargetDocModel(accessor: IAccessor, unitId?: string): DocumentDataModel | null;
|
|
1995
|
+
declare function reinitializeDocHeaderFooterModels(docModel: DocumentDataModel): void;
|
|
1996
|
+
/**
|
|
1997
|
+
* Normalizes `snapshot` drawings + `DOC_DRAWING_PLUGIN` resource and synchronizes them into live
|
|
1998
|
+
* Univer `DocumentDataModel.resetDrawing` and `IResourceManagerService` (`DOC_DRAWING_PLUGIN` `onLoad`).
|
|
1999
|
+
*/
|
|
2000
|
+
declare function syncDocDrawingsToUniverServices(injector: IAccessor | Injector, unitId: string, snapshot: Partial<IDocumentData>): void;
|
|
1989
2001
|
declare function syncSnapshotAuxFields(docModel: DocumentDataModel, nextSnapshot: Partial<IDocumentData>): void;
|
|
1990
2002
|
/**
|
|
1991
2003
|
* Applies `nextBody` via `RichTextEditingMutation` so Univer's skeleton, canvas layout,
|
|
1992
2004
|
* selection state, and `IUndoRedoService` undo/redo stack stay 100% synchronized.
|
|
1993
2005
|
*/
|
|
1994
|
-
declare function executeBodyUpdateViaRichTextMutation(accessor: IAccessor, docModel: DocumentDataModel, nextBody: IDocumentBody, cursorOffset?: number, bypassContentLock?: boolean, allowInViewMode?: boolean): boolean;
|
|
2006
|
+
declare function executeBodyUpdateViaRichTextMutation(accessor: IAccessor, docModel: DocumentDataModel, nextBody: IDocumentBody, cursorOffset?: number, bypassContentLock?: boolean, allowInViewMode?: boolean, forceRecalculate?: boolean): boolean;
|
|
1995
2007
|
interface IInsertDocSdtCommandParams {
|
|
1996
2008
|
unitId?: string;
|
|
1997
2009
|
offset?: number;
|
|
@@ -2276,10 +2288,12 @@ declare function parseDocxBytesWithReport(bytes: Uint8Array, title?: string): Pr
|
|
|
2276
2288
|
*/
|
|
2277
2289
|
declare function parseDocxBytesToDocData(bytes: Uint8Array, title?: string): Promise<IDocumentData>;
|
|
2278
2290
|
|
|
2279
|
-
type DocExportFormat = 'docx' | 'html' | 'pdf' | 'json' | 'rtf' | 'odt' | 'doc' | 'md';
|
|
2291
|
+
type DocExportFormat = 'docx' | 'html' | 'pdf' | 'json' | 'rtf' | 'odt' | 'doc' | 'md' | 'txt';
|
|
2292
|
+
declare const DOC_IO_CAPABILITY_FORMATS: readonly ["docx", "doc", "rtf", "odt", "md", "html", "pdf", "txt", "json"];
|
|
2293
|
+
type DocIoCapabilityFormat = (typeof DOC_IO_CAPABILITY_FORMATS)[number];
|
|
2280
2294
|
/**
|
|
2281
2295
|
* Per-operation IO execution target:
|
|
2282
|
-
* - `'auto'` (default): uses `'server'` when a server adapter hook
|
|
2296
|
+
* - `'auto'` (default): uses `'server'` when a server adapter hook supports the format, otherwise `'browser'`
|
|
2283
2297
|
* - `'browser'`: forces local browser engine (zero upload; never silently falls back to server on error)
|
|
2284
2298
|
* - `'server'`: forces backend adapter hook (throws `DocIoTargetError` if not configured; never silently falls back to browser)
|
|
2285
2299
|
*/
|
|
@@ -2290,6 +2304,11 @@ declare class DocIoTargetError extends Error {
|
|
|
2290
2304
|
readonly suggestedFallback: "browser";
|
|
2291
2305
|
constructor(message: string);
|
|
2292
2306
|
}
|
|
2307
|
+
interface IDocIoFormatCapabilityEntry {
|
|
2308
|
+
browser: boolean;
|
|
2309
|
+
server: boolean;
|
|
2310
|
+
defaultTarget: 'browser' | 'server';
|
|
2311
|
+
}
|
|
2293
2312
|
interface IDocIoCapabilities {
|
|
2294
2313
|
browser: {
|
|
2295
2314
|
importDocx: true;
|
|
@@ -2305,12 +2324,19 @@ interface IDocIoCapabilities {
|
|
|
2305
2324
|
exportDoc: boolean;
|
|
2306
2325
|
onSave: boolean;
|
|
2307
2326
|
};
|
|
2327
|
+
defaultIoTarget: DocIoTarget;
|
|
2308
2328
|
recommendedDefaultTarget: 'server' | 'browser';
|
|
2329
|
+
formats: {
|
|
2330
|
+
import: Record<string, IDocIoFormatCapabilityEntry>;
|
|
2331
|
+
export: Record<string, IDocIoFormatCapabilityEntry>;
|
|
2332
|
+
};
|
|
2309
2333
|
}
|
|
2310
2334
|
interface IDocImportOutcomeReport {
|
|
2335
|
+
snapshot: Partial<IDocumentData>;
|
|
2311
2336
|
documentData: Partial<IDocumentData>;
|
|
2312
2337
|
warnings: IDocImportWarning[];
|
|
2313
2338
|
executedBy: 'browser' | 'server';
|
|
2339
|
+
fileName: string;
|
|
2314
2340
|
}
|
|
2315
2341
|
interface IDocImportContext {
|
|
2316
2342
|
unitId?: string;
|
|
@@ -2328,14 +2354,29 @@ interface IDocSaveContext {
|
|
|
2328
2354
|
unitId: string;
|
|
2329
2355
|
snapshot: IDocumentData;
|
|
2330
2356
|
}
|
|
2357
|
+
interface IDocAdapterImportEnvelope {
|
|
2358
|
+
snapshot?: Partial<IDocumentData>;
|
|
2359
|
+
documentData?: Partial<IDocumentData>;
|
|
2360
|
+
warnings?: Array<IDocImportWarning | string>;
|
|
2361
|
+
}
|
|
2362
|
+
type DocAdapterImportResult = Partial<IDocumentData> | IDocAdapterImportEnvelope;
|
|
2331
2363
|
/**
|
|
2332
2364
|
* Pluggable Import / Export / Save IO adapter for `@yudaocode/univer-docs`.
|
|
2333
2365
|
* Built-in pure frontend engine supports `.docx` (with `<w:sdt>` Structured Document Tags),
|
|
2334
|
-
* `.html`, and `.json` out of the box; host apps can override any hook to delegate to backend APIs.
|
|
2366
|
+
* `.html`, `.md`, `.pdf`, and `.json` out of the box; host apps can override any hook to delegate to backend APIs.
|
|
2335
2367
|
*/
|
|
2336
2368
|
interface IDocIoAdapter {
|
|
2337
2369
|
name?: string;
|
|
2338
|
-
|
|
2370
|
+
defaultIoTarget?: DocIoTarget;
|
|
2371
|
+
browserFormats?: {
|
|
2372
|
+
import?: string[];
|
|
2373
|
+
export?: string[];
|
|
2374
|
+
} | boolean;
|
|
2375
|
+
serverFormats?: {
|
|
2376
|
+
import?: string[];
|
|
2377
|
+
export?: string[];
|
|
2378
|
+
};
|
|
2379
|
+
importDoc?: (file: File, context: IDocImportContext) => Promise<DocAdapterImportResult>;
|
|
2339
2380
|
exportDoc?: (context: IDocExportContext) => Promise<Uint8Array | ArrayBuffer | Blob>;
|
|
2340
2381
|
onSave?: (context: IDocSaveContext) => Promise<void> | void;
|
|
2341
2382
|
}
|
|
@@ -2344,6 +2385,8 @@ interface IDocIoService {
|
|
|
2344
2385
|
readonly saved$: Observable<IDocSavedEvent>;
|
|
2345
2386
|
getAdapter(): IDocIoAdapter;
|
|
2346
2387
|
setAdapter(adapter: IDocIoAdapter): void;
|
|
2388
|
+
getDefaultIoTarget(): DocIoTarget;
|
|
2389
|
+
setDefaultIoTarget(target: DocIoTarget): void;
|
|
2347
2390
|
getIoCapabilities(): IDocIoCapabilities;
|
|
2348
2391
|
onBeforeSave(cb: (ev: IDocBeforeSaveEvent) => void | boolean | Promise<void | boolean>, unitId?: string): IDisposable;
|
|
2349
2392
|
onSaved(cb: (ev: IDocSavedEvent) => void, unitId?: string): IDisposable;
|
|
@@ -2368,6 +2411,7 @@ declare const IDocIoService: _univerjs_core.IdentifierDecorator<IDocIoService>;
|
|
|
2368
2411
|
declare class DocIoService extends Disposable implements IDocIoService {
|
|
2369
2412
|
private readonly _adapter$;
|
|
2370
2413
|
private readonly _saved$;
|
|
2414
|
+
private _serviceDefaultIoTarget?;
|
|
2371
2415
|
private _nextHookId;
|
|
2372
2416
|
private readonly _beforeSaveHooks;
|
|
2373
2417
|
private readonly _savedHooks;
|
|
@@ -2378,7 +2422,10 @@ declare class DocIoService extends Disposable implements IDocIoService {
|
|
|
2378
2422
|
onSaved(cb: (ev: IDocSavedEvent) => void, unitId?: string): IDisposable;
|
|
2379
2423
|
getAdapter(): IDocIoAdapter;
|
|
2380
2424
|
setAdapter(adapter: IDocIoAdapter): void;
|
|
2425
|
+
getDefaultIoTarget(): DocIoTarget;
|
|
2426
|
+
setDefaultIoTarget(target: DocIoTarget): void;
|
|
2381
2427
|
getIoCapabilities(): IDocIoCapabilities;
|
|
2428
|
+
private _resolveEffectiveTarget;
|
|
2382
2429
|
importDocWithReport(file: File, options?: {
|
|
2383
2430
|
unitId?: string;
|
|
2384
2431
|
target?: DocIoTarget;
|
|
@@ -2400,6 +2447,8 @@ declare class DocIoService extends Disposable implements IDocIoService {
|
|
|
2400
2447
|
interface IUniverDocsExtConfig {
|
|
2401
2448
|
/** Optional pluggable frontend/backend DOCX, HTML, PDF & JSON IO adapter */
|
|
2402
2449
|
io?: IDocIoAdapter;
|
|
2450
|
+
/** Default IO execution target (`'auto'` | `'browser'` | `'server'`) */
|
|
2451
|
+
defaultIoTarget?: DocIoTarget;
|
|
2403
2452
|
/** Optional pluggable AI Contract Risk Audit & Clause Drafting copilot adapter */
|
|
2404
2453
|
aiCopilot?: IDocAiCopilotAdapter;
|
|
2405
2454
|
/** Initial document mode (`'design'` | `'form'` | `'view'`). `'view'` enforces strict read-only */
|
|
@@ -2752,6 +2801,12 @@ declare function insertSyntaxCodeBlockIntoSnapshot(sourceSnapshot: IDocumentData
|
|
|
2752
2801
|
declare function resolvePathValue(source: Record<string, unknown> | undefined, path?: string): unknown;
|
|
2753
2802
|
declare function readDocTemplateMetadataFromSnapshot(snapshot: Partial<IDocumentData> | null | undefined): IDocTemplateMetadata;
|
|
2754
2803
|
declare function writeDocTemplateMetadataToSnapshot<T extends Partial<IDocumentData>>(snapshot: T, metadata: IDocTemplateMetadata): T;
|
|
2804
|
+
/**
|
|
2805
|
+
* Reconciles `snapshot.drawings` / `snapshot.drawingsOrder` with the `DOC_DRAWING_PLUGIN` entry
|
|
2806
|
+
* in `snapshot.resources`, normalizing `unitId`/`subUnitId`, header/footer `isMultiTransform` + `transforms`,
|
|
2807
|
+
* and numeric `wrapText` codes without mutating `resources` when no drawings exist.
|
|
2808
|
+
*/
|
|
2809
|
+
declare function normalizeDocDrawingsAndPluginResource<T extends Partial<IDocumentData>>(snapshot: T): T;
|
|
2755
2810
|
declare function getLocalTodayIso(): string;
|
|
2756
2811
|
declare function formatIsoDateByPattern(raw: string, format?: string): string;
|
|
2757
2812
|
declare function parseDateRangePair(raw: string): {
|
|
@@ -2763,6 +2818,11 @@ declare function resolveEffectiveSdtAffixes(spec: Pick<IDocSdtControlSpec, 'visu
|
|
|
2763
2818
|
postfix: string;
|
|
2764
2819
|
};
|
|
2765
2820
|
declare function stripSdtAffixes(rawText: string, spec: Pick<IDocSdtControlSpec, 'visualChrome' | 'prefix' | 'postfix' | 'preText' | 'postText'>): string;
|
|
2821
|
+
/**
|
|
2822
|
+
* Strips editor-only SDT placeholder background/text chrome (`#f3f5ff`, `#eeeff1`, `#7d8698`, `#9ca3af`)
|
|
2823
|
+
* on filled SDTs unless `visualChrome === 'highlight'` was explicitly configured.
|
|
2824
|
+
*/
|
|
2825
|
+
declare function stripDocEditorChromeForView(snapshot: IDocumentData): IDocumentData;
|
|
2766
2826
|
declare function extractAnchorTypography(ts: ITextStyle | undefined): Partial<ITextStyle> | undefined;
|
|
2767
2827
|
declare function resolveBodyOffsetTypography(body: IDocumentBody | undefined, offset: number): Partial<ITextStyle> | undefined;
|
|
2768
2828
|
declare function resolveRangeAnchorTypography(body: IDocumentBody | undefined, range: ICustomRange | undefined): Partial<ITextStyle> | undefined;
|
|
@@ -2873,6 +2933,8 @@ declare function fillDatasetIntoDocSnapshot(snapshot: IDocumentData, data: Recor
|
|
|
2873
2933
|
start: number;
|
|
2874
2934
|
end: number;
|
|
2875
2935
|
}>;
|
|
2936
|
+
/** Strip editor-only `#f3f5ff`/`#eeeff1` background chrome on filled SDTs unless `visualChrome === 'highlight'` (default `true`) */
|
|
2937
|
+
cleanFilledChrome?: boolean;
|
|
2876
2938
|
}): IDocumentData;
|
|
2877
2939
|
type DocBuilderSegment = string | {
|
|
2878
2940
|
text: string;
|
|
@@ -2917,6 +2979,9 @@ type DocBuilderSegment = string | {
|
|
|
2917
2979
|
instructionArgs?: string;
|
|
2918
2980
|
instrText: string;
|
|
2919
2981
|
value: string;
|
|
2982
|
+
sourceKind?: 'simple' | 'complex';
|
|
2983
|
+
preserveStyle?: boolean;
|
|
2984
|
+
style?: ITextStyle;
|
|
2920
2985
|
};
|
|
2921
2986
|
} | {
|
|
2922
2987
|
hyperlink: {
|
|
@@ -2946,6 +3011,7 @@ type DocBuilderSegment = string | {
|
|
|
2946
3011
|
interface IDocBuilderParagraphInput {
|
|
2947
3012
|
kind?: 'paragraph';
|
|
2948
3013
|
segments: DocBuilderSegment[];
|
|
3014
|
+
styleId?: string;
|
|
2949
3015
|
paragraphStyle?: Record<string, unknown>;
|
|
2950
3016
|
bullet?: IParagraph['bullet'];
|
|
2951
3017
|
callout?: IDocCalloutBlock;
|
|
@@ -2958,6 +3024,9 @@ interface IDocBuilderTableCellInput {
|
|
|
2958
3024
|
rowSpan?: number;
|
|
2959
3025
|
backgroundRgb?: string;
|
|
2960
3026
|
borders?: IDocTableCellBorders;
|
|
3027
|
+
tcWidthType?: 'auto' | 'dxa' | 'nil' | 'pct';
|
|
3028
|
+
cellSize?: ITableCell['size'];
|
|
3029
|
+
yudaoTcWidthPct?: number;
|
|
2961
3030
|
/** Optional rich multi-paragraph cell content (preserving multi-run styles & nested SDT controls) */
|
|
2962
3031
|
paragraphs?: IDocBuilderParagraphInput[];
|
|
2963
3032
|
}
|
|
@@ -2968,6 +3037,15 @@ interface IDocBuilderTableInput {
|
|
|
2968
3037
|
repeatHeaderRow?: boolean;
|
|
2969
3038
|
headerRowCount?: number;
|
|
2970
3039
|
rows: Array<Array<string | IDocBuilderTableCellInput>>;
|
|
3040
|
+
rowMeta?: Array<{
|
|
3041
|
+
trHeight?: ITableRow['trHeight'];
|
|
3042
|
+
cantSplit?: BooleanNumber;
|
|
3043
|
+
}>;
|
|
3044
|
+
tableSize?: ITable['size'];
|
|
3045
|
+
tableLayout?: ITable['layout'];
|
|
3046
|
+
yudaoTblWidthType?: 'dxa' | 'pct' | 'auto' | 'nil';
|
|
3047
|
+
yudaoTblWidthDxa?: number;
|
|
3048
|
+
yudaoTblWidthPct?: number;
|
|
2971
3049
|
rowLoop?: Omit<IDocTableRowLoopConfig, 'tableId'>;
|
|
2972
3050
|
}
|
|
2973
3051
|
type DocBuilderBlockInput = IDocBuilderParagraphInput | IDocBuilderTableInput;
|
|
@@ -3052,7 +3130,7 @@ declare function buildLiveDocFormContext(snapshot: IDocumentData, extraData?: Re
|
|
|
3052
3130
|
* Evaluates all SDT controls that define `computedExpr` in topological/multi-pass fixed-point order,
|
|
3053
3131
|
* updating their SDT value, display text, and risk highlight styling in-place on `snapshot`.
|
|
3054
3132
|
*/
|
|
3055
|
-
declare function evaluateComputedSdtControlsInPlace(snapshot: IDocumentData, extraData?: Record<string, unknown
|
|
3133
|
+
declare function evaluateComputedSdtControlsInPlace(snapshot: IDocumentData, extraData?: Record<string, unknown>, cleanFilledChrome?: boolean): boolean;
|
|
3056
3134
|
declare function evaluateComputedSdtControls(snapshot: IDocumentData, extraData?: Record<string, unknown>): IDocumentData;
|
|
3057
3135
|
declare function toControlSpecSnapshot(ctrl: IDocResolvedSdtControl): IDocSdtControlSpec;
|
|
3058
3136
|
/**
|
|
@@ -3684,4 +3762,4 @@ declare function setDocTitlePropertiesInSnapshot(sourceSnapshot: IDocumentData,
|
|
|
3684
3762
|
};
|
|
3685
3763
|
declare function isEditBlockedByTitleLock(snapshot: Partial<IDocumentData> | null | undefined, editStart: number, editEndExclusive: number, isDeletion: boolean): boolean;
|
|
3686
3764
|
|
|
3687
|
-
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_HYPERLINK_DEFAULT_COLOR, DOC_TRACK_DELETE_STYLE, DOC_TRACK_INSERT_STYLE, DeleteDocAreaCommand, DeleteDocColumnGroupCommand, DeleteDocCommentCommand, DeleteDocHyperlinkCommand, DeleteDocNoteCommand, DeleteDocSdtCommand, DeleteDocTableColumnCommand, DeleteDocTableRowCommand, DocActionMacroService, 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, 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 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, 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, normalizeImageDataUriForSdt, normalizeMacroName, normalizeSdtListItems, numberToChineseUpperMoney, parseDateRangePair, parseDocxBytesToDocData, parseDocxBytesWithReport, parseFieldInstrString, parseIsoDateForExpr, parseLatexMathAst, parseParagraphBorderLine, parseSdtRangeToResolved, parseTableRowsInStream, readDocTemplateMetadataFromSnapshot, recalculateInlineFormulasInPlace, reconcileTemplateMetadataWithLiveSnapshot, recordDocTrackRevisionOnSnapshot, refreshTableOfContentsInSnapshot, registerDocMacro, 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, stripSdtAffixes, syncSnapshotAuxFields, toControlSpecSnapshot, toggleDocListCheckboxInSnapshot, toggleDocScriptInSnapshot, toggleHeadingCollapseInSnapshot, tokenizeCodeLineForHighlight, unregisterDocMacro, updateAllDocFieldsInSnapshot, updateCalloutInSnapshot, updateColumnGroupInSnapshot, updateDocImageTransformInSnapshot, updateDocNoteInSnapshot, updateHyperlinkInSnapshot, updateQuoteInSnapshot, updateSmartArtInSnapshot, validateDocForm, validateSdtValueBySpec, writeDocTemplateMetadataToSnapshot, writeSegmentBodyInSnapshot };
|
|
3765
|
+
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 };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yudaocode/univer-docs",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.212",
|
|
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",
|
|
@@ -27,7 +27,9 @@
|
|
|
27
27
|
"registry": "https://registry.npmjs.org/"
|
|
28
28
|
},
|
|
29
29
|
"files": [
|
|
30
|
-
"lib"
|
|
30
|
+
"lib",
|
|
31
|
+
"fixtures",
|
|
32
|
+
"WORD_TEMPLATE_PROTOCOL.md"
|
|
31
33
|
],
|
|
32
34
|
"main": "./lib/cjs/index.js",
|
|
33
35
|
"module": "./lib/es/index.js",
|
|
@@ -43,6 +45,7 @@
|
|
|
43
45
|
"import": "./lib/es/facade/index.js",
|
|
44
46
|
"require": "./lib/cjs/facade/index.js"
|
|
45
47
|
},
|
|
48
|
+
"./fixtures/word-template-protocol-v1.json": "./fixtures/word-template-protocol-v1.json",
|
|
46
49
|
"./package.json": "./package.json"
|
|
47
50
|
},
|
|
48
51
|
"peerDependencies": {
|