Под каждым методом идёт строка из четырёх значений — например web_to_host_request_response · invoke · fastdoc-shell:get-state · capability=document.
| Значение |
Что означает |
web_to_host_request_response |
Окно редактора спрашивает оболочку приложения и ждёт ответа |
web_to_host_event |
Окно редактора сообщает оболочке и ответа не ждёт |
host_to_web_event |
Оболочка сообщает окну редактора; на такие методы подписываются |
invoke, send, on |
Способ обмена: запрос с ответом, отправка без ответа, подписка |
fastdoc-shell:… |
Имя канала, по которому идёт сообщение |
capability=… |
Группа прав, к которой отнесён метод |
| ::: |
|
Методы на этой странице — 20
clearCompareDocx(): Promise<{ cleared: boolean }>
web_to_host_request_response · invoke · fastdoc-shell:clear-compare-docx · capability=document
copyCurrentImageWorkflowImage(request?: ShellExportCurrentImageWorkflowImagesRequest): Promise<ShellCopyCurrentImageWorkflowImageResult>
web_to_host_request_response · invoke · fastdoc-shell:copy-current-image-workflow-image · capability=document
copyShareText(text: string): Promise<ShellShareClipboardResult>
web_to_host_request_response · invoke · fastdoc-shell:copy-share-text · capability=document
exportCurrentDocumentImages(request: ShellExportCurrentDocumentImagesRequest & { renderedCanvas: ShellSaveRenderedCanvasImagesRequest; }): Promise<ShellSaveRenderedCanvasImagesResult>
exportCurrentDocumentImages(request?: ShellExportCurrentDocumentImagesRequest): Promise<ShellExportCurrentDocumentImagesResult>
web_to_host_request_response · invoke · fastdoc-shell:export-current-document-images · capability=document
exportCurrentImageWorkflowImages(request?: ShellExportCurrentImageWorkflowImagesRequest): Promise<ShellExportCurrentDocumentImagesResult>
web_to_host_request_response · invoke · fastdoc-shell:export-current-image-workflow-images · capability=document
getCurrentDocumentTruth(): Promise<CurrentDocumentTruthViewerData>
web_to_host_request_response · invoke · fastdoc-shell:get-current-document-truth · capability=document
getCurrentDrawingMlWorkflow(): Promise<Record<string, unknown>>
web_to_host_request_response · invoke · fastdoc-shell:get-current-drawingml-workflow · capability=document
getCurrentImageWorkflow(): Promise<Record<string, unknown>>
web_to_host_request_response · invoke · fastdoc-shell:get-current-image-workflow · capability=document
getCurrentImageWorkflowExportPlan(request?: ShellCurrentImageWorkflowExportPlanRequest): Promise<ShellCurrentImageWorkflowExportPlan>
web_to_host_request_response · invoke · fastdoc-shell:get-current-image-workflow-export-plan · capability=document
notifyDocumentRendered(renderedPath: string | null): void
web_to_host_event · send · fastdoc-shell:document-rendered · capability=document
openCompareDocxPath(path: string): Promise<{ opened: boolean; path: string }>
web_to_host_request_response · invoke · fastdoc-shell:open-compare-docx-path · capability=document
openDocxPath(path: string, source?: "file-menu" | "drop" | "recent" | "outline-history"): Promise<{ opened: boolean;
reentryReceipt?: FileSessionReentryReceipt;
web_to_host_request_response · invoke · fastdoc-shell:open-docx-path · capability=document
openEditorV0UserCopyDialog(request?: { path?: string | null;
}): Promise<{ canceled: boolean;
web_to_host_request_response · invoke · fastdoc-shell:open-editor-v0-user-copy-dialog · capability=document
pathExists(path: string): Promise<{ path: string; exists: boolean }>
web_to_host_request_response · invoke · fastdoc-shell:path-exists · capability=document
prepareEditorV0QuickPrintPlan(request?: EditorV0QuickPrintPlanRequest): Promise<EditorV0QuickPrintPlanResult>
web_to_host_request_response · invoke · fastdoc-shell:prepare-editor-v0-quick-print-plan · capability=document
reopenEditorV0TextContinueCopy(request?: { outputKind?: |
| "editor-v0-text-continue-commands"
| "editor-v0-save-as-dialog"
| "editor-v0-nonblocking-typing"
| "editor-v0-double-space-period-autocorrect"
| "editor-v0-selection-replace"
| "editor-v0-selection-edit-2"
| "editor-v0-selection-edit-3"
| "editor-v0-selection-edit-4"
| "editor-v0-save-open-loop"
| "editor-v0-autosave-toggle-action"
| "editor-v0-open-saved-copy-ui"
| "editor-v0-multistep-undo"
| "editor-v0-save-copy-shortcuts"
| "editor-v0-save-copy-destination-polish"
| "editor-v0-save-copy-as-user-path"
| "editor-v0-quick-save-copy-action"
| "editor-v0-quick-open-copy-action"
| "editor-v0-quick-open-docx-action"
| "editor-v0-open-user-copy-dialog"
| "editor-v0-save-open-recent-copy"
| "editor-v0-formatted-run-edit"
| "editor-v0-formatted-selection-edit"
| "editor-v0-formatted-text-tranche"
| "editor-v0-formatted-selection-ui"
| "editor-v0-formatted-selection-controls"
| "editor-v0-run-boundary-edit"
| "editor-v0-run-boundary-edit-controls"
| "editor-v0-run-boundary-insert-controls"
| "editor-v0-run-boundary-text-input-controls"
| "editor-v0-cross-run-selection-input"
| "editor-v0-paragraph-split-merge"
| "editor-v0-paragraph-text-flow"
| "editor-v0-paragraph-text-flow-commands"
| "editor-v0-styled-paragraph-flow"
| "editor-v0-styled-paragraph-merge-controls"
| "editor-v0-styled-paragraph-text-after-merge"
| "editor-v0-paragraph-boundary-insert"
| "editor-v0-paragraph-boundary-delete-controls"
| "editor-v0-user-paragraph-boundary-edit"
| "editor-v0-user-paragraph-multiline-flow"
| "editor-v0-styled-multiline-boundary-edit"
| "editor-v0-toolbar-format-commands-bounded"
| "editor-v0-toolbar-format-commands-italic-blue"
| "editor-v0-home-chr-tranche2-market"
| "editor-v0-font-family-size-commands"
| "editor-v0-text-case-toolbar-command"
| "editor-v0-format-toolbar-multi-command-chain"
| "editor-v0-format-clear-command"
| "editor-v0-format-clear-partial-selection"
| "editor-v0-format-apply-partial-selection"
| "editor-v0-mixed-format-selection-workflow"
| "editor-v0-mixed-format-clear-or-paste-rules"
| "editor-v0-mixed-format-paste-rules"
| "editor-v0-clipboard-copy-cut-paste"; path?: string | null; transientTableEdit?: boolean; canonicalHistoryTransitionKind?: | "table-cell-semantic-undo" | "table-cell-semantic-redo"; expectedClipboardFingerprint?: string | null; expectedDocumentPath?: string | null; canonicalOwnerReceipt?: { schema: "fastdoc.persistent-save-checkpoint-receipt.v1";
acceptedRevision: number;
publishedModelHash: string;
targetIdentity: PublishedTargetIdentity;
} | null; }): Promise<{ opened: boolean; path: string; text?: string | null }>
web_to_host_request_response · invoke · fastdoc-shell:reopen-editor-v0-text-continue-copy · capability=document
selectCurrentImageWorkflowReplacementImage(): Promise<{ canceled: boolean; path: string | null; }>
web_to_host_request_response · invoke · fastdoc-shell:select-current-image-workflow-replacement-image · capability=document
selectEditorV0InsertImageObjectImage(): Promise<{ canceled: boolean; path: string | null; }>
web_to_host_request_response · invoke · fastdoc-shell:select-editor-v0-insert-image-object-image · capability=document
selectEditorV0InsertObjectTextFileSource(): Promise<EditorV0InsertObjectTextFileSourceResult>
web_to_host_request_response · invoke · fastdoc-shell:select-editor-v0-insert-object-text-file-source · capability=document
writeJsonFile(path: string, data: unknown): Promise<{ path: string; written: boolean; bytes: number }>
web_to_host_request_response · invoke · fastdoc-shell:write-json-file · capability=document