Под каждым методом идёт строка из четырёх значений — например 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=… |
Группа прав, к которой отнесён метод |
| ::: |
|
Методы на этой странице — 40
completeSaveBeforeClose(payload: { saved: boolean; message?: string | null }): void
web_to_host_event · send · fastdoc-shell:save-before-close-result · capability=view
computeTableAutofitToWindowCommandState(request: D37TableAutofitToWindowRequest): Promise<D37TableAutofitToWindowCommandState>
web_to_host_request_response · invoke · fastdoc-shell:compute-table-autofit-to-window-command-state · capability=view
computeTableCellContentAlignmentCommandState(request: D37TableCellContentAlignmentRequest): Promise<D37TableCellContentAlignmentCommandState>
web_to_host_request_response · invoke · fastdoc-shell:compute-table-cell-content-alignment-command-state · capability=view
computeTableCellExactSizeCommandState(request: D37TableCellExactSizeRequest): Promise<D37TableCellExactSizeCommandState>
web_to_host_request_response · invoke · fastdoc-shell:compute-table-cell-exact-size-command-state · capability=view
computeTableCellMarginsCommandState(request: D37TableCellMarginsRequest): Promise<D37TableCellMarginsCommandState>
web_to_host_request_response · invoke · fastdoc-shell:compute-table-cell-margins-command-state · capability=view
computeTableCellSpacingCommandState(request: D37TableCellSpacingRequest): Promise<D37TableCellSpacingCommandState>
web_to_host_request_response · invoke · fastdoc-shell:compute-table-cell-spacing-command-state · capability=view
computeTableCellTextDirectionCommandState(request: D37TableCellTextDirectionRequest): Promise<D37TableCellTextDirectionCommandState>
web_to_host_request_response · invoke · fastdoc-shell:compute-table-cell-text-direction-command-state · capability=view
computeTableCellTextWrappingCommandState(request: D37TableCellTextWrappingRequest): Promise<D37TableCellTextWrappingCommandState>
web_to_host_request_response · invoke · fastdoc-shell:compute-table-cell-text-wrapping-command-state · capability=view
computeTableCellVerticalAlignmentCommandState(request: D37TableCellVerticalAlignmentRequest): Promise<D37TableCellVerticalAlignmentCommandState>
web_to_host_request_response · invoke · fastdoc-shell:compute-table-cell-vertical-alignment-command-state · capability=view
computeTableFixedColumnWidthCommandState(request: D37TableFixedColumnWidthRequest): Promise<D37TableFixedColumnWidthCommandState>
web_to_host_request_response · invoke · fastdoc-shell:compute-table-fixed-column-width-command-state · capability=view
computeTableFloatingPositionCommandState(request: D37TableFloatingPositionRequest): Promise<D37TableFloatingPositionCommandState>
web_to_host_request_response · invoke · fastdoc-shell:compute-table-floating-position-command-state · capability=view
computeTableSelectionAlignmentCommandState(request: D37TableSelectionAlignmentRequest): Promise<D37TableSelectionAlignmentCommandState>
web_to_host_request_response · invoke · fastdoc-shell:compute-table-selection-alignment-command-state · capability=view
computeTableSelectionAllBordersCommandState(request: D37TableSelectionAllBordersRequest): Promise<D37TableSelectionAllBordersCommandState>
web_to_host_request_response · invoke · fastdoc-shell:compute-table-selection-all-borders-command-state · capability=view
computeTableSelectionCellRangeFormatCommandState(request: D37TableSelectionCellRangeFormatRequest): Promise<D37TableSelectionCellRangeFormatCommandState>
web_to_host_request_response · invoke · fastdoc-shell:compute-table-selection-cell-range-format-command-state · capability=view
computeTableSelectionClearContentFormatCommandState(request: D37TableSelectionClearContentFormatRequest): Promise<D37TableSelectionClearContentFormatCommandState>
web_to_host_request_response · invoke · fastdoc-shell:compute-table-selection-clear-content-format-command-state · capability=view
computeTableSelectionClearContentsCommandState(request: D37TableSelectionClearContentsRequest): Promise<D37TableSelectionClearContentsCommandState>
web_to_host_request_response · invoke · fastdoc-shell:compute-table-selection-clear-contents-command-state · capability=view
computeTableSelectionClearFillCommandState(request: D37TableSelectionClearFillRequest): Promise<D37TableSelectionClearFillCommandState>
web_to_host_request_response · invoke · fastdoc-shell:compute-table-selection-clear-fill-command-state · capability=view
computeTableSelectionClearFormattingCommandState(request: D37TableSelectionClearFormattingRequest): Promise<D37TableSelectionClearFormattingCommandState>
web_to_host_request_response · invoke · fastdoc-shell:compute-table-selection-clear-formatting-command-state · capability=view
computeTableSelectionColumnAutofitCommandState(request: D37TableSelectionColumnAutofitRequest): Promise<D37TableSelectionColumnAutofitCommandState>
web_to_host_request_response · invoke · fastdoc-shell:compute-table-selection-column-autofit-command-state · capability=view
computeTableSelectionEqualizeColumnsCommandState(request: D37TableSelectionEqualizeColumnsRequest): Promise<D37TableSelectionEqualizeColumnsCommandState>
web_to_host_request_response · invoke · fastdoc-shell:compute-table-selection-equalize-columns-command-state · capability=view
computeTableSelectionHeaderRepeatCommandState(request: D37TableSelectionHeaderRepeatRequest): Promise<D37TableSelectionHeaderRepeatCommandState>
web_to_host_request_response · invoke · fastdoc-shell:compute-table-selection-header-repeat-command-state · capability=view
computeTableSelectionInsideBordersCommandState(request: D37TableSelectionInsideBordersRequest): Promise<D37TableSelectionInsideBordersCommandState>
web_to_host_request_response · invoke · fastdoc-shell:compute-table-selection-inside-borders-command-state · capability=view
computeTableSelectionOutsideBordersCommandState(request: D37TableSelectionOutsideBordersRequest): Promise<D37TableSelectionOutsideBordersCommandState>
web_to_host_request_response · invoke · fastdoc-shell:compute-table-selection-outside-borders-command-state · capability=view
computeTableSelectionPencilEraserCommandState(request: D37TableSelectionPencilEraserRequest): Promise<D37TableSelectionPencilEraserCommandState>
web_to_host_request_response · invoke · fastdoc-shell:compute-table-selection-pencil-eraser-command-state · capability=view
computeTableSelectionRowFitCommandState(request: D37TableSelectionRowFitRequest): Promise<D37TableSelectionRowFitCommandState>
web_to_host_request_response · invoke · fastdoc-shell:compute-table-selection-row-fit-command-state · capability=view
computeTableSelectionStructureCommandState(request: D37TableSelectionStructureEditRequest): Promise<D37TableSelectionStructureCommandState>
web_to_host_request_response · invoke · fastdoc-shell:compute-table-selection-structure-command-state · capability=view
computeTableSelectionWidthFitCommandState(request: D37TableSelectionWidthFitRequest): Promise<D37TableSelectionWidthFitCommandState>
web_to_host_request_response · invoke · fastdoc-shell:compute-table-selection-width-fit-command-state · capability=view
computeTableWrappingStyleCommandState(request: D37TableWrappingStyleRequest): Promise<D37TableWrappingStyleCommandState>
web_to_host_request_response · invoke · fastdoc-shell:compute-table-wrapping-style-command-state · capability=view
createTableFromClipboard(request: D37TableCreateRequest): Promise<D37TableCreateResult>
web_to_host_request_response · invoke · fastdoc-shell:create-table-from-clipboard · capability=view
getState(): Promise<ShellBridgeState>
web_to_host_request_response · invoke · fastdoc-shell:get-state · capability=view
notifyUnsavedState(hasUnsavedChanges: boolean): void
web_to_host_event · send · fastdoc-shell:unsaved-state · capability=view
onMenuCommand(callback: (command: MenuCommand) => void): () => void
host_to_web_event · on · fastdoc-shell:menu-command · capability=view
onSaveBeforeClose(callback: () => void): () => void
host_to_web_event · on · fastdoc-shell:save-before-close · capability=view
onSaveBeforeCloseFailed(callback: (payload: { message: string }) => void): () => void
host_to_web_event · on · fastdoc-shell:save-before-close-failed · capability=view
onStateChanged(callback: (state: ShellBridgeState) => void): () => void
host_to_web_event · on · fastdoc-shell:state-changed · capability=view
onSystemPaste(callback: (payload: SystemPastePayload) => void): () => void
host_to_web_event · on · fastdoc-shell:system-paste · capability=view
openExternalHyperlink(target: string): Promise<OpenExternalHyperlinkResult>
web_to_host_request_response · invoke · fastdoc-shell:open-external-hyperlink · capability=view
readEditorClipboardText(): Promise< SystemPastePayload & { length: number;
reserveConfig?: { cycles: number;
richPayloadBytes: number } | null;
externalSource?: string | null;
web_to_host_request_response · invoke · fastdoc-shell:read-editor-clipboard-text · capability=view
revealPath(path: string): Promise<ShellRevealPathResult>
web_to_host_request_response · invoke · fastdoc-shell:reveal-path · capability=view
writeEditorClipboardText(text: string, representations?: { html?: string | null;
internalJson?: string | null }): Promise<{ written: boolean;
web_to_host_request_response · invoke · fastdoc-shell:write-editor-clipboard-text · capability=view