@docx-editor.dev/react 2.31.0 → 2.33.0

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/dist/index.d.ts CHANGED
@@ -10,14 +10,15 @@
10
10
  */
11
11
  import * as react from 'react';
12
12
  import react__default, { ReactNode, CSSProperties, ReactElement, ComponentType, ButtonHTMLAttributes, ForwardRefExoticComponent, RefAttributes, HTMLAttributes, Ref } from 'react';
13
- import { RevisionMarkupDialogSession, ResolvedRevisionMarkup, RevisionMarkupOptions, ChromeExportFormat, InvalidTextFormFieldSession, ContentControlWidgetSession, CalendarMonth, ContentControlListNavigation, CalendarDay, TextFormFieldDialogSession, RevisionAuthorStyle, ParagraphDialogFields, ParagraphDialogMixed, BookmarkSortOrder, ChromeMenuId, ChromeSlotId, ChromeMenuEntry, DocxEditorInstance, FontConfigurationFragment, FontResolver, FontShapingOptions, EditorModule, ReviewDisplayMode, FieldResultsMode, ContentLockPolicy, LockedControlNavigation, ImageDecodePort, ChromeGroupId, SupportedImageMime, TableChromeSlotId, ChromeExportHandlers, DocumentSearchHighlight, DocumentSearchFindOptions, SurfaceHyperlink, FontOrigin, MarkedFontResolver, ReviewAuthorInfo, EditorCommandExecute, ToolbarValueMap, HighlightSource, ParagraphFormatRead, ParagraphFormatUpdate, TextMeasurer, PaginatedSurfaceState, NavigationCommand, SurfaceFormatting, SectionProperties, RulerIndent, HistoryGroupBindingOptions } from '@docx-editor.dev/core/editor';
14
- export { CHROME_GROUPS, CHROME_MENUS, ChromeExportFormat, ChromeExportHandlers, ChromeMenu, ChromeMenuEntry, ChromeMenuId, ChromeMenuItemEntry, ChromeMenuSeparatorEntry, ChromeMenuSubmenuEntry, ChromeSlotId, ClearRefreshHighlightsOptions, DEFAULT_FONT, DocumentRefresh, DocumentRefreshError, DocumentRefreshState, DocumentSearchFindOptions, DocumentSearchHighlight, DocumentSearchNavigateOptions, DocumentSearchOptions, FontConfigurationBase, FontConfigurationFragment, FontLoadFailure, FontLoadFailureReason, FontOrigin, FontResolutionRequest, FontResolver, FontResolverMark, FontUrlSource, HIGHLIGHT_REFRESH_MS, HighlightSource, ImageWrapTarget, LOADING_SNAPSHOT, LoadFontsRequest, LoadFontsResult, MAX_RESOLVER_FAMILIES, MarkedFontResolver, NavigateToChangeOptions, PX_PER_CM, PX_PER_INCH, ParagraphFlagState, ParagraphFormatRead, ParagraphFormatUpdate, ParagraphTabStop, RefreshChange, RefreshChangeInput, RefreshFailureCode, RefreshHighlightAnimation, RefreshHighlightOptions, RefreshLocation, RefreshResult, RefreshSubmission, RefreshUpdate, ResolvedRevisionMarkup, ReviewAuthorInfo, ReviewDisplayMode, RevisionAuthorAssignments, RevisionAuthorStyle, RevisionChangedLinesMark, RevisionDeletionMark, RevisionMarkupChromeHandlers, RevisionMarkupColor, RevisionMarkupDialogSession, RevisionMarkupMark, RevisionMarkupNamedColor, RevisionMarkupOptions, RevisionStyles, RulerTick, RulerUnit, SEARCH_DEBOUNCE_MS, SEARCH_HIGHLIGHT_PRIORITY, SEARCH_HIGHLIGHT_SET, SEARCH_MATCH_LIMIT, ToolbarCommandState, WORD_DEFAULT_FONT, chromeMenuSlots, commandForSlot, composeFontConfiguration, composeFontOrigins, createDocumentRefresh, createFontSource, defineFontResolver, generateRulerTicks, isFontResolver, loadFonts, rulerPageBox, runToolbarCommand, toolbarCommandState } from '@docx-editor.dev/core/editor';
13
+ import { UnsupportedElementRule, UnsupportedElement, RevisionMarkupDialogSession, ResolvedRevisionMarkup, RevisionMarkupOptions, ChromeExportFormat, InvalidTextFormFieldSession, ContentControlWidgetSession, CalendarMonth, ContentControlListNavigation, CalendarDay, TextFormFieldDialogSession, RevisionAuthorStyle, ParagraphDialogFields, ParagraphDialogMixed, BookmarkSortOrder, SplitCellLimits, ChromeMenuId, ChromeSlotId, ChromeMenuEntry, DocxEditorInstance, FontConfigurationFragment, FontResolver, FontShapingOptions, EditorModule, ReviewDisplayMode, FieldResultsMode, ContentLockPolicy, LockedControlNavigation, ImageDecodePort, ChromeGroupId, SupportedImageMime, TableChromeSlotId, ChromeExportHandlers, DocumentSearchHighlight, DocumentSearchFindOptions, SurfaceHyperlink, FontOrigin, MarkedFontResolver, ReviewAuthorInfo, EditorCommandExecute, ToolbarValueMap, HighlightSource, ParagraphFormatRead, ParagraphFormatUpdate, TextMeasurer, PaginatedSurfaceState, NavigationCommand, SurfaceFormatting, SectionProperties, RulerIndent, HistoryGroupBindingOptions } from '@docx-editor.dev/core/editor';
14
+ export { CHROME_GROUPS, CHROME_MENUS, ChromeExportFormat, ChromeExportHandlers, ChromeMenu, ChromeMenuEntry, ChromeMenuId, ChromeMenuItemEntry, ChromeMenuSeparatorEntry, ChromeMenuSubmenuEntry, ChromeSlotId, ClearRefreshHighlightsOptions, DEFAULT_FONT, DocumentRefresh, DocumentRefreshError, DocumentRefreshState, DocumentSearchFindOptions, DocumentSearchHighlight, DocumentSearchNavigateOptions, DocumentSearchOptions, FontConfigurationBase, FontConfigurationFragment, FontLoadFailure, FontLoadFailureReason, FontOrigin, FontResolutionRequest, FontResolver, FontResolverMark, FontUrlSource, HIGHLIGHT_REFRESH_MS, HighlightSource, ImageWrapTarget, LOADING_SNAPSHOT, LoadFontsRequest, LoadFontsResult, MAX_RESOLVER_FAMILIES, MarkedFontResolver, NavigateToChangeOptions, PX_PER_CM, PX_PER_INCH, ParagraphFlagState, ParagraphFormatRead, ParagraphFormatUpdate, ParagraphTabStop, RefreshChange, RefreshChangeInput, RefreshFailureCode, RefreshHighlightAnimation, RefreshHighlightOptions, RefreshLocation, RefreshResult, RefreshSubmission, RefreshUpdate, ResolvedRevisionMarkup, ReviewAuthorInfo, ReviewDisplayMode, RevisionAuthorAssignments, RevisionAuthorStyle, RevisionChangedLinesMark, RevisionDeletionMark, RevisionMarkupChromeHandlers, RevisionMarkupColor, RevisionMarkupDialogSession, RevisionMarkupMark, RevisionMarkupNamedColor, RevisionMarkupOptions, RevisionStyles, RulerTick, RulerUnit, SEARCH_DEBOUNCE_MS, SEARCH_HIGHLIGHT_PRIORITY, SEARCH_HIGHLIGHT_SET, SEARCH_MATCH_LIMIT, ToolbarCommandState, UnsupportedElement, UnsupportedElementLayout, UnsupportedElementRule, WORD_DEFAULT_FONT, chromeMenuSlots, commandForSlot, composeFontConfiguration, composeFontOrigins, createDocumentRefresh, createFontSource, deferFonts, defineFontResolver, generateRulerTicks, isFontResolver, loadFonts, rulerPageBox, runToolbarCommand, toolbarCommandState } from '@docx-editor.dev/core/editor';
15
15
  import { Editor, ViewScope, EditorCommand, WatermarkState, BookmarkSummary, DocumentSource, FontConfiguration, ZoomMode, DocumentChange, EditorFontError, TextMatch, ExecResult, DocumentOpenFailure, DocumentHandle, EditorExecOptions, EditorScope, EditorSnapshot, Watermark, EditorEvents, HighlightOptions, HighlightResult, HighlightRange, HighlightHit, PageSetup, IndentFormatting, ColorValue, Theme } from '@docx-editor.dev/core/contracts/editor';
16
16
  export { AnchorHighlightAnimation, AnchorHighlightOptions, ClearAnchorHighlightOptions, DocumentOpenFailure, DocumentOpenFailureReason, Editor, EditorCommand, EditorFontError, EditorFontErrorCode, EditorQuery, EditorScope, EditorSnapshot, FontConfiguration, FontFaceRequest, FontSource, FontSourceSubstitution, HighlightHit, HighlightOptions, HighlightRange, HighlightRect, HighlightResult, PageSetup, ScrollToAnchorOptions, TextMatch, Watermark, WatermarkState } from '@docx-editor.dev/core/contracts/editor';
17
17
  import { TFunction, Translations, LocaleStrings } from '@docx-editor.dev/i18n';
18
18
  export { TranslationKey } from '@docx-editor.dev/i18n';
19
19
  import { ContentControlType, ContentControlSummary } from '@docx-editor.dev/core';
20
20
  export { DocxDocument } from '@docx-editor.dev/core/contracts/types';
21
+ export { DrawingGraphicKind, DrawingSupport, DrawingSupportIssue } from '@docx-editor.dev/core/store';
21
22
 
22
23
  /** @public */
23
24
  declare const VERSION: string;
@@ -35,6 +36,39 @@ type MaybeRefOrGetter<T> = T;
35
36
  */
36
37
  type DocxEditorChildren = ReactNode;
37
38
 
39
+ /** Props for a registered unsupported-content renderer. @public */
40
+ interface DocxEditorUnsupportedElementProps extends UnsupportedElementRule {
41
+ /**
42
+ * Include partially rendered drawings (`support: 'partial'`). Defaults to `false`.
43
+ * Excludes fully supported drawings, hidden drawings, and drawings without a layout position.
44
+ * Excludes shapes with editable text. Partially rendered shapes without text remain eligible.
45
+ */
46
+ includePartial?: UnsupportedElementRule['includePartial'];
47
+ /**
48
+ * Render this occurrence. Empty content preserves the drawing or placeholder.
49
+ * Empty content includes `null`, `false`, empty fragments or arrays, and whitespace.
50
+ * Child components can return empty content while an image loads.
51
+ * The editor calls this function for each occurrence. Put hooks in a returned child component.
52
+ * Use `drawingPreviewDocx` from `@docx-editor.dev/core/editor` to create a preview DOCX.
53
+ */
54
+ children: (props: {
55
+ element: UnsupportedElement;
56
+ }) => ReactNode;
57
+ }
58
+ /**
59
+ * Register a renderer under DocxEditor or DocxEditor.Root.
60
+ * The first mounted matching declaration wins. Prop updates retain its priority.
61
+ * Omit match for a catch-all. Returning `null`, `false`, an empty fragment or array, or
62
+ * whitespace keeps what the editor shows.
63
+ * Layout uses points and only sizes content without an existing layout box. Custom content
64
+ * gets the occurrence's box (`element.bounds`); size it to 100% of the width and height.
65
+ * Clicking a custom preview selects the underlying drawing for moving, resizing, or deletion.
66
+ * Links, buttons, and form fields retain their normal behavior.
67
+ * Components can remount when pagination or virtualization removes an occurrence.
68
+ * @public
69
+ */
70
+ declare function DocxEditorUnsupportedElement({ match, layout, includePartial, children, }: DocxEditorUnsupportedElementProps): react.JSX.Element[];
71
+
38
72
  /**
39
73
  * Presentation overrides for a dialog part. @public
40
74
  *
@@ -639,8 +673,8 @@ interface DocxEditorLoadingProps {
639
673
  style?: CSSProperties;
640
674
  /**
641
675
  * Your own loading indicator, in place of the packaged spinner. The packaged screen keeps
642
- * its page and centers this on it. With `overlay`, it then moves onto the document's first
643
- * page while a large document lays out its remaining pages, and scrolls with it.
676
+ * its page and centers this on it. With `overlay`, it then moves below the laid-out pages
677
+ * while a large document lays out its remaining pages, and scrolls with them.
644
678
  *
645
679
  * Include text for screen readers, as the packaged indicator does.
646
680
  *
@@ -652,8 +686,8 @@ interface DocxEditorLoadingProps {
652
686
  /**
653
687
  * The whole first loading screen, in place of the packaged page. Compose your own around
654
688
  * `DocxEditor.Loading.Spinner` to keep the packaged indicator beside your own copy. To
655
- * change only the indicator, and keep it on the first page as the document opens, use
656
- * `indicator`.
689
+ * change only the indicator, and keep it below the laid-out pages as the document opens,
690
+ * use `indicator`.
657
691
  */
658
692
  children?: DocxEditorChildren;
659
693
  }
@@ -703,7 +737,7 @@ interface DocxEditorLoadingComponent {
703
737
  * LARGE document opens — the engine mounts it behind one painted frame precisely so this
704
738
  * screen can paint before the blocking parse and layout — it holds until the pages land;
705
739
  * pass `overlay` to pin it over the previous document for that window. With `overlay`, once
706
- * the first pages show, the indicator moves onto the first page until the rest are laid out.
740
+ * the first pages show, the indicator moves below the laid-out pages until the rest are laid out.
707
741
  * Pass `indicator` to replace only the spinner, in both places:
708
742
  *
709
743
  * ```tsx
@@ -1085,6 +1119,57 @@ declare const DocxEditorBookmarkDialog: typeof BookmarkDialogRoot & {
1085
1119
  KeepFirst: PartComponent;
1086
1120
  };
1087
1121
 
1122
+ /** Props for `DocxEditor.SplitCellDialog`. @public */
1123
+ interface DocxEditorSplitCellDialogProps extends DialogCustomizationProps {
1124
+ /** Whether the dialog is shown. The host owns this state. */
1125
+ open: boolean;
1126
+ /** Called on Cancel, Escape, overlay click, and after a successful Split. */
1127
+ onClose: () => void;
1128
+ }
1129
+ /** The Split cells dialog's draft, as typed. @public */
1130
+ interface SplitCellDialogFields {
1131
+ /** The number of columns, as typed. */
1132
+ columns: string;
1133
+ /** The number of rows, as typed. */
1134
+ rows: string;
1135
+ }
1136
+ /** Split cells dialog draft and actions. `apply` is Split. @public */
1137
+ interface UseSplitCellDialogReturn extends UseDialogReturn<SplitCellDialogFields> {
1138
+ /** The most columns and rows the cell splits into, or null outside a cell that splits. */
1139
+ readonly limits: SplitCellLimits | null;
1140
+ }
1141
+ declare function SplitCellDialogRoot(props: DocxEditorSplitCellDialogProps): ReactElement | null;
1142
+ /** Read the enclosing Split cells dialog draft. @public */
1143
+ declare function useSplitCellDialog(): UseSplitCellDialogReturn;
1144
+ /** The Split cells dialog with replaceable controls and layout. @public */
1145
+ declare const DocxEditorSplitCellDialog: typeof SplitCellDialogRoot & {
1146
+ Header: (props: DialogPartProps & {
1147
+ name?: "columns" | "rows" | undefined;
1148
+ }) => string | number | bigint | boolean | react.JSX.Element | Iterable<react.ReactNode> | Promise<string | number | bigint | boolean | Iterable<react.ReactNode> | ReactElement<unknown, string | react.JSXElementConstructor<any>> | react.ReactPortal | null | undefined> | null;
1149
+ Title: (props: DialogPartProps & {
1150
+ name?: "columns" | "rows" | undefined;
1151
+ }) => string | number | bigint | boolean | react.JSX.Element | Iterable<react.ReactNode> | Promise<string | number | bigint | boolean | Iterable<react.ReactNode> | ReactElement<unknown, string | react.JSXElementConstructor<any>> | react.ReactPortal | null | undefined> | null;
1152
+ Body: (props: DialogPartProps & {
1153
+ name?: "columns" | "rows" | undefined;
1154
+ }) => string | number | bigint | boolean | react.JSX.Element | Iterable<react.ReactNode> | Promise<string | number | bigint | boolean | Iterable<react.ReactNode> | ReactElement<unknown, string | react.JSXElementConstructor<any>> | react.ReactPortal | null | undefined> | null;
1155
+ Footer: (props: DialogPartProps & {
1156
+ name?: "columns" | "rows" | undefined;
1157
+ }) => string | number | bigint | boolean | react.JSX.Element | Iterable<react.ReactNode> | Promise<string | number | bigint | boolean | Iterable<react.ReactNode> | ReactElement<unknown, string | react.JSXElementConstructor<any>> | react.ReactPortal | null | undefined> | null;
1158
+ /** Split: divide the cell at the selection into the typed counts. */
1159
+ Apply: (props: DialogPartProps & {
1160
+ name?: "columns" | "rows" | undefined;
1161
+ }) => string | number | bigint | boolean | react.JSX.Element | Iterable<react.ReactNode> | Promise<string | number | bigint | boolean | Iterable<react.ReactNode> | ReactElement<unknown, string | react.JSXElementConstructor<any>> | react.ReactPortal | null | undefined> | null;
1162
+ Cancel: (props: DialogPartProps & {
1163
+ name?: "columns" | "rows" | undefined;
1164
+ }) => string | number | bigint | boolean | react.JSX.Element | Iterable<react.ReactNode> | Promise<string | number | bigint | boolean | Iterable<react.ReactNode> | ReactElement<unknown, string | react.JSXElementConstructor<any>> | react.ReactPortal | null | undefined> | null;
1165
+ Error: (props: DialogPartProps & {
1166
+ name?: "columns" | "rows" | undefined;
1167
+ }) => string | number | bigint | boolean | react.JSX.Element | Iterable<react.ReactNode> | Promise<string | number | bigint | boolean | Iterable<react.ReactNode> | ReactElement<unknown, string | react.JSXElementConstructor<any>> | react.ReactPortal | null | undefined> | null;
1168
+ Field: (props: DialogPartProps & {
1169
+ name: "columns" | "rows";
1170
+ }) => react.ReactNode;
1171
+ };
1172
+
1088
1173
  /** Shared props for every part. @public */
1089
1174
  interface HyperLinkPartProps {
1090
1175
  className?: string;
@@ -1614,6 +1699,14 @@ declare const ContextMenuInsertColumnLeft: (({ icon, labelKey, className, hidden
1614
1699
  declare const ContextMenuInsertColumnRight: (({ icon, labelKey, className, hidden, destructive }: ContextMenuTableRowProps) => react.JSX.Element | null) & {
1615
1700
  docxRow: string;
1616
1701
  };
1702
+ /** Merge the selected cells into one cell. @public */
1703
+ declare const ContextMenuMergeCells: (({ icon, labelKey, className, hidden, destructive }: ContextMenuTableRowProps) => react.JSX.Element | null) & {
1704
+ docxRow: string;
1705
+ };
1706
+ /** Open the Split cells dialog for the cell at the selection. @public */
1707
+ declare const ContextMenuSplitCell: (({ icon, labelKey, className, hidden }: ContextMenuCommandProps) => react.JSX.Element | null) & {
1708
+ docxRow: string;
1709
+ };
1617
1710
  /** Delete the current table row. @public */
1618
1711
  declare const ContextMenuDeleteTableRow: (({ icon, labelKey, className, hidden, destructive }: ContextMenuTableRowProps) => react.JSX.Element | null) & {
1619
1712
  docxRow: string;
@@ -1715,6 +1808,8 @@ interface DocxEditorContextMenuNamespace {
1715
1808
  readonly InsertRowBelow: typeof ContextMenuInsertRowBelow;
1716
1809
  readonly InsertColumnLeft: typeof ContextMenuInsertColumnLeft;
1717
1810
  readonly InsertColumnRight: typeof ContextMenuInsertColumnRight;
1811
+ readonly MergeCells: typeof ContextMenuMergeCells;
1812
+ readonly SplitCell: typeof ContextMenuSplitCell;
1718
1813
  readonly DeleteTableRow: typeof ContextMenuDeleteTableRow;
1719
1814
  readonly DeleteTableColumn: typeof ContextMenuDeleteTableColumn;
1720
1815
  readonly DeleteTable: typeof ContextMenuDeleteTable;
@@ -1821,6 +1916,8 @@ interface DocxEditorPopups {
1821
1916
  watermark?: DocxEditorPopup<DocxEditorWatermarkDialogProps>;
1822
1917
  /** The Bookmark dialog the Insert menu and Ctrl/Cmd+Shift+F5 open. */
1823
1918
  bookmark?: DocxEditorPopup<DocxEditorBookmarkDialogProps>;
1919
+ /** The Split cells dialog the table context menu and toolbar open. */
1920
+ splitCell?: DocxEditorPopup<DocxEditorSplitCellDialogProps>;
1824
1921
  revisionMarkup?: DocxEditorPopup<DocxEditorRevisionMarkupDialogProps>;
1825
1922
  textFormField?: DocxEditorPopup<DocxEditorTextFormFieldDialogProps>;
1826
1923
  hyperlink?: DocxEditorPopup<HyperLinkProps>;
@@ -1892,9 +1989,10 @@ interface ReviewRailRegistry {
1892
1989
  declare const ReviewRailContext: react.Context<ReviewRailRegistry | null>;
1893
1990
 
1894
1991
  /**
1895
- * Props for `DocxEditor.Root`. `document`, `fonts` and `imageDecodePort` identity changes remount
1896
- * the editor. Changing `fontShaping.maxFontBytes` also remounts. Later `author`, `locale`, `mode`, `translate`, `zoom`, and `zoomMode` changes use
1897
- * instance setters. `modules` is sampled at mount only.
1992
+ * Props for `DocxEditor.Root`. `document` and `imageDecodePort` identity changes remount the
1993
+ * editor. Changing `fontShaping.maxFontBytes` also remounts. Later `fonts`, `author`, `locale`,
1994
+ * `mode`, `translate`, `zoom`, and `zoomMode` changes use instance setters, so edits, selection
1995
+ * and undo history survive them. `modules` is sampled at mount only.
1898
1996
  *
1899
1997
  * @public
1900
1998
  */
@@ -1910,8 +2008,9 @@ interface DocxEditorRootProps {
1910
2008
  * uses a fixed-width estimate; fonts embedded in the document are wired automatically
1911
2009
  * either way. Pass `await loadDefaultFonts()` from `@docx-editor.dev/fonts` for
1912
2010
  * Word's default faces — a bare fragment is accepted — or compose several origins
1913
- * with `composeFontConfiguration`. Sampled at mount; identity change remounts;
1914
- * failures degrade to the fixed measurer and report through `onFontError`.
2011
+ * with `composeFontConfiguration`. An identity change replaces the fonts in place
2012
+ * (`setFonts`), keeping the document, selection and undo history; keep the reference stable
2013
+ * across renders. Failures degrade to the fixed measurer and report through `onFontError`.
1915
2014
  */
1916
2015
  fonts?: FontConfiguration | FontConfigurationFragment | FontResolver;
1917
2016
  /** Explicit shaping byte ceiling; a changed maxFontBytes value remounts. */
@@ -2680,6 +2779,10 @@ interface DocxEditorToolbarNamespace {
2680
2779
  readonly TableBorderWidth: TableBorderWidthNamespace;
2681
2780
  /** Cell background fill split compound (quick-apply main + swatch dialog). */
2682
2781
  readonly TableCellFill: TableCellFillNamespace;
2782
+ /** Merge the selected cells. */
2783
+ readonly TableMergeCells: ToolbarPartComponent;
2784
+ /** Open the Split cells dialog. */
2785
+ readonly TableSplitCell: ToolbarPartComponent;
2683
2786
  readonly Comments: ToolbarPartComponent;
2684
2787
  readonly FontFamily: typeof FontFamily;
2685
2788
  readonly FontSize: ToolbarSlotPartComponent;
@@ -3592,8 +3695,8 @@ interface DocxEditorProps {
3592
3695
  /** Customize automatically mounted popups. Set an entry to false for manual ownership. */
3593
3696
  popups?: DocxEditorPopups;
3594
3697
  /**
3595
- * Immutable byte-backed font sources sampled at mount. Remount to replace this
3596
- * configuration atomically.
3698
+ * Font sources for layout and paint. A new value replaces the fonts in place, keeping the
3699
+ * document, selection and undo history; keep the reference stable across renders.
3597
3700
  *
3598
3701
  * Optional, but it decides layout FIDELITY. With it, the engine shapes text through
3599
3702
  * HarfBuzz and measures line and page breaks from real font metrics. Without it, layout
@@ -3604,6 +3707,8 @@ interface DocxEditorProps {
3604
3707
  fonts?: FontConfiguration | FontConfigurationFragment | FontResolver;
3605
3708
  /** Explicit shaping byte ceiling. A changed maxFontBytes value remounts; equal values keep the instance. */
3606
3709
  fontShaping?: FontShapingOptions;
3710
+ /** Inject image decoding and preserved-image conversion. A changed port identity remounts the editor. */
3711
+ imageDecodePort?: ImageDecodePort;
3607
3712
  /**
3608
3713
  * Title-bar slots. The host owns what goes here — brand lockup, switchers, theme
3609
3714
  * toggle, Open/New/Save controls — and passes them in; the editor renders them
@@ -3914,6 +4019,7 @@ interface DocxEditorNamespace extends ForwardRefExoticComponent<DocxEditorProps
3914
4019
  readonly ColorByChangeType: typeof DocxEditorColorByChangeType;
3915
4020
  readonly RevisionMarkupDialog: typeof DocxEditorRevisionMarkupDialog;
3916
4021
  readonly RevisionMarkup: typeof DocxEditorRevisionMarkup;
4022
+ readonly UnsupportedElement: typeof DocxEditorUnsupportedElement;
3917
4023
  readonly AuthorStyle: typeof DocxEditorAuthorStyle;
3918
4024
  /** Context-fed horizontal ruler with draggable margins (props-driven export stays). */
3919
4025
  readonly HorizontalRuler: typeof DocxEditorHorizontalRuler;
@@ -3937,6 +4043,8 @@ interface DocxEditorNamespace extends ForwardRefExoticComponent<DocxEditorProps
3937
4043
  readonly WatermarkDialog: typeof DocxEditorWatermarkDialog;
3938
4044
  /** Bookmark dialog — list, add, delete and go to bookmarks. */
3939
4045
  readonly BookmarkDialog: typeof DocxEditorBookmarkDialog;
4046
+ /** Split cells dialog — split the cell at the selection into columns and rows. */
4047
+ readonly SplitCellDialog: typeof DocxEditorSplitCellDialog;
3940
4048
  /** The Paragraph dialog: alignment, indentation, spacing and the paragraph flags. */
3941
4049
  readonly TextFormFieldDialog: typeof DocxEditorTextFormFieldDialog;
3942
4050
  readonly ParagraphDialog: typeof DocxEditorParagraphDialog;
@@ -4001,7 +4109,6 @@ interface UseEditorStateOptions {
4001
4109
  */
4002
4110
  declare function useEditorState<T>(selector: (snapshot: EditorSnapshot) => T, isEqual?: (a: T, b: T) => boolean, options?: UseEditorStateOptions): T;
4003
4111
 
4004
- /** Coalesced deferred notifier for editor state ticks. @internal */
4005
4112
  /** Decide the scheduling lane for one coalesced notification. @internal */
4006
4113
  declare function notificationYieldsToTask(): boolean;
4007
4114
 
@@ -4134,18 +4241,40 @@ declare function Slot({ children, ...slotProps }: SlotProps): ReactElement<unkno
4134
4241
 
4135
4242
  interface LocaleProviderProps {
4136
4243
  i18n?: Translations;
4244
+ /**
4245
+ * The writing direction of the editor chrome. Defaults to the catalog's `_dir`, then to a
4246
+ * right-to-left `_lang`, then to the direction of an outer provider. With `'rtl'`, the
4247
+ * toolbar, menu bar, dialogs, context menu, panes, and review column mirror without a
4248
+ * wrapper element. `'ltr'` keeps a left-to-right chrome on a right-to-left host page.
4249
+ * Without any of these, as with the shipped left-to-right catalogs, the chrome inherits
4250
+ * the host page direction.
4251
+ */
4252
+ dir?: 'ltr' | 'rtl';
4137
4253
  children: DocxEditorChildren;
4138
4254
  }
4139
- declare function LocaleProvider({ i18n, children }: LocaleProviderProps): react.JSX.Element;
4255
+ declare function LocaleProvider({ i18n, dir, children }: LocaleProviderProps): react.JSX.Element;
4140
4256
  /**
4141
- * The active catalogue's `t()`, the catalogue itself, and its language tag (`_lang`, `en`
4142
- * by default), which formats numbers the way the strings around them read.
4257
+ * The active catalogue's `t()`, the catalogue itself, its language tag (`_lang`, `en` by
4258
+ * default), which formats numbers the way the strings around them read, and the providers'
4259
+ * writing direction (`dir`). `dir` is `'ltr'` when the chrome inherits a right-to-left host
4260
+ * page; `useChromeDir()` returns the direction a provider decided, or `undefined` then.
4143
4261
  */
4144
4262
  declare function useTranslation(): {
4145
4263
  t: TFunction;
4146
4264
  catalogue: LocaleStrings;
4147
4265
  lang: string;
4266
+ dir: 'ltr' | 'rtl';
4148
4267
  };
4268
+ /**
4269
+ * The `dir` attribute a chrome part sets on its root: the direction a provider decided
4270
+ * (its `dir` prop, the catalog's `_dir`, or a right-to-left `_lang`), otherwise nothing, so
4271
+ * the part keeps the host page direction.
4272
+ *
4273
+ * Read it in your own controls to follow the editor chrome: `undefined` means the chrome
4274
+ * inherits the host page direction, so set no `dir` then.
4275
+ * @public
4276
+ */
4277
+ declare function useChromeDir(): 'ltr' | 'rtl' | undefined;
4149
4278
 
4150
4279
  /**
4151
4280
  * A chrome-part label resolver: plain string keys, optional interpolation params.
@@ -4675,7 +4804,8 @@ declare function useEditorValueCommand<K extends keyof ToolbarValueMap>(slotId:
4675
4804
  /** @public */
4676
4805
  type DocxEditorRefCallback<T> = (node: T | null) => void;
4677
4806
 
4678
- type AnchorPlacement = 'before' | 'after' | 'story-label';
4807
+ /** Where a scoped chrome anchor sits relative to its story: before it, after it, or on its label. */
4808
+ type ScopedChromeAnchorPlacement = 'before' | 'after' | 'story-label';
4679
4809
  interface ScopedChromeAnchor {
4680
4810
  readonly ref: DocxEditorRefCallback<HTMLDivElement>;
4681
4811
  readonly style: CSSProperties;
@@ -4687,7 +4817,7 @@ interface ScopedChromeAnchor {
4687
4817
  * portal controls into a header, footer, or note node. This hook keeps the controls as a
4688
4818
  * sibling overlay and derives only their screen placement from the current painted host.
4689
4819
  */
4690
- declare function useScopedChromeAnchor(findAnchor: (viewport: HTMLElement) => HTMLElement | null, placement: AnchorPlacement): ScopedChromeAnchor;
4820
+ declare function useScopedChromeAnchor(findAnchor: (viewport: HTMLElement) => HTMLElement | null, placement: ScopedChromeAnchorPlacement): ScopedChromeAnchor;
4691
4821
 
4692
4822
  /**
4693
4823
  * Subscribe to an editor event (`'change'`, `'selectionChange'`, `'error'`, …) for the
@@ -4778,6 +4908,8 @@ declare function useEditorHostDocument(): UseEditorHostDocumentReturn;
4778
4908
  * );
4779
4909
  * useHighlights('glossary', findTerms, { className: 'glossary-term' });
4780
4910
  * ```
4911
+ *
4912
+ * @see {@link https://www.docx-editor.dev/docs/2.x/recipes/highlight-ranges | Highlight ranges}
4781
4913
  * @public
4782
4914
  */
4783
4915
  declare function useHighlights(name: string, source: HighlightSource, options?: HighlightOptions): HighlightResult;
@@ -5378,7 +5510,8 @@ declare function Toolbar(explicitProps: ToolbarProps): react__default.JSX.Elemen
5378
5510
  */
5379
5511
  type RulerPageSetup = NonNullable<ReturnType<Editor['getPageSetup']>>;
5380
5512
  /**
5381
- * A tab stop the ruler paints. `position` is twips from the left margin edge —
5513
+ * A tab stop the ruler paints. `position` is twips from the paragraph's leading margin
5514
+ * (the right one for a right-to-left paragraph) —
5382
5515
  * the same value the `removeTabMark` command takes as `positionTwips`.
5383
5516
  */
5384
5517
  interface RulerTabStop {
@@ -5641,5 +5774,5 @@ interface UseHistoryGroupReturn {
5641
5774
  /** Bind a control's native gesture lifecycle. Apply values through the existing command hooks. @public */
5642
5775
  declare function useHistoryGroup({ kind }: HistoryGroupBindingOptions): UseHistoryGroupReturn;
5643
5776
 
5644
- export { CONTENT_CONTROL_SLOTS, ContextMenuCellVerticalAlignment, ContextMenuCopy, ContextMenuCopyFormatting, ContextMenuCut, ContextMenuDelete, ContextMenuDeleteTable, ContextMenuDeleteTableColumn, ContextMenuDeleteTableRow, ContextMenuInsertColumnLeft, ContextMenuInsertColumnRight, ContextMenuInsertRowAbove, ContextMenuInsertRowBelow, ContextMenuItem, ContextMenuPaste, ContextMenuPasteFormatting, ContextMenuPasteWithoutFormatting, ContextMenuRefreshToc, ContextMenuRefreshTocPageNumbers, ContextMenuSelectAll, DEFAULT_WATERMARK_PRESETS, DocumentName, DocumentOutline, DocxEditor, DocxEditorAuthorStyle, DocxEditorBookmarkDialog, DocxEditorColorByChangeType, DocxEditorContent, DocxEditorContentControl, DocxEditorContentControlWidget, DocxEditorContextMenu, DocxEditorDocumentOutline, DocxEditorEquation, DocxEditorExportDialog, DocxEditorFontNotice, DocxEditorHeaderFooterChrome, DocxEditorHorizontalRuler, DocxEditorHyperLink, DocxEditorImageAltTextPopup, DocxEditorImageInsertErrorDialog, DocxEditorImagePropertiesDialog, DocxEditorInvalidTextFormFieldDialog, DocxEditorLoading, DocxEditorLoadingSpinner, DocxEditorMenu, DocxEditorNavigation, DocxEditorNotePreview, DocxEditorNotePropertiesDialog, DocxEditorNotesChrome, DocxEditorNotesContextMenu, DocxEditorOpenFailure, DocxEditorOpenFailureAction, DocxEditorPageNumber, DocxEditorPageSetupDialog, DocxEditorParagraphDialog, DocxEditorPrintDialog, DocxEditorRevisionMarkup, DocxEditorRevisionMarkupDialog, DocxEditorRoot, DocxEditorShell, DocxEditorTextFormFieldDialog, DocxEditorToolbar, DocxEditorVerticalRuler, DocxEditorViewport, DocxEditorWatermarkDialog, DocxEditorWindow, HorizontalRuler, ImageAltText, ImageInsertProvider, ImageInsertTrigger, ImagePropertiesTrigger, ImageWrap, LocaleProvider, Logo, MenuBar, NAVIGATION_PANE_GAP, NAVIGATION_PANE_INSET, NAVIGATION_PANE_MIN_PAGE_ROOM, NAVIGATION_PANE_WIDTH, NavigationClose, NavigationFind, NavigationGoTo, NavigationHeader, NavigationHeadings, NavigationTab, NavigationTabs, NavigationTitle, NavigationToggle, OUTLINE_BUTTON_LEFT_OFFSET, OUTLINE_BUTTON_RESERVED_SPACE, OUTLINE_LEFT_OFFSET, OUTLINE_RESERVED_SPACE, PageIndicator, PageNumberTranslationContext, PaginatedDocxEditor, PaginatedDocxEditorShell, REVIEW_MARKERS_GUTTER, REVIEW_PANE_GUTTER, RULER_WIDTH, ReviewRailContext, Slot, TitleBar, TitleBarRight, Toolbar, ToolbarButton, ToolbarContext, ToolbarGroup, ToolbarImageProperties, VERSION, VerticalRuler, definePopup, editorStateActiveSubscriptionCount, isFieldLink, navigationPaneOverlays, navigationPaneReservation, navigationShift, normalizeImageBytes, notificationYieldsToTask, useProvidedDocxEditor as provideDocxEditor, reviewGutter, useBookmarkDialog, useBookmarks, useChromeTranslate, useCommentDraftRequest, useContentControl, useContentControlInstance, useContentControlWidget, useContextMenuTarget, useDocumentOutline, useDocumentSearch, useDocxEditor, useDocxSource, useEditorCaret, useEditorCommand, useEditorEvent, useEditorHostDocument, useEditorSnapshot, useEditorState, useEditorValueCommand, useFontFamily, useFonts, useGoToBookmark, useHeaderFooterState, useHighlightAt, useHighlights, useHistoryGroup, useHyperlinkPopup, useHyperlinkPopupInstance, useNavigationPane, useNavigationShift, useNotePropertiesState, useNoteScopeState, useOpenFailure, usePageSetup, usePageSetupDialog, useParagraphDialog, useParagraphFormat, useParagraphIndent, useParagraphStyle, useReviewAuthors, useReviewGutter, useRevisionMarkupDialog, useScopeClassName, useScopedChromeAnchor, useTableBorderTargetLabel, useTextFormFieldDialog, useToolbarContext, useToolbarLabel, useToolbarLabelFor, useTranslation, useWatermark, useWatermarkDialog, useZoom };
5645
- export type { BookmarkDialogFields, ChromeTranslate, ContentControlActionProps, ContentControlInspectorState, ContentControlLock, ContentControlPartProps, ContentControlProps, ContentControlSlotId, ContentControlWidgetDayProps, ContentControlWidgetEntry, ContentControlWidgetItemProps, ContentControlWidgetPictureProps, ContextMenuAnchor, ContextMenuCommandProps, ContextMenuContextValue, ContextMenuItemProps, ContextMenuTableRowProps, DialogCustomizationProps, DialogPartProps, DocxEditorAuthorStyleProps, DocxEditorBookmarkDialogProps, DocxEditorChildren, DocxEditorContentControlNamespace, DocxEditorContentControlWidgetNamespace, DocxEditorContentControlWidgetPartProps, DocxEditorContentControlWidgetProps, DocxEditorContentProps, DocxEditorContextMenuNamespace, DocxEditorContextMenuProps, DocxEditorDocumentOutlineProps, DocxEditorExportDialogProps, DocxEditorFontNoticeProps, DocxEditorHeaderFooterChromeProps, DocxEditorHyperLinkNamespace, DocxEditorImageAltTextPopupProps, DocxEditorImageInsertErrorDialogProps, DocxEditorImagePropertiesDialogProps, DocxEditorInvalidTextFormFieldDialogProps, DocxEditorLoadingComponent, DocxEditorLoadingProps, DocxEditorLoadingSpinnerProps, DocxEditorMenuNamespace, DocxEditorMenuProps, DocxEditorNamespace, DocxEditorNavigationNamespace, DocxEditorNavigationProps, DocxEditorNotePreviewProps, DocxEditorNotePropertiesDialogProps, DocxEditorNotesChromeProps, DocxEditorNotesContextMenuProps, DocxEditorOpenFailureActionProps, DocxEditorOpenFailureComponent, DocxEditorOpenFailureContext, DocxEditorOpenFailureMessage, DocxEditorOpenFailureProps, DocxEditorPageNumberProps, DocxEditorPageSetupDialogProps, DocxEditorParagraphDialogProps, DocxEditorPopup, DocxEditorPopups, DocxEditorPrintDialogProps, DocxEditorProps, DocxEditorRef, DocxEditorRevisionMarkupDialogProps, DocxEditorRevisionMarkupProps, DocxEditorRootListeners, DocxEditorRootProps, DocxEditorRulerProps, DocxEditorTextFormFieldDialogProps, DocxEditorToolbarGroupProps, DocxEditorToolbarNamespace, DocxEditorToolbarProps, DocxEditorToolbarSlotProps, DocxEditorViewportProps, DocxEditorWatermarkDialogProps, DocxEditorWindowProps, DocxFontOrigin, DocxFontsInput, DocxFontsSource, DocxSource, EditorCaret, EditorCommandState, EditorMode, EditorValueCommandState, FontFamilyItemProps, FontFamilyNamespace, FontFamilyPartProps, FontFamilyProps, FontsInput, GoToBookmarkProblem, HeaderFooterState, HorizontalRulerProps$1 as HorizontalRulerProps, HyperLinkActionProps, HyperLinkPartProps, HyperLinkProps, HyperlinkPopupAnchor, HyperlinkPopupMode, HyperlinkPopupState, ImagePropertiesTriggerProps, IndentUpdate, LocaleProviderProps, MaybeRefOrGetter, MenuActionProps, MenuGroupProps, MenuId, MenuItemBaseProps, MenuItemProps, MenuPartComponent, MenuProps, MenuReportIssueProps, MenuReviewersProps, MenuRowProps, MenuSeparatorProps, MenuSubmenuBaseProps, MenuSubmenuProps, MenuTableGridProps, NavigationPartProps, NavigationShiftInput, NavigationTabProps, NavigationTab$1 as NavigationTabValue, NormalizedImagePayload, NotePropertiesState, OutlineHeading$1 as OutlineHeading, OutlineHeadingItem, PageIndicatorProps, PageSetupDialogFields, PageSetupUpdate, PaginatedDocxEditorExpose, PaginatedDocxEditorHandle, PaginatedDocxEditorProps, PaginatedDocxEditorShellProps, ParagraphStyleItemProps, ParagraphStyleNamespace, ParagraphStyleOption, ParagraphStylePartProps, ParagraphStyleProps, ProvideDocxEditorResult, ReviewGutter, ReviewGutterInput, ReviewRailRegistry, ScopedChromeAnchor, SlotProps, TableBorderColorNamespace, TableBorderStyleNamespace, TableBorderTargetNamespace, TableBorderWidthNamespace, TableCellFillNamespace, TableChromeItemProps, TableChromePartComponent, TableChromePartProps, TextFormFieldDialogFields, ToolbarActionProps, ToolbarAlignmentComponent, ToolbarButtonProps$1 as ToolbarButtonProps, ToolbarContextValue, ToolbarPartComponent, ToolbarPartProps, ToolbarProps, ToolbarReviewersProps, ToolbarSeparatorProps, ToolbarSlotPartComponent, ToolbarSlotPartProps, ToolbarTranslate, UseBookmarkDialogReturn, UseBookmarksReturn, UseContentControlResult, UseContentControlWidgetResult, UseDialogReturn, UseDocumentOutlineResult, UseDocumentSearchOptions, UseDocumentSearchResult, UseDocxSourceOptions, UseDocxSourceResult, UseEditorHostDocumentReturn, UseFontFamilyResult, UseGoToBookmarkOptions, UseGoToBookmarkReturn, UseHistoryGroupReturn, UseHyperlinkPopupResult, UseNavigationPaneOptions, UseNavigationPaneResult, UseOpenFailureOptions, UseOpenFailureReturn, UsePageSetupDialogReturn, UsePageSetupReturn, UseParagraphDialogReturn, UseParagraphFormatReturn, UseParagraphIndentReturn, UseParagraphStyleResult, UseRevisionMarkupDialogReturn, UseTextFormFieldDialogReturn, UseWatermarkDialogReturn, UseWatermarkReturn, UseZoomResult, VerticalRulerProps, WatermarkDialogFieldName, WatermarkDialogFields, WatermarkDialogKind, WatermarkDialogLayout };
5777
+ export { CONTENT_CONTROL_SLOTS, ContextMenuCellVerticalAlignment, ContextMenuCopy, ContextMenuCopyFormatting, ContextMenuCut, ContextMenuDelete, ContextMenuDeleteTable, ContextMenuDeleteTableColumn, ContextMenuDeleteTableRow, ContextMenuInsertColumnLeft, ContextMenuInsertColumnRight, ContextMenuInsertRowAbove, ContextMenuInsertRowBelow, ContextMenuItem, ContextMenuMergeCells, ContextMenuPaste, ContextMenuPasteFormatting, ContextMenuPasteWithoutFormatting, ContextMenuRefreshToc, ContextMenuRefreshTocPageNumbers, ContextMenuSelectAll, ContextMenuSplitCell, DEFAULT_WATERMARK_PRESETS, DocumentName, DocumentOutline, DocxEditor, DocxEditorAuthorStyle, DocxEditorBookmarkDialog, DocxEditorColorByChangeType, DocxEditorContent, DocxEditorContentControl, DocxEditorContentControlWidget, DocxEditorContextMenu, DocxEditorDocumentOutline, DocxEditorEquation, DocxEditorExportDialog, DocxEditorFontNotice, DocxEditorHeaderFooterChrome, DocxEditorHorizontalRuler, DocxEditorHyperLink, DocxEditorImageAltTextPopup, DocxEditorImageInsertErrorDialog, DocxEditorImagePropertiesDialog, DocxEditorInvalidTextFormFieldDialog, DocxEditorLoading, DocxEditorLoadingSpinner, DocxEditorMenu, DocxEditorNavigation, DocxEditorNotePreview, DocxEditorNotePropertiesDialog, DocxEditorNotesChrome, DocxEditorNotesContextMenu, DocxEditorOpenFailure, DocxEditorOpenFailureAction, DocxEditorPageNumber, DocxEditorPageSetupDialog, DocxEditorParagraphDialog, DocxEditorPrintDialog, DocxEditorRevisionMarkup, DocxEditorRevisionMarkupDialog, DocxEditorRoot, DocxEditorShell, DocxEditorSplitCellDialog, DocxEditorTextFormFieldDialog, DocxEditorToolbar, DocxEditorUnsupportedElement, DocxEditorVerticalRuler, DocxEditorViewport, DocxEditorWatermarkDialog, DocxEditorWindow, HorizontalRuler, ImageAltText, ImageInsertProvider, ImageInsertTrigger, ImagePropertiesTrigger, ImageWrap, LocaleProvider, Logo, MenuBar, NAVIGATION_PANE_GAP, NAVIGATION_PANE_INSET, NAVIGATION_PANE_MIN_PAGE_ROOM, NAVIGATION_PANE_WIDTH, NavigationClose, NavigationFind, NavigationGoTo, NavigationHeader, NavigationHeadings, NavigationTab, NavigationTabs, NavigationTitle, NavigationToggle, OUTLINE_BUTTON_LEFT_OFFSET, OUTLINE_BUTTON_RESERVED_SPACE, OUTLINE_LEFT_OFFSET, OUTLINE_RESERVED_SPACE, PageIndicator, PageNumberTranslationContext, PaginatedDocxEditor, PaginatedDocxEditorShell, REVIEW_MARKERS_GUTTER, REVIEW_PANE_GUTTER, RULER_WIDTH, ReviewRailContext, Slot, TitleBar, TitleBarRight, Toolbar, ToolbarButton, ToolbarContext, ToolbarGroup, ToolbarImageProperties, VERSION, VerticalRuler, definePopup, editorStateActiveSubscriptionCount, isFieldLink, navigationPaneOverlays, navigationPaneReservation, navigationShift, normalizeImageBytes, notificationYieldsToTask, useProvidedDocxEditor as provideDocxEditor, reviewGutter, useBookmarkDialog, useBookmarks, useChromeDir, useChromeTranslate, useCommentDraftRequest, useContentControl, useContentControlInstance, useContentControlWidget, useContextMenuTarget, useDocumentOutline, useDocumentSearch, useDocxEditor, useDocxSource, useEditorCaret, useEditorCommand, useEditorEvent, useEditorHostDocument, useEditorSnapshot, useEditorState, useEditorValueCommand, useFontFamily, useFonts, useGoToBookmark, useHeaderFooterState, useHighlightAt, useHighlights, useHistoryGroup, useHyperlinkPopup, useHyperlinkPopupInstance, useNavigationPane, useNavigationShift, useNotePropertiesState, useNoteScopeState, useOpenFailure, usePageSetup, usePageSetupDialog, useParagraphDialog, useParagraphFormat, useParagraphIndent, useParagraphStyle, useReviewAuthors, useReviewGutter, useRevisionMarkupDialog, useScopeClassName, useScopedChromeAnchor, useSplitCellDialog, useTableBorderTargetLabel, useTextFormFieldDialog, useToolbarContext, useToolbarLabel, useToolbarLabelFor, useTranslation, useWatermark, useWatermarkDialog, useZoom };
5778
+ export type { BookmarkDialogFields, ChromeTranslate, ContentControlActionProps, ContentControlInspectorState, ContentControlLock, ContentControlPartProps, ContentControlProps, ContentControlSlotId, ContentControlWidgetDayProps, ContentControlWidgetEntry, ContentControlWidgetItemProps, ContentControlWidgetPictureProps, ContextMenuAnchor, ContextMenuCommandProps, ContextMenuContextValue, ContextMenuItemProps, ContextMenuTableRowProps, DialogCustomizationProps, DialogPartProps, DocumentStyleSummary, DocxEditorAuthorStyleProps, DocxEditorBookmarkDialogProps, DocxEditorChildren, DocxEditorContentControlNamespace, DocxEditorContentControlWidgetNamespace, DocxEditorContentControlWidgetPartProps, DocxEditorContentControlWidgetProps, DocxEditorContentProps, DocxEditorContextMenuNamespace, DocxEditorContextMenuProps, DocxEditorDocumentOutlineProps, DocxEditorExportDialogProps, DocxEditorFontNoticeProps, DocxEditorHeaderFooterChromeProps, DocxEditorHyperLinkNamespace, DocxEditorImageAltTextPopupProps, DocxEditorImageInsertErrorDialogProps, DocxEditorImagePropertiesDialogProps, DocxEditorInvalidTextFormFieldDialogProps, DocxEditorLoadingComponent, DocxEditorLoadingProps, DocxEditorLoadingSpinnerProps, DocxEditorMenuNamespace, DocxEditorMenuProps, DocxEditorNamespace, DocxEditorNavigationNamespace, DocxEditorNavigationProps, DocxEditorNotePreviewProps, DocxEditorNotePropertiesDialogProps, DocxEditorNotesChromeProps, DocxEditorNotesContextMenuProps, DocxEditorOpenFailureActionProps, DocxEditorOpenFailureComponent, DocxEditorOpenFailureContext, DocxEditorOpenFailureMessage, DocxEditorOpenFailureProps, DocxEditorPageNumberProps, DocxEditorPageSetupDialogProps, DocxEditorParagraphDialogProps, DocxEditorPopup, DocxEditorPopups, DocxEditorPrintDialogProps, DocxEditorProps, DocxEditorRef, DocxEditorRefCallback, DocxEditorRevisionMarkupDialogProps, DocxEditorRevisionMarkupProps, DocxEditorRootListeners, DocxEditorRootProps, DocxEditorRulerProps, DocxEditorSplitCellDialogProps, DocxEditorTextFormFieldDialogProps, DocxEditorToolbarGroupProps, DocxEditorToolbarNamespace, DocxEditorToolbarProps, DocxEditorToolbarSlotProps, DocxEditorUnsupportedElementProps, DocxEditorViewportProps, DocxEditorWatermarkDialogProps, DocxEditorWindowProps, DocxFontOrigin, DocxFontsInput, DocxFontsSource, DocxSource, EditorCaret, EditorCommandState, EditorMode, EditorValueCommandState, FontFamilyItemProps, FontFamilyNamespace, FontFamilyPartProps, FontFamilyProps, FontOption, FontsInput, FormattingAction, GoToBookmarkProblem, HeaderFooterState, HorizontalRulerProps$1 as HorizontalRulerProps, HyperLinkActionProps, HyperLinkPartProps, HyperLinkProps, HyperlinkPopupAnchor, HyperlinkPopupMode, HyperlinkPopupState, ImagePropertiesTriggerProps, IndentUpdate, ListState, ListType, LocaleProviderProps, MaybeRefOrGetter, MenuActionProps, MenuGroupProps, MenuId, MenuItemBaseProps, MenuItemProps, MenuPartComponent, MenuProps, MenuReportIssueProps, MenuReviewersProps, MenuRowProps, MenuSeparatorProps, MenuSubmenuBaseProps, MenuSubmenuProps, MenuTableGridProps, NavigationPartProps, NavigationShiftInput, NavigationTabProps, NavigationTab$1 as NavigationTabValue, NormalizedImagePayload, NotePropertiesState, OutlineHeading$1 as OutlineHeading, OutlineHeadingItem, PageIndicatorProps, PageSetupDialogFields, PageSetupUpdate, PaginatedDocxEditorExpose, PaginatedDocxEditorHandle, PaginatedDocxEditorProps, PaginatedDocxEditorShellProps, ParagraphAlignment, ParagraphStyleItemProps, ParagraphStyleNamespace, ParagraphStyleOption, ParagraphStylePartProps, ParagraphStyleProps, ProvideDocxEditorResult, ReviewGutter, ReviewGutterInput, ReviewRailRegistry, ScopedChromeAnchor, ScopedChromeAnchorPlacement, SelectionFormatting, SlotProps, SplitCellDialogFields, TableAction, TableBorderColorNamespace, TableBorderStyleNamespace, TableBorderTargetNamespace, TableBorderWidthNamespace, TableCellFillNamespace, TableChromeItemProps, TableChromePartComponent, TableChromePartProps, TextFormFieldDialogFields, ToolbarActionProps, ToolbarAlignmentComponent, ToolbarButtonProps$1 as ToolbarButtonProps, ToolbarContextValue, ToolbarPartComponent, ToolbarPartProps, ToolbarProps, ToolbarReviewersProps, ToolbarSeparatorProps, ToolbarSlotPartComponent, ToolbarSlotPartProps, ToolbarTranslate, UseBookmarkDialogReturn, UseBookmarksReturn, UseContentControlResult, UseContentControlWidgetResult, UseDialogReturn, UseDocumentOutlineResult, UseDocumentSearchOptions, UseDocumentSearchResult, UseDocxSourceOptions, UseDocxSourceResult, UseEditorHostDocumentReturn, UseFontFamilyResult, UseGoToBookmarkOptions, UseGoToBookmarkReturn, UseHistoryGroupReturn, UseHyperlinkPopupResult, UseNavigationPaneOptions, UseNavigationPaneResult, UseOpenFailureOptions, UseOpenFailureReturn, UsePageSetupDialogReturn, UsePageSetupReturn, UseParagraphDialogReturn, UseParagraphFormatReturn, UseParagraphIndentReturn, UseParagraphStyleResult, UseRevisionMarkupDialogReturn, UseSplitCellDialogReturn, UseTextFormFieldDialogReturn, UseWatermarkDialogReturn, UseWatermarkReturn, UseZoomResult, VerticalRulerProps, WatermarkDialogFieldName, WatermarkDialogFields, WatermarkDialogKind, WatermarkDialogLayout };