@docx-editor.dev/react 2.7.0 → 2.8.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.mts +133 -1
- package/dist/index.d.ts +133 -1
- package/dist/index.js +7 -7
- package/dist/index.mjs +7 -7
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -1631,6 +1631,22 @@ interface DocxEditorPageSetupDialogProps {
|
|
|
1631
1631
|
*/
|
|
1632
1632
|
declare function DocxEditorPageSetupDialog({ open, onClose, className, }: DocxEditorPageSetupDialogProps): ReactElement | null;
|
|
1633
1633
|
|
|
1634
|
+
/** Props for `DocxEditor.ParagraphDialog`. @public */
|
|
1635
|
+
interface DocxEditorParagraphDialogProps {
|
|
1636
|
+
/** Whether the dialog is shown. The host owns this state. */
|
|
1637
|
+
open: boolean;
|
|
1638
|
+
/** Called on Cancel, Escape, overlay click, and after a successful OK. */
|
|
1639
|
+
onClose: () => void;
|
|
1640
|
+
className?: string;
|
|
1641
|
+
}
|
|
1642
|
+
/**
|
|
1643
|
+
* The Paragraph dialog. Reads the selection through `useParagraphFormat()` and applies
|
|
1644
|
+
* the whole form as one undoable command.
|
|
1645
|
+
*
|
|
1646
|
+
* @public
|
|
1647
|
+
*/
|
|
1648
|
+
declare function DocxEditorParagraphDialog({ open, onClose, className, }: DocxEditorParagraphDialogProps): ReactElement | null;
|
|
1649
|
+
|
|
1634
1650
|
/** Internal bridge from the batteries-included editor's `t` prop to this composition part. */
|
|
1635
1651
|
declare const PageNumberTranslationContext: react.Context<((key: string) => string) | null>;
|
|
1636
1652
|
/** Props for `DocxEditor.PageNumber`. @public */
|
|
@@ -2337,6 +2353,8 @@ interface DocxEditorNamespace extends ForwardRefExoticComponent<DocxEditorProps
|
|
|
2337
2353
|
readonly Navigation: typeof Navigation;
|
|
2338
2354
|
/** Page Setup dialog — size, orientation, margins — applied as one undo step. */
|
|
2339
2355
|
readonly PageSetupDialog: typeof DocxEditorPageSetupDialog;
|
|
2356
|
+
/** The Paragraph dialog: alignment, indentation, spacing and the paragraph flags. */
|
|
2357
|
+
readonly ParagraphDialog: typeof DocxEditorParagraphDialog;
|
|
2340
2358
|
/** Floating localized page readout for the active viewport. */
|
|
2341
2359
|
readonly PageNumber: typeof DocxEditorPageNumber;
|
|
2342
2360
|
/** Word-style notice when document fonts render in substitute faces. */
|
|
@@ -3008,6 +3026,120 @@ interface UsePageSetupReturn {
|
|
|
3008
3026
|
*/
|
|
3009
3027
|
declare function usePageSetup(): UsePageSetupReturn;
|
|
3010
3028
|
|
|
3029
|
+
/** One tri-state paragraph flag: on, off, or "the selection disagrees". */
|
|
3030
|
+
type ParagraphFlagState = boolean | null;
|
|
3031
|
+
/** One custom tab stop, as a control reads and writes it. @public */
|
|
3032
|
+
interface ParagraphTabStop {
|
|
3033
|
+
readonly positionTwips: number;
|
|
3034
|
+
readonly alignment: 'left' | 'center' | 'right' | 'decimal' | 'bar';
|
|
3035
|
+
readonly leader?: 'none' | 'dot' | 'hyphen' | 'underscore' | 'heavy' | 'middleDot';
|
|
3036
|
+
}
|
|
3037
|
+
/**
|
|
3038
|
+
* What the Paragraph dialog reads: every field, as the selection currently stands.
|
|
3039
|
+
*
|
|
3040
|
+
* A `null` means the selection's paragraphs DISAGREE about that field, which a control
|
|
3041
|
+
* shows as an indeterminate checkbox or an empty box rather than as a value. `indent` is
|
|
3042
|
+
* the exception the engine already documents — it reports the first touched paragraph and
|
|
3043
|
+
* flags disagreement per field, because a ruler has to draw its handles somewhere.
|
|
3044
|
+
*
|
|
3045
|
+
* @public
|
|
3046
|
+
*/
|
|
3047
|
+
interface ParagraphFormatRead {
|
|
3048
|
+
/**
|
|
3049
|
+
* `justify`, not OOXML's `both`. The engine speaks `w:jc` values; an adapter speaks the
|
|
3050
|
+
* word its consumers write. Read and write use the SAME spelling here, so a value that
|
|
3051
|
+
* comes out of `format` can go straight back into `apply`.
|
|
3052
|
+
*/
|
|
3053
|
+
readonly alignment: 'left' | 'center' | 'right' | 'justify' | null;
|
|
3054
|
+
readonly spaceBeforePt: number | null;
|
|
3055
|
+
readonly spaceAfterPt: number | null;
|
|
3056
|
+
readonly lineSpacing: {
|
|
3057
|
+
readonly rule: 'multiple' | 'exact' | 'atLeast';
|
|
3058
|
+
readonly value: number;
|
|
3059
|
+
} | null;
|
|
3060
|
+
readonly indentLeftTwips: number | null;
|
|
3061
|
+
readonly indentRightTwips: number | null;
|
|
3062
|
+
/** ONE signed first-line offset: negative is a hanging indent. */
|
|
3063
|
+
readonly indentFirstLineTwips: number | null;
|
|
3064
|
+
readonly contextualSpacing: ParagraphFlagState;
|
|
3065
|
+
readonly keepNext: ParagraphFlagState;
|
|
3066
|
+
readonly keepLines: ParagraphFlagState;
|
|
3067
|
+
readonly widowControl: ParagraphFlagState;
|
|
3068
|
+
readonly pageBreakBefore: ParagraphFlagState;
|
|
3069
|
+
/** Custom tab stops, cascade included. Null when the selection disagrees. */
|
|
3070
|
+
readonly tabStops: readonly ParagraphTabStop[] | null;
|
|
3071
|
+
/**
|
|
3072
|
+
* Which fields are `null` because the selection DISAGREES, as opposed to because nothing
|
|
3073
|
+
* states them.
|
|
3074
|
+
*
|
|
3075
|
+
* A `null` alone cannot tell those apart, and both readings shipped as bugs: a
|
|
3076
|
+
* disagreement rendered as a concrete value is uncorrectable, because the value that
|
|
3077
|
+
* would fix it is the one already on screen; an absent value rendered as "mixed" tells a
|
|
3078
|
+
* single paragraph it disagrees with itself.
|
|
3079
|
+
*/
|
|
3080
|
+
readonly disagrees: {
|
|
3081
|
+
readonly alignment: boolean;
|
|
3082
|
+
readonly spaceBeforePt: boolean;
|
|
3083
|
+
readonly spaceAfterPt: boolean;
|
|
3084
|
+
readonly lineSpacing: boolean;
|
|
3085
|
+
readonly tabStops: boolean;
|
|
3086
|
+
readonly indentLeft: boolean;
|
|
3087
|
+
readonly indentRight: boolean;
|
|
3088
|
+
readonly indentFirstLine: boolean;
|
|
3089
|
+
};
|
|
3090
|
+
/**
|
|
3091
|
+
* Whether the indent reads are UNKNOWN rather than disagreed.
|
|
3092
|
+
*
|
|
3093
|
+
* The engine reports no indent at all for a paragraph inside a table — correct, but not
|
|
3094
|
+
* placeable on a ruler. A control must not call that "mixed": one paragraph cannot
|
|
3095
|
+
* disagree with itself, and the commonest paragraph in a real document is in a cell.
|
|
3096
|
+
*/
|
|
3097
|
+
readonly indentUnknown: boolean;
|
|
3098
|
+
}
|
|
3099
|
+
/**
|
|
3100
|
+
* The fields `apply` accepts. Omitted fields are left as authored; `null` where allowed
|
|
3101
|
+
* REMOVES the setting so the style supplies it again, which is not the same as a zero.
|
|
3102
|
+
*
|
|
3103
|
+
* @public
|
|
3104
|
+
*/
|
|
3105
|
+
interface ParagraphFormatUpdate {
|
|
3106
|
+
readonly alignment?: 'left' | 'center' | 'right' | 'justify';
|
|
3107
|
+
readonly spaceBeforePt?: number | null;
|
|
3108
|
+
readonly spaceAfterPt?: number | null;
|
|
3109
|
+
readonly lineSpacing?: {
|
|
3110
|
+
readonly rule: 'multiple' | 'exact' | 'atLeast';
|
|
3111
|
+
readonly value: number;
|
|
3112
|
+
} | null;
|
|
3113
|
+
readonly indentLeftTwips?: number | null;
|
|
3114
|
+
readonly indentRightTwips?: number | null;
|
|
3115
|
+
readonly indentFirstLineTwips?: number | null;
|
|
3116
|
+
readonly contextualSpacing?: boolean;
|
|
3117
|
+
readonly keepNext?: boolean;
|
|
3118
|
+
readonly keepLines?: boolean;
|
|
3119
|
+
readonly widowControl?: boolean;
|
|
3120
|
+
readonly pageBreakBefore?: boolean;
|
|
3121
|
+
/** Replace the custom tab stops. An EMPTY list clears them; omit to leave them alone. */
|
|
3122
|
+
readonly tabStops?: readonly ParagraphTabStop[];
|
|
3123
|
+
}
|
|
3124
|
+
/** What `useParagraphFormat` returns. @public */
|
|
3125
|
+
interface UseParagraphFormatReturn {
|
|
3126
|
+
/** The selection's paragraph formatting, or null while nothing is loaded. */
|
|
3127
|
+
readonly format: ParagraphFormatRead | null;
|
|
3128
|
+
/** Whether the engine can write paragraph formatting right now (mounted, editable). */
|
|
3129
|
+
readonly isEnabled: boolean;
|
|
3130
|
+
/** Write the given fields as ONE undoable step. Returns whether the engine accepted. */
|
|
3131
|
+
readonly apply: (update: ParagraphFormatUpdate) => boolean;
|
|
3132
|
+
}
|
|
3133
|
+
/**
|
|
3134
|
+
* The selection's paragraph formatting, plus the command to change it.
|
|
3135
|
+
*
|
|
3136
|
+
* `apply` sends ONE `setParagraphFormat`, so a dialog's worth of changes is one undo step
|
|
3137
|
+
* and the page repaints once.
|
|
3138
|
+
*
|
|
3139
|
+
* @public
|
|
3140
|
+
*/
|
|
3141
|
+
declare function useParagraphFormat(): UseParagraphFormatReturn;
|
|
3142
|
+
|
|
3011
3143
|
/**
|
|
3012
3144
|
* The fields `apply` accepts — twips throughout, like every other read shape here.
|
|
3013
3145
|
*
|
|
@@ -3773,4 +3905,4 @@ declare function VerticalRuler({ pageSetup, zoom, editable, onTopMarginChange, o
|
|
|
3773
3905
|
*/
|
|
3774
3906
|
declare function useEditorSnapshot(editor: Editor | null): number;
|
|
3775
3907
|
|
|
3776
|
-
export { CONTENT_CONTROL_SLOTS, type ChromeTranslate, type ContentControlActionProps, type ContentControlInspectorState, type ContentControlLock, type ContentControlPartProps, type ContentControlProps, type ContentControlSlotId, type ContextMenuAnchor, ContextMenuCellVerticalAlignment, type ContextMenuCommandProps, type ContextMenuContextValue, ContextMenuCopy, ContextMenuCut, ContextMenuDelete, ContextMenuDeleteTable, ContextMenuDeleteTableColumn, ContextMenuDeleteTableRow, ContextMenuInsertColumnLeft, ContextMenuInsertColumnRight, ContextMenuInsertRowAbove, ContextMenuInsertRowBelow, ContextMenuItem, type ContextMenuItemProps, ContextMenuPaste, ContextMenuRefreshToc, ContextMenuRefreshTocPageNumbers, ContextMenuSelectAll, type ContextMenuTableRowProps, DocumentName, DocumentOutline, DocxEditor, DocxEditorAuthorStyle, type DocxEditorAuthorStyleProps, type DocxEditorChildren, DocxEditorColorByChangeType, DocxEditorContent, DocxEditorContentControl, type DocxEditorContentControlNamespace, type DocxEditorContentProps, DocxEditorContextMenu, type DocxEditorContextMenuNamespace, type DocxEditorContextMenuProps, DocxEditorDocumentOutline, type DocxEditorDocumentOutlineProps, DocxEditorFontNotice, type DocxEditorFontNoticeProps, DocxEditorHeaderFooterChrome, type DocxEditorHeaderFooterChromeProps, DocxEditorHorizontalRuler, DocxEditorHyperLink, type DocxEditorHyperLinkNamespace, DocxEditorImagePropertiesDialog, type DocxEditorImagePropertiesDialogProps, DocxEditorLoading, type DocxEditorLoadingComponent, type DocxEditorLoadingProps, DocxEditorLoadingSpinner, type DocxEditorLoadingSpinnerProps, DocxEditorMenu, type DocxEditorMenuNamespace, type DocxEditorMenuProps, type DocxEditorNamespace, DocxEditorNavigation, type DocxEditorNavigationNamespace, type DocxEditorNavigationProps, DocxEditorNotesChrome, type DocxEditorNotesChromeProps, DocxEditorPageNumber, type DocxEditorPageNumberProps, DocxEditorPageSetupDialog, type DocxEditorPageSetupDialogProps, type DocxEditorProps, type DocxEditorRef, DocxEditorRoot, type DocxEditorRootListeners, type DocxEditorRootProps, type DocxEditorRulerProps, DocxEditorShell, DocxEditorToolbar, type DocxEditorToolbarNamespace, type DocxEditorToolbarProps, DocxEditorVerticalRuler, DocxEditorViewport, type DocxEditorViewportProps, type DocxFontsInput, type DocxFontsSource, type DocxSource, type EditorCaret, type EditorCommandState, type EditorMode, type EditorValueCommandState, type FontFamilyItemProps, type FontFamilyNamespace, type FontFamilyPartProps, type FontFamilyProps, type FontsInput, type HeaderFooterState, HorizontalRuler, type HorizontalRulerProps$1 as HorizontalRulerProps, type HyperLinkActionProps, type HyperLinkPartProps, type HyperLinkProps, type HyperlinkPopupAnchor, type HyperlinkPopupMode, type HyperlinkPopupState, ImageAltText, ImageInsertProvider, ImageInsertTrigger, ImagePropertiesTrigger, type ImagePropertiesTriggerProps, ImageWrap, type IndentUpdate, LocaleProvider, type LocaleProviderProps, Logo, type MaybeRefOrGetter, type MenuActionProps, MenuBar, type MenuGroupProps, type MenuId, type MenuItemProps, type MenuPartComponent, type MenuProps, type MenuReportIssueProps, type MenuRowProps, type MenuSeparatorProps, type MenuSubmenuProps, type MenuTableGridProps, NAVIGATION_PANE_GAP, NAVIGATION_PANE_INSET, NAVIGATION_PANE_WIDTH, NavigationClose, NavigationFind, NavigationHeader, NavigationHeadings, type NavigationPartProps, type NavigationShiftInput, NavigationTab, type NavigationTabProps, type NavigationTab$1 as NavigationTabValue, NavigationTabs, NavigationTitle, NavigationToggle, type NormalizedImagePayload, type NotePropertiesState, OUTLINE_BUTTON_LEFT_OFFSET, OUTLINE_BUTTON_RESERVED_SPACE, OUTLINE_LEFT_OFFSET, OUTLINE_RESERVED_SPACE, type OutlineHeading$1 as OutlineHeading, type OutlineHeadingItem, PageIndicator, type PageIndicatorProps, PageNumberTranslationContext, type PageSetupUpdate, PaginatedDocxEditor, type PaginatedDocxEditorExpose, type PaginatedDocxEditorHandle, type PaginatedDocxEditorProps, PaginatedDocxEditorShell, type PaginatedDocxEditorShellProps, type ParagraphStyleItemProps, type ParagraphStyleNamespace, type ParagraphStyleOption, type ParagraphStylePartProps, type ParagraphStyleProps, type ProvideDocxEditorResult, REVIEW_MARKERS_GUTTER, REVIEW_PANE_GUTTER, RULER_WIDTH, type ReviewGutter, type ReviewGutterInput, ReviewRailContext, type ReviewRailRegistry, SEARCH_DEBOUNCE_MS, SEARCH_MATCH_LIMIT, type ScopedChromeAnchor, Slot, type SlotProps, type TableBorderColorNamespace, type TableBorderStyleNamespace, type TableBorderTargetNamespace, type TableBorderWidthNamespace, type TableCellFillNamespace, type TableChromeItemProps, type TableChromePartComponent, type TableChromePartProps, TitleBar, TitleBarRight, Toolbar, type ToolbarActionProps, type ToolbarAlignmentComponent, ToolbarButton, type ToolbarButtonProps$1 as ToolbarButtonProps, ToolbarContext, type ToolbarContextValue, ToolbarGroup, ToolbarImageProperties, type ToolbarPartComponent, type ToolbarPartProps, type ToolbarProps, type ToolbarSeparatorProps, type ToolbarSlotPartComponent, type ToolbarSlotPartProps, type ToolbarTranslate, type UseContentControlResult, type UseDocumentOutlineResult, type UseDocumentSearchResult, type UseDocxSourceOptions, type UseDocxSourceResult, type UseFontFamilyResult, type UseHyperlinkPopupResult, type UseNavigationPaneOptions, type UseNavigationPaneResult, type UsePageSetupReturn, type UseParagraphIndentReturn, type UseParagraphStyleResult, type UseZoomResult, VERSION, VerticalRuler, type VerticalRulerProps, editorStateActiveSubscriptionCount, isFieldLink, navigationPaneReservation, navigationShift, normalizeImageBytes, notificationYieldsToTask, useProvidedDocxEditor as provideDocxEditor, reviewGutter, useChromeTranslate, useContentControl, useContentControlInstance, useContextMenuTarget, useDocumentOutline, useDocumentSearch, useDocxEditor, useDocxSource, useEditorCaret, useEditorCommand, useEditorEvent, useEditorSnapshot, useEditorState, useEditorValueCommand, useFontFamily, useFonts, useHeaderFooterState, useHyperlinkPopup, useHyperlinkPopupInstance, useNavigationPane, useNavigationShift, useNotePropertiesState, useNoteScopeState, usePageSetup, useParagraphIndent, useParagraphStyle, useReviewAuthors, useReviewGutter, useScopeClassName, useScopedChromeAnchor, useTableBorderTargetLabel, useToolbarContext, useToolbarLabel, useToolbarLabelFor, useTranslation, useZoom };
|
|
3908
|
+
export { CONTENT_CONTROL_SLOTS, type ChromeTranslate, type ContentControlActionProps, type ContentControlInspectorState, type ContentControlLock, type ContentControlPartProps, type ContentControlProps, type ContentControlSlotId, type ContextMenuAnchor, ContextMenuCellVerticalAlignment, type ContextMenuCommandProps, type ContextMenuContextValue, ContextMenuCopy, ContextMenuCut, ContextMenuDelete, ContextMenuDeleteTable, ContextMenuDeleteTableColumn, ContextMenuDeleteTableRow, ContextMenuInsertColumnLeft, ContextMenuInsertColumnRight, ContextMenuInsertRowAbove, ContextMenuInsertRowBelow, ContextMenuItem, type ContextMenuItemProps, ContextMenuPaste, ContextMenuRefreshToc, ContextMenuRefreshTocPageNumbers, ContextMenuSelectAll, type ContextMenuTableRowProps, DocumentName, DocumentOutline, DocxEditor, DocxEditorAuthorStyle, type DocxEditorAuthorStyleProps, type DocxEditorChildren, DocxEditorColorByChangeType, DocxEditorContent, DocxEditorContentControl, type DocxEditorContentControlNamespace, type DocxEditorContentProps, DocxEditorContextMenu, type DocxEditorContextMenuNamespace, type DocxEditorContextMenuProps, DocxEditorDocumentOutline, type DocxEditorDocumentOutlineProps, DocxEditorFontNotice, type DocxEditorFontNoticeProps, DocxEditorHeaderFooterChrome, type DocxEditorHeaderFooterChromeProps, DocxEditorHorizontalRuler, DocxEditorHyperLink, type DocxEditorHyperLinkNamespace, DocxEditorImagePropertiesDialog, type DocxEditorImagePropertiesDialogProps, DocxEditorLoading, type DocxEditorLoadingComponent, type DocxEditorLoadingProps, DocxEditorLoadingSpinner, type DocxEditorLoadingSpinnerProps, DocxEditorMenu, type DocxEditorMenuNamespace, type DocxEditorMenuProps, type DocxEditorNamespace, DocxEditorNavigation, type DocxEditorNavigationNamespace, type DocxEditorNavigationProps, DocxEditorNotesChrome, type DocxEditorNotesChromeProps, DocxEditorPageNumber, type DocxEditorPageNumberProps, DocxEditorPageSetupDialog, type DocxEditorPageSetupDialogProps, DocxEditorParagraphDialog, type DocxEditorParagraphDialogProps, type DocxEditorProps, type DocxEditorRef, DocxEditorRoot, type DocxEditorRootListeners, type DocxEditorRootProps, type DocxEditorRulerProps, DocxEditorShell, DocxEditorToolbar, type DocxEditorToolbarNamespace, type DocxEditorToolbarProps, DocxEditorVerticalRuler, DocxEditorViewport, type DocxEditorViewportProps, type DocxFontsInput, type DocxFontsSource, type DocxSource, type EditorCaret, type EditorCommandState, type EditorMode, type EditorValueCommandState, type FontFamilyItemProps, type FontFamilyNamespace, type FontFamilyPartProps, type FontFamilyProps, type FontsInput, type HeaderFooterState, HorizontalRuler, type HorizontalRulerProps$1 as HorizontalRulerProps, type HyperLinkActionProps, type HyperLinkPartProps, type HyperLinkProps, type HyperlinkPopupAnchor, type HyperlinkPopupMode, type HyperlinkPopupState, ImageAltText, ImageInsertProvider, ImageInsertTrigger, ImagePropertiesTrigger, type ImagePropertiesTriggerProps, ImageWrap, type IndentUpdate, LocaleProvider, type LocaleProviderProps, Logo, type MaybeRefOrGetter, type MenuActionProps, MenuBar, type MenuGroupProps, type MenuId, type MenuItemProps, type MenuPartComponent, type MenuProps, type MenuReportIssueProps, type MenuRowProps, type MenuSeparatorProps, type MenuSubmenuProps, type MenuTableGridProps, NAVIGATION_PANE_GAP, NAVIGATION_PANE_INSET, NAVIGATION_PANE_WIDTH, NavigationClose, NavigationFind, NavigationHeader, NavigationHeadings, type NavigationPartProps, type NavigationShiftInput, NavigationTab, type NavigationTabProps, type NavigationTab$1 as NavigationTabValue, NavigationTabs, NavigationTitle, NavigationToggle, type NormalizedImagePayload, type NotePropertiesState, OUTLINE_BUTTON_LEFT_OFFSET, OUTLINE_BUTTON_RESERVED_SPACE, OUTLINE_LEFT_OFFSET, OUTLINE_RESERVED_SPACE, type OutlineHeading$1 as OutlineHeading, type OutlineHeadingItem, PageIndicator, type PageIndicatorProps, PageNumberTranslationContext, type PageSetupUpdate, PaginatedDocxEditor, type PaginatedDocxEditorExpose, type PaginatedDocxEditorHandle, type PaginatedDocxEditorProps, PaginatedDocxEditorShell, type PaginatedDocxEditorShellProps, type ParagraphFlagState, type ParagraphFormatRead, type ParagraphFormatUpdate, type ParagraphStyleItemProps, type ParagraphStyleNamespace, type ParagraphStyleOption, type ParagraphStylePartProps, type ParagraphStyleProps, type ParagraphTabStop, type ProvideDocxEditorResult, REVIEW_MARKERS_GUTTER, REVIEW_PANE_GUTTER, RULER_WIDTH, type ReviewGutter, type ReviewGutterInput, ReviewRailContext, type ReviewRailRegistry, SEARCH_DEBOUNCE_MS, SEARCH_MATCH_LIMIT, type ScopedChromeAnchor, Slot, type SlotProps, type TableBorderColorNamespace, type TableBorderStyleNamespace, type TableBorderTargetNamespace, type TableBorderWidthNamespace, type TableCellFillNamespace, type TableChromeItemProps, type TableChromePartComponent, type TableChromePartProps, TitleBar, TitleBarRight, Toolbar, type ToolbarActionProps, type ToolbarAlignmentComponent, ToolbarButton, type ToolbarButtonProps$1 as ToolbarButtonProps, ToolbarContext, type ToolbarContextValue, ToolbarGroup, ToolbarImageProperties, type ToolbarPartComponent, type ToolbarPartProps, type ToolbarProps, type ToolbarSeparatorProps, type ToolbarSlotPartComponent, type ToolbarSlotPartProps, type ToolbarTranslate, type UseContentControlResult, type UseDocumentOutlineResult, type UseDocumentSearchResult, type UseDocxSourceOptions, type UseDocxSourceResult, type UseFontFamilyResult, type UseHyperlinkPopupResult, type UseNavigationPaneOptions, type UseNavigationPaneResult, type UsePageSetupReturn, type UseParagraphFormatReturn, type UseParagraphIndentReturn, type UseParagraphStyleResult, type UseZoomResult, VERSION, VerticalRuler, type VerticalRulerProps, editorStateActiveSubscriptionCount, isFieldLink, navigationPaneReservation, navigationShift, normalizeImageBytes, notificationYieldsToTask, useProvidedDocxEditor as provideDocxEditor, reviewGutter, useChromeTranslate, useContentControl, useContentControlInstance, useContextMenuTarget, useDocumentOutline, useDocumentSearch, useDocxEditor, useDocxSource, useEditorCaret, useEditorCommand, useEditorEvent, useEditorSnapshot, useEditorState, useEditorValueCommand, useFontFamily, useFonts, useHeaderFooterState, useHyperlinkPopup, useHyperlinkPopupInstance, useNavigationPane, useNavigationShift, useNotePropertiesState, useNoteScopeState, usePageSetup, useParagraphFormat, useParagraphIndent, useParagraphStyle, useReviewAuthors, useReviewGutter, useScopeClassName, useScopedChromeAnchor, useTableBorderTargetLabel, useToolbarContext, useToolbarLabel, useToolbarLabelFor, useTranslation, useZoom };
|
package/dist/index.d.ts
CHANGED
|
@@ -1631,6 +1631,22 @@ interface DocxEditorPageSetupDialogProps {
|
|
|
1631
1631
|
*/
|
|
1632
1632
|
declare function DocxEditorPageSetupDialog({ open, onClose, className, }: DocxEditorPageSetupDialogProps): ReactElement | null;
|
|
1633
1633
|
|
|
1634
|
+
/** Props for `DocxEditor.ParagraphDialog`. @public */
|
|
1635
|
+
interface DocxEditorParagraphDialogProps {
|
|
1636
|
+
/** Whether the dialog is shown. The host owns this state. */
|
|
1637
|
+
open: boolean;
|
|
1638
|
+
/** Called on Cancel, Escape, overlay click, and after a successful OK. */
|
|
1639
|
+
onClose: () => void;
|
|
1640
|
+
className?: string;
|
|
1641
|
+
}
|
|
1642
|
+
/**
|
|
1643
|
+
* The Paragraph dialog. Reads the selection through `useParagraphFormat()` and applies
|
|
1644
|
+
* the whole form as one undoable command.
|
|
1645
|
+
*
|
|
1646
|
+
* @public
|
|
1647
|
+
*/
|
|
1648
|
+
declare function DocxEditorParagraphDialog({ open, onClose, className, }: DocxEditorParagraphDialogProps): ReactElement | null;
|
|
1649
|
+
|
|
1634
1650
|
/** Internal bridge from the batteries-included editor's `t` prop to this composition part. */
|
|
1635
1651
|
declare const PageNumberTranslationContext: react.Context<((key: string) => string) | null>;
|
|
1636
1652
|
/** Props for `DocxEditor.PageNumber`. @public */
|
|
@@ -2337,6 +2353,8 @@ interface DocxEditorNamespace extends ForwardRefExoticComponent<DocxEditorProps
|
|
|
2337
2353
|
readonly Navigation: typeof Navigation;
|
|
2338
2354
|
/** Page Setup dialog — size, orientation, margins — applied as one undo step. */
|
|
2339
2355
|
readonly PageSetupDialog: typeof DocxEditorPageSetupDialog;
|
|
2356
|
+
/** The Paragraph dialog: alignment, indentation, spacing and the paragraph flags. */
|
|
2357
|
+
readonly ParagraphDialog: typeof DocxEditorParagraphDialog;
|
|
2340
2358
|
/** Floating localized page readout for the active viewport. */
|
|
2341
2359
|
readonly PageNumber: typeof DocxEditorPageNumber;
|
|
2342
2360
|
/** Word-style notice when document fonts render in substitute faces. */
|
|
@@ -3008,6 +3026,120 @@ interface UsePageSetupReturn {
|
|
|
3008
3026
|
*/
|
|
3009
3027
|
declare function usePageSetup(): UsePageSetupReturn;
|
|
3010
3028
|
|
|
3029
|
+
/** One tri-state paragraph flag: on, off, or "the selection disagrees". */
|
|
3030
|
+
type ParagraphFlagState = boolean | null;
|
|
3031
|
+
/** One custom tab stop, as a control reads and writes it. @public */
|
|
3032
|
+
interface ParagraphTabStop {
|
|
3033
|
+
readonly positionTwips: number;
|
|
3034
|
+
readonly alignment: 'left' | 'center' | 'right' | 'decimal' | 'bar';
|
|
3035
|
+
readonly leader?: 'none' | 'dot' | 'hyphen' | 'underscore' | 'heavy' | 'middleDot';
|
|
3036
|
+
}
|
|
3037
|
+
/**
|
|
3038
|
+
* What the Paragraph dialog reads: every field, as the selection currently stands.
|
|
3039
|
+
*
|
|
3040
|
+
* A `null` means the selection's paragraphs DISAGREE about that field, which a control
|
|
3041
|
+
* shows as an indeterminate checkbox or an empty box rather than as a value. `indent` is
|
|
3042
|
+
* the exception the engine already documents — it reports the first touched paragraph and
|
|
3043
|
+
* flags disagreement per field, because a ruler has to draw its handles somewhere.
|
|
3044
|
+
*
|
|
3045
|
+
* @public
|
|
3046
|
+
*/
|
|
3047
|
+
interface ParagraphFormatRead {
|
|
3048
|
+
/**
|
|
3049
|
+
* `justify`, not OOXML's `both`. The engine speaks `w:jc` values; an adapter speaks the
|
|
3050
|
+
* word its consumers write. Read and write use the SAME spelling here, so a value that
|
|
3051
|
+
* comes out of `format` can go straight back into `apply`.
|
|
3052
|
+
*/
|
|
3053
|
+
readonly alignment: 'left' | 'center' | 'right' | 'justify' | null;
|
|
3054
|
+
readonly spaceBeforePt: number | null;
|
|
3055
|
+
readonly spaceAfterPt: number | null;
|
|
3056
|
+
readonly lineSpacing: {
|
|
3057
|
+
readonly rule: 'multiple' | 'exact' | 'atLeast';
|
|
3058
|
+
readonly value: number;
|
|
3059
|
+
} | null;
|
|
3060
|
+
readonly indentLeftTwips: number | null;
|
|
3061
|
+
readonly indentRightTwips: number | null;
|
|
3062
|
+
/** ONE signed first-line offset: negative is a hanging indent. */
|
|
3063
|
+
readonly indentFirstLineTwips: number | null;
|
|
3064
|
+
readonly contextualSpacing: ParagraphFlagState;
|
|
3065
|
+
readonly keepNext: ParagraphFlagState;
|
|
3066
|
+
readonly keepLines: ParagraphFlagState;
|
|
3067
|
+
readonly widowControl: ParagraphFlagState;
|
|
3068
|
+
readonly pageBreakBefore: ParagraphFlagState;
|
|
3069
|
+
/** Custom tab stops, cascade included. Null when the selection disagrees. */
|
|
3070
|
+
readonly tabStops: readonly ParagraphTabStop[] | null;
|
|
3071
|
+
/**
|
|
3072
|
+
* Which fields are `null` because the selection DISAGREES, as opposed to because nothing
|
|
3073
|
+
* states them.
|
|
3074
|
+
*
|
|
3075
|
+
* A `null` alone cannot tell those apart, and both readings shipped as bugs: a
|
|
3076
|
+
* disagreement rendered as a concrete value is uncorrectable, because the value that
|
|
3077
|
+
* would fix it is the one already on screen; an absent value rendered as "mixed" tells a
|
|
3078
|
+
* single paragraph it disagrees with itself.
|
|
3079
|
+
*/
|
|
3080
|
+
readonly disagrees: {
|
|
3081
|
+
readonly alignment: boolean;
|
|
3082
|
+
readonly spaceBeforePt: boolean;
|
|
3083
|
+
readonly spaceAfterPt: boolean;
|
|
3084
|
+
readonly lineSpacing: boolean;
|
|
3085
|
+
readonly tabStops: boolean;
|
|
3086
|
+
readonly indentLeft: boolean;
|
|
3087
|
+
readonly indentRight: boolean;
|
|
3088
|
+
readonly indentFirstLine: boolean;
|
|
3089
|
+
};
|
|
3090
|
+
/**
|
|
3091
|
+
* Whether the indent reads are UNKNOWN rather than disagreed.
|
|
3092
|
+
*
|
|
3093
|
+
* The engine reports no indent at all for a paragraph inside a table — correct, but not
|
|
3094
|
+
* placeable on a ruler. A control must not call that "mixed": one paragraph cannot
|
|
3095
|
+
* disagree with itself, and the commonest paragraph in a real document is in a cell.
|
|
3096
|
+
*/
|
|
3097
|
+
readonly indentUnknown: boolean;
|
|
3098
|
+
}
|
|
3099
|
+
/**
|
|
3100
|
+
* The fields `apply` accepts. Omitted fields are left as authored; `null` where allowed
|
|
3101
|
+
* REMOVES the setting so the style supplies it again, which is not the same as a zero.
|
|
3102
|
+
*
|
|
3103
|
+
* @public
|
|
3104
|
+
*/
|
|
3105
|
+
interface ParagraphFormatUpdate {
|
|
3106
|
+
readonly alignment?: 'left' | 'center' | 'right' | 'justify';
|
|
3107
|
+
readonly spaceBeforePt?: number | null;
|
|
3108
|
+
readonly spaceAfterPt?: number | null;
|
|
3109
|
+
readonly lineSpacing?: {
|
|
3110
|
+
readonly rule: 'multiple' | 'exact' | 'atLeast';
|
|
3111
|
+
readonly value: number;
|
|
3112
|
+
} | null;
|
|
3113
|
+
readonly indentLeftTwips?: number | null;
|
|
3114
|
+
readonly indentRightTwips?: number | null;
|
|
3115
|
+
readonly indentFirstLineTwips?: number | null;
|
|
3116
|
+
readonly contextualSpacing?: boolean;
|
|
3117
|
+
readonly keepNext?: boolean;
|
|
3118
|
+
readonly keepLines?: boolean;
|
|
3119
|
+
readonly widowControl?: boolean;
|
|
3120
|
+
readonly pageBreakBefore?: boolean;
|
|
3121
|
+
/** Replace the custom tab stops. An EMPTY list clears them; omit to leave them alone. */
|
|
3122
|
+
readonly tabStops?: readonly ParagraphTabStop[];
|
|
3123
|
+
}
|
|
3124
|
+
/** What `useParagraphFormat` returns. @public */
|
|
3125
|
+
interface UseParagraphFormatReturn {
|
|
3126
|
+
/** The selection's paragraph formatting, or null while nothing is loaded. */
|
|
3127
|
+
readonly format: ParagraphFormatRead | null;
|
|
3128
|
+
/** Whether the engine can write paragraph formatting right now (mounted, editable). */
|
|
3129
|
+
readonly isEnabled: boolean;
|
|
3130
|
+
/** Write the given fields as ONE undoable step. Returns whether the engine accepted. */
|
|
3131
|
+
readonly apply: (update: ParagraphFormatUpdate) => boolean;
|
|
3132
|
+
}
|
|
3133
|
+
/**
|
|
3134
|
+
* The selection's paragraph formatting, plus the command to change it.
|
|
3135
|
+
*
|
|
3136
|
+
* `apply` sends ONE `setParagraphFormat`, so a dialog's worth of changes is one undo step
|
|
3137
|
+
* and the page repaints once.
|
|
3138
|
+
*
|
|
3139
|
+
* @public
|
|
3140
|
+
*/
|
|
3141
|
+
declare function useParagraphFormat(): UseParagraphFormatReturn;
|
|
3142
|
+
|
|
3011
3143
|
/**
|
|
3012
3144
|
* The fields `apply` accepts — twips throughout, like every other read shape here.
|
|
3013
3145
|
*
|
|
@@ -3773,4 +3905,4 @@ declare function VerticalRuler({ pageSetup, zoom, editable, onTopMarginChange, o
|
|
|
3773
3905
|
*/
|
|
3774
3906
|
declare function useEditorSnapshot(editor: Editor | null): number;
|
|
3775
3907
|
|
|
3776
|
-
export { CONTENT_CONTROL_SLOTS, type ChromeTranslate, type ContentControlActionProps, type ContentControlInspectorState, type ContentControlLock, type ContentControlPartProps, type ContentControlProps, type ContentControlSlotId, type ContextMenuAnchor, ContextMenuCellVerticalAlignment, type ContextMenuCommandProps, type ContextMenuContextValue, ContextMenuCopy, ContextMenuCut, ContextMenuDelete, ContextMenuDeleteTable, ContextMenuDeleteTableColumn, ContextMenuDeleteTableRow, ContextMenuInsertColumnLeft, ContextMenuInsertColumnRight, ContextMenuInsertRowAbove, ContextMenuInsertRowBelow, ContextMenuItem, type ContextMenuItemProps, ContextMenuPaste, ContextMenuRefreshToc, ContextMenuRefreshTocPageNumbers, ContextMenuSelectAll, type ContextMenuTableRowProps, DocumentName, DocumentOutline, DocxEditor, DocxEditorAuthorStyle, type DocxEditorAuthorStyleProps, type DocxEditorChildren, DocxEditorColorByChangeType, DocxEditorContent, DocxEditorContentControl, type DocxEditorContentControlNamespace, type DocxEditorContentProps, DocxEditorContextMenu, type DocxEditorContextMenuNamespace, type DocxEditorContextMenuProps, DocxEditorDocumentOutline, type DocxEditorDocumentOutlineProps, DocxEditorFontNotice, type DocxEditorFontNoticeProps, DocxEditorHeaderFooterChrome, type DocxEditorHeaderFooterChromeProps, DocxEditorHorizontalRuler, DocxEditorHyperLink, type DocxEditorHyperLinkNamespace, DocxEditorImagePropertiesDialog, type DocxEditorImagePropertiesDialogProps, DocxEditorLoading, type DocxEditorLoadingComponent, type DocxEditorLoadingProps, DocxEditorLoadingSpinner, type DocxEditorLoadingSpinnerProps, DocxEditorMenu, type DocxEditorMenuNamespace, type DocxEditorMenuProps, type DocxEditorNamespace, DocxEditorNavigation, type DocxEditorNavigationNamespace, type DocxEditorNavigationProps, DocxEditorNotesChrome, type DocxEditorNotesChromeProps, DocxEditorPageNumber, type DocxEditorPageNumberProps, DocxEditorPageSetupDialog, type DocxEditorPageSetupDialogProps, type DocxEditorProps, type DocxEditorRef, DocxEditorRoot, type DocxEditorRootListeners, type DocxEditorRootProps, type DocxEditorRulerProps, DocxEditorShell, DocxEditorToolbar, type DocxEditorToolbarNamespace, type DocxEditorToolbarProps, DocxEditorVerticalRuler, DocxEditorViewport, type DocxEditorViewportProps, type DocxFontsInput, type DocxFontsSource, type DocxSource, type EditorCaret, type EditorCommandState, type EditorMode, type EditorValueCommandState, type FontFamilyItemProps, type FontFamilyNamespace, type FontFamilyPartProps, type FontFamilyProps, type FontsInput, type HeaderFooterState, HorizontalRuler, type HorizontalRulerProps$1 as HorizontalRulerProps, type HyperLinkActionProps, type HyperLinkPartProps, type HyperLinkProps, type HyperlinkPopupAnchor, type HyperlinkPopupMode, type HyperlinkPopupState, ImageAltText, ImageInsertProvider, ImageInsertTrigger, ImagePropertiesTrigger, type ImagePropertiesTriggerProps, ImageWrap, type IndentUpdate, LocaleProvider, type LocaleProviderProps, Logo, type MaybeRefOrGetter, type MenuActionProps, MenuBar, type MenuGroupProps, type MenuId, type MenuItemProps, type MenuPartComponent, type MenuProps, type MenuReportIssueProps, type MenuRowProps, type MenuSeparatorProps, type MenuSubmenuProps, type MenuTableGridProps, NAVIGATION_PANE_GAP, NAVIGATION_PANE_INSET, NAVIGATION_PANE_WIDTH, NavigationClose, NavigationFind, NavigationHeader, NavigationHeadings, type NavigationPartProps, type NavigationShiftInput, NavigationTab, type NavigationTabProps, type NavigationTab$1 as NavigationTabValue, NavigationTabs, NavigationTitle, NavigationToggle, type NormalizedImagePayload, type NotePropertiesState, OUTLINE_BUTTON_LEFT_OFFSET, OUTLINE_BUTTON_RESERVED_SPACE, OUTLINE_LEFT_OFFSET, OUTLINE_RESERVED_SPACE, type OutlineHeading$1 as OutlineHeading, type OutlineHeadingItem, PageIndicator, type PageIndicatorProps, PageNumberTranslationContext, type PageSetupUpdate, PaginatedDocxEditor, type PaginatedDocxEditorExpose, type PaginatedDocxEditorHandle, type PaginatedDocxEditorProps, PaginatedDocxEditorShell, type PaginatedDocxEditorShellProps, type ParagraphStyleItemProps, type ParagraphStyleNamespace, type ParagraphStyleOption, type ParagraphStylePartProps, type ParagraphStyleProps, type ProvideDocxEditorResult, REVIEW_MARKERS_GUTTER, REVIEW_PANE_GUTTER, RULER_WIDTH, type ReviewGutter, type ReviewGutterInput, ReviewRailContext, type ReviewRailRegistry, SEARCH_DEBOUNCE_MS, SEARCH_MATCH_LIMIT, type ScopedChromeAnchor, Slot, type SlotProps, type TableBorderColorNamespace, type TableBorderStyleNamespace, type TableBorderTargetNamespace, type TableBorderWidthNamespace, type TableCellFillNamespace, type TableChromeItemProps, type TableChromePartComponent, type TableChromePartProps, TitleBar, TitleBarRight, Toolbar, type ToolbarActionProps, type ToolbarAlignmentComponent, ToolbarButton, type ToolbarButtonProps$1 as ToolbarButtonProps, ToolbarContext, type ToolbarContextValue, ToolbarGroup, ToolbarImageProperties, type ToolbarPartComponent, type ToolbarPartProps, type ToolbarProps, type ToolbarSeparatorProps, type ToolbarSlotPartComponent, type ToolbarSlotPartProps, type ToolbarTranslate, type UseContentControlResult, type UseDocumentOutlineResult, type UseDocumentSearchResult, type UseDocxSourceOptions, type UseDocxSourceResult, type UseFontFamilyResult, type UseHyperlinkPopupResult, type UseNavigationPaneOptions, type UseNavigationPaneResult, type UsePageSetupReturn, type UseParagraphIndentReturn, type UseParagraphStyleResult, type UseZoomResult, VERSION, VerticalRuler, type VerticalRulerProps, editorStateActiveSubscriptionCount, isFieldLink, navigationPaneReservation, navigationShift, normalizeImageBytes, notificationYieldsToTask, useProvidedDocxEditor as provideDocxEditor, reviewGutter, useChromeTranslate, useContentControl, useContentControlInstance, useContextMenuTarget, useDocumentOutline, useDocumentSearch, useDocxEditor, useDocxSource, useEditorCaret, useEditorCommand, useEditorEvent, useEditorSnapshot, useEditorState, useEditorValueCommand, useFontFamily, useFonts, useHeaderFooterState, useHyperlinkPopup, useHyperlinkPopupInstance, useNavigationPane, useNavigationShift, useNotePropertiesState, useNoteScopeState, usePageSetup, useParagraphIndent, useParagraphStyle, useReviewAuthors, useReviewGutter, useScopeClassName, useScopedChromeAnchor, useTableBorderTargetLabel, useToolbarContext, useToolbarLabel, useToolbarLabelFor, useTranslation, useZoom };
|
|
3908
|
+
export { CONTENT_CONTROL_SLOTS, type ChromeTranslate, type ContentControlActionProps, type ContentControlInspectorState, type ContentControlLock, type ContentControlPartProps, type ContentControlProps, type ContentControlSlotId, type ContextMenuAnchor, ContextMenuCellVerticalAlignment, type ContextMenuCommandProps, type ContextMenuContextValue, ContextMenuCopy, ContextMenuCut, ContextMenuDelete, ContextMenuDeleteTable, ContextMenuDeleteTableColumn, ContextMenuDeleteTableRow, ContextMenuInsertColumnLeft, ContextMenuInsertColumnRight, ContextMenuInsertRowAbove, ContextMenuInsertRowBelow, ContextMenuItem, type ContextMenuItemProps, ContextMenuPaste, ContextMenuRefreshToc, ContextMenuRefreshTocPageNumbers, ContextMenuSelectAll, type ContextMenuTableRowProps, DocumentName, DocumentOutline, DocxEditor, DocxEditorAuthorStyle, type DocxEditorAuthorStyleProps, type DocxEditorChildren, DocxEditorColorByChangeType, DocxEditorContent, DocxEditorContentControl, type DocxEditorContentControlNamespace, type DocxEditorContentProps, DocxEditorContextMenu, type DocxEditorContextMenuNamespace, type DocxEditorContextMenuProps, DocxEditorDocumentOutline, type DocxEditorDocumentOutlineProps, DocxEditorFontNotice, type DocxEditorFontNoticeProps, DocxEditorHeaderFooterChrome, type DocxEditorHeaderFooterChromeProps, DocxEditorHorizontalRuler, DocxEditorHyperLink, type DocxEditorHyperLinkNamespace, DocxEditorImagePropertiesDialog, type DocxEditorImagePropertiesDialogProps, DocxEditorLoading, type DocxEditorLoadingComponent, type DocxEditorLoadingProps, DocxEditorLoadingSpinner, type DocxEditorLoadingSpinnerProps, DocxEditorMenu, type DocxEditorMenuNamespace, type DocxEditorMenuProps, type DocxEditorNamespace, DocxEditorNavigation, type DocxEditorNavigationNamespace, type DocxEditorNavigationProps, DocxEditorNotesChrome, type DocxEditorNotesChromeProps, DocxEditorPageNumber, type DocxEditorPageNumberProps, DocxEditorPageSetupDialog, type DocxEditorPageSetupDialogProps, DocxEditorParagraphDialog, type DocxEditorParagraphDialogProps, type DocxEditorProps, type DocxEditorRef, DocxEditorRoot, type DocxEditorRootListeners, type DocxEditorRootProps, type DocxEditorRulerProps, DocxEditorShell, DocxEditorToolbar, type DocxEditorToolbarNamespace, type DocxEditorToolbarProps, DocxEditorVerticalRuler, DocxEditorViewport, type DocxEditorViewportProps, type DocxFontsInput, type DocxFontsSource, type DocxSource, type EditorCaret, type EditorCommandState, type EditorMode, type EditorValueCommandState, type FontFamilyItemProps, type FontFamilyNamespace, type FontFamilyPartProps, type FontFamilyProps, type FontsInput, type HeaderFooterState, HorizontalRuler, type HorizontalRulerProps$1 as HorizontalRulerProps, type HyperLinkActionProps, type HyperLinkPartProps, type HyperLinkProps, type HyperlinkPopupAnchor, type HyperlinkPopupMode, type HyperlinkPopupState, ImageAltText, ImageInsertProvider, ImageInsertTrigger, ImagePropertiesTrigger, type ImagePropertiesTriggerProps, ImageWrap, type IndentUpdate, LocaleProvider, type LocaleProviderProps, Logo, type MaybeRefOrGetter, type MenuActionProps, MenuBar, type MenuGroupProps, type MenuId, type MenuItemProps, type MenuPartComponent, type MenuProps, type MenuReportIssueProps, type MenuRowProps, type MenuSeparatorProps, type MenuSubmenuProps, type MenuTableGridProps, NAVIGATION_PANE_GAP, NAVIGATION_PANE_INSET, NAVIGATION_PANE_WIDTH, NavigationClose, NavigationFind, NavigationHeader, NavigationHeadings, type NavigationPartProps, type NavigationShiftInput, NavigationTab, type NavigationTabProps, type NavigationTab$1 as NavigationTabValue, NavigationTabs, NavigationTitle, NavigationToggle, type NormalizedImagePayload, type NotePropertiesState, OUTLINE_BUTTON_LEFT_OFFSET, OUTLINE_BUTTON_RESERVED_SPACE, OUTLINE_LEFT_OFFSET, OUTLINE_RESERVED_SPACE, type OutlineHeading$1 as OutlineHeading, type OutlineHeadingItem, PageIndicator, type PageIndicatorProps, PageNumberTranslationContext, type PageSetupUpdate, PaginatedDocxEditor, type PaginatedDocxEditorExpose, type PaginatedDocxEditorHandle, type PaginatedDocxEditorProps, PaginatedDocxEditorShell, type PaginatedDocxEditorShellProps, type ParagraphFlagState, type ParagraphFormatRead, type ParagraphFormatUpdate, type ParagraphStyleItemProps, type ParagraphStyleNamespace, type ParagraphStyleOption, type ParagraphStylePartProps, type ParagraphStyleProps, type ParagraphTabStop, type ProvideDocxEditorResult, REVIEW_MARKERS_GUTTER, REVIEW_PANE_GUTTER, RULER_WIDTH, type ReviewGutter, type ReviewGutterInput, ReviewRailContext, type ReviewRailRegistry, SEARCH_DEBOUNCE_MS, SEARCH_MATCH_LIMIT, type ScopedChromeAnchor, Slot, type SlotProps, type TableBorderColorNamespace, type TableBorderStyleNamespace, type TableBorderTargetNamespace, type TableBorderWidthNamespace, type TableCellFillNamespace, type TableChromeItemProps, type TableChromePartComponent, type TableChromePartProps, TitleBar, TitleBarRight, Toolbar, type ToolbarActionProps, type ToolbarAlignmentComponent, ToolbarButton, type ToolbarButtonProps$1 as ToolbarButtonProps, ToolbarContext, type ToolbarContextValue, ToolbarGroup, ToolbarImageProperties, type ToolbarPartComponent, type ToolbarPartProps, type ToolbarProps, type ToolbarSeparatorProps, type ToolbarSlotPartComponent, type ToolbarSlotPartProps, type ToolbarTranslate, type UseContentControlResult, type UseDocumentOutlineResult, type UseDocumentSearchResult, type UseDocxSourceOptions, type UseDocxSourceResult, type UseFontFamilyResult, type UseHyperlinkPopupResult, type UseNavigationPaneOptions, type UseNavigationPaneResult, type UsePageSetupReturn, type UseParagraphFormatReturn, type UseParagraphIndentReturn, type UseParagraphStyleResult, type UseZoomResult, VERSION, VerticalRuler, type VerticalRulerProps, editorStateActiveSubscriptionCount, isFieldLink, navigationPaneReservation, navigationShift, normalizeImageBytes, notificationYieldsToTask, useProvidedDocxEditor as provideDocxEditor, reviewGutter, useChromeTranslate, useContentControl, useContentControlInstance, useContextMenuTarget, useDocumentOutline, useDocumentSearch, useDocxEditor, useDocxSource, useEditorCaret, useEditorCommand, useEditorEvent, useEditorSnapshot, useEditorState, useEditorValueCommand, useFontFamily, useFonts, useHeaderFooterState, useHyperlinkPopup, useHyperlinkPopupInstance, useNavigationPane, useNavigationShift, useNotePropertiesState, useNoteScopeState, usePageSetup, useParagraphFormat, useParagraphIndent, useParagraphStyle, useReviewAuthors, useReviewGutter, useScopeClassName, useScopedChromeAnchor, useTableBorderTargetLabel, useToolbarContext, useToolbarLabel, useToolbarLabelFor, useTranslation, useZoom };
|