pub struct DocApiFormatParagraph<'a, I: Invoker> { /* private fields */ }Implementations§
Source§impl<'a, I: Invoker> DocApiFormatParagraph<'a, I>
impl<'a, I: Invoker> DocApiFormatParagraph<'a, I>
pub fn new(invoker: &'a I) -> Self
Sourcepub fn clear_alignment<'call>(
&'call self,
params: &'call DocFormatParagraphClearAlignmentBoundParams,
) -> impl Future<Output = Result<DocFormatParagraphClearAlignmentResult>> + Send + 'call
pub fn clear_alignment<'call>( &'call self, params: &'call DocFormatParagraphClearAlignmentBoundParams, ) -> impl Future<Output = Result<DocFormatParagraphClearAlignmentResult>> + Send + 'call
Remove direct paragraph alignment, reverting to style-defined or default alignment.
Sourcepub async fn clear_alignment_with_options(
&self,
params: &DocFormatParagraphClearAlignmentBoundParams,
options: InvokeOptions,
) -> Result<DocFormatParagraphClearAlignmentResult>
pub async fn clear_alignment_with_options( &self, params: &DocFormatParagraphClearAlignmentBoundParams, options: InvokeOptions, ) -> Result<DocFormatParagraphClearAlignmentResult>
Remove direct paragraph alignment, reverting to style-defined or default alignment.
Sourcepub fn clear_all_tab_stops<'call>(
&'call self,
params: &'call DocFormatParagraphClearAllTabStopsBoundParams,
) -> impl Future<Output = Result<DocFormatParagraphClearAllTabStopsResult>> + Send + 'call
pub fn clear_all_tab_stops<'call>( &'call self, params: &'call DocFormatParagraphClearAllTabStopsBoundParams, ) -> impl Future<Output = Result<DocFormatParagraphClearAllTabStopsResult>> + Send + 'call
Remove all tab stops from a paragraph.
Sourcepub async fn clear_all_tab_stops_with_options(
&self,
params: &DocFormatParagraphClearAllTabStopsBoundParams,
options: InvokeOptions,
) -> Result<DocFormatParagraphClearAllTabStopsResult>
pub async fn clear_all_tab_stops_with_options( &self, params: &DocFormatParagraphClearAllTabStopsBoundParams, options: InvokeOptions, ) -> Result<DocFormatParagraphClearAllTabStopsResult>
Remove all tab stops from a paragraph.
Sourcepub fn clear_border<'call>(
&'call self,
params: &'call DocFormatParagraphClearBorderBoundParams,
) -> impl Future<Output = Result<DocFormatParagraphClearBorderResult>> + Send + 'call
pub fn clear_border<'call>( &'call self, params: &'call DocFormatParagraphClearBorderBoundParams, ) -> impl Future<Output = Result<DocFormatParagraphClearBorderResult>> + Send + 'call
Remove border for a specific side or all sides of a paragraph.
Sourcepub async fn clear_border_with_options(
&self,
params: &DocFormatParagraphClearBorderBoundParams,
options: InvokeOptions,
) -> Result<DocFormatParagraphClearBorderResult>
pub async fn clear_border_with_options( &self, params: &DocFormatParagraphClearBorderBoundParams, options: InvokeOptions, ) -> Result<DocFormatParagraphClearBorderResult>
Remove border for a specific side or all sides of a paragraph.
Sourcepub fn clear_direction<'call>(
&'call self,
params: &'call DocFormatParagraphClearDirectionBoundParams,
) -> impl Future<Output = Result<DocFormatParagraphClearDirectionResult>> + Send + 'call
pub fn clear_direction<'call>( &'call self, params: &'call DocFormatParagraphClearDirectionBoundParams, ) -> impl Future<Output = Result<DocFormatParagraphClearDirectionResult>> + Send + 'call
Remove explicit paragraph direction, reverting to inherited or default (LTR).
Sourcepub async fn clear_direction_with_options(
&self,
params: &DocFormatParagraphClearDirectionBoundParams,
options: InvokeOptions,
) -> Result<DocFormatParagraphClearDirectionResult>
pub async fn clear_direction_with_options( &self, params: &DocFormatParagraphClearDirectionBoundParams, options: InvokeOptions, ) -> Result<DocFormatParagraphClearDirectionResult>
Remove explicit paragraph direction, reverting to inherited or default (LTR).
Sourcepub fn clear_indentation<'call>(
&'call self,
params: &'call DocFormatParagraphClearIndentationBoundParams,
) -> impl Future<Output = Result<DocFormatParagraphClearIndentationResult>> + Send + 'call
pub fn clear_indentation<'call>( &'call self, params: &'call DocFormatParagraphClearIndentationBoundParams, ) -> impl Future<Output = Result<DocFormatParagraphClearIndentationResult>> + Send + 'call
Remove all direct paragraph indentation.
Sourcepub async fn clear_indentation_with_options(
&self,
params: &DocFormatParagraphClearIndentationBoundParams,
options: InvokeOptions,
) -> Result<DocFormatParagraphClearIndentationResult>
pub async fn clear_indentation_with_options( &self, params: &DocFormatParagraphClearIndentationBoundParams, options: InvokeOptions, ) -> Result<DocFormatParagraphClearIndentationResult>
Remove all direct paragraph indentation.
Sourcepub fn clear_shading<'call>(
&'call self,
params: &'call DocFormatParagraphClearShadingBoundParams,
) -> impl Future<Output = Result<DocFormatParagraphClearShadingResult>> + Send + 'call
pub fn clear_shading<'call>( &'call self, params: &'call DocFormatParagraphClearShadingBoundParams, ) -> impl Future<Output = Result<DocFormatParagraphClearShadingResult>> + Send + 'call
Remove all paragraph shading.
Sourcepub async fn clear_shading_with_options(
&self,
params: &DocFormatParagraphClearShadingBoundParams,
options: InvokeOptions,
) -> Result<DocFormatParagraphClearShadingResult>
pub async fn clear_shading_with_options( &self, params: &DocFormatParagraphClearShadingBoundParams, options: InvokeOptions, ) -> Result<DocFormatParagraphClearShadingResult>
Remove all paragraph shading.
Sourcepub fn clear_spacing<'call>(
&'call self,
params: &'call DocFormatParagraphClearSpacingBoundParams,
) -> impl Future<Output = Result<DocFormatParagraphClearSpacingResult>> + Send + 'call
pub fn clear_spacing<'call>( &'call self, params: &'call DocFormatParagraphClearSpacingBoundParams, ) -> impl Future<Output = Result<DocFormatParagraphClearSpacingResult>> + Send + 'call
Remove all direct paragraph spacing.
Sourcepub async fn clear_spacing_with_options(
&self,
params: &DocFormatParagraphClearSpacingBoundParams,
options: InvokeOptions,
) -> Result<DocFormatParagraphClearSpacingResult>
pub async fn clear_spacing_with_options( &self, params: &DocFormatParagraphClearSpacingBoundParams, options: InvokeOptions, ) -> Result<DocFormatParagraphClearSpacingResult>
Remove all direct paragraph spacing.
Sourcepub fn clear_tab_stop<'call>(
&'call self,
params: &'call DocFormatParagraphClearTabStopBoundParams,
) -> impl Future<Output = Result<DocFormatParagraphClearTabStopResult>> + Send + 'call
pub fn clear_tab_stop<'call>( &'call self, params: &'call DocFormatParagraphClearTabStopBoundParams, ) -> impl Future<Output = Result<DocFormatParagraphClearTabStopResult>> + Send + 'call
Remove a tab stop at a given position.
Sourcepub async fn clear_tab_stop_with_options(
&self,
params: &DocFormatParagraphClearTabStopBoundParams,
options: InvokeOptions,
) -> Result<DocFormatParagraphClearTabStopResult>
pub async fn clear_tab_stop_with_options( &self, params: &DocFormatParagraphClearTabStopBoundParams, options: InvokeOptions, ) -> Result<DocFormatParagraphClearTabStopResult>
Remove a tab stop at a given position.
Sourcepub fn reset_direct_formatting<'call>(
&'call self,
params: &'call DocFormatParagraphResetDirectFormattingBoundParams,
) -> impl Future<Output = Result<DocFormatParagraphResetDirectFormattingResult>> + Send + 'call
pub fn reset_direct_formatting<'call>( &'call self, params: &'call DocFormatParagraphResetDirectFormattingBoundParams, ) -> impl Future<Output = Result<DocFormatParagraphResetDirectFormattingResult>> + Send + 'call
Strip all direct paragraph formatting while preserving style reference, numbering, and section metadata.
Sourcepub async fn reset_direct_formatting_with_options(
&self,
params: &DocFormatParagraphResetDirectFormattingBoundParams,
options: InvokeOptions,
) -> Result<DocFormatParagraphResetDirectFormattingResult>
pub async fn reset_direct_formatting_with_options( &self, params: &DocFormatParagraphResetDirectFormattingBoundParams, options: InvokeOptions, ) -> Result<DocFormatParagraphResetDirectFormattingResult>
Strip all direct paragraph formatting while preserving style reference, numbering, and section metadata.
Sourcepub fn set_alignment<'call>(
&'call self,
params: &'call DocFormatParagraphSetAlignmentBoundParams,
) -> impl Future<Output = Result<DocFormatParagraphSetAlignmentResult>> + Send + 'call
pub fn set_alignment<'call>( &'call self, params: &'call DocFormatParagraphSetAlignmentBoundParams, ) -> impl Future<Output = Result<DocFormatParagraphSetAlignmentResult>> + Send + 'call
Set visual paragraph alignment on a paragraph-like block. For RTL paragraphs, left/right are translated to Word-compatible stored justification values.
Sourcepub async fn set_alignment_with_options(
&self,
params: &DocFormatParagraphSetAlignmentBoundParams,
options: InvokeOptions,
) -> Result<DocFormatParagraphSetAlignmentResult>
pub async fn set_alignment_with_options( &self, params: &DocFormatParagraphSetAlignmentBoundParams, options: InvokeOptions, ) -> Result<DocFormatParagraphSetAlignmentResult>
Set visual paragraph alignment on a paragraph-like block. For RTL paragraphs, left/right are translated to Word-compatible stored justification values.
Sourcepub fn set_border<'call>(
&'call self,
params: &'call DocFormatParagraphSetBorderBoundParams,
) -> impl Future<Output = Result<DocFormatParagraphSetBorderResult>> + Send + 'call
pub fn set_border<'call>( &'call self, params: &'call DocFormatParagraphSetBorderBoundParams, ) -> impl Future<Output = Result<DocFormatParagraphSetBorderResult>> + Send + 'call
Set border properties for a specific side of a paragraph.
Sourcepub async fn set_border_with_options(
&self,
params: &DocFormatParagraphSetBorderBoundParams,
options: InvokeOptions,
) -> Result<DocFormatParagraphSetBorderResult>
pub async fn set_border_with_options( &self, params: &DocFormatParagraphSetBorderBoundParams, options: InvokeOptions, ) -> Result<DocFormatParagraphSetBorderResult>
Set border properties for a specific side of a paragraph.
Sourcepub fn set_direction<'call>(
&'call self,
params: &'call DocFormatParagraphSetDirectionBoundParams,
) -> impl Future<Output = Result<DocFormatParagraphSetDirectionResult>> + Send + 'call
pub fn set_direction<'call>( &'call self, params: &'call DocFormatParagraphSetDirectionBoundParams, ) -> impl Future<Output = Result<DocFormatParagraphSetDirectionResult>> + Send + 'call
Set paragraph base direction (LTR or RTL via w:bidi). Optionally align text to match.
Sourcepub async fn set_direction_with_options(
&self,
params: &DocFormatParagraphSetDirectionBoundParams,
options: InvokeOptions,
) -> Result<DocFormatParagraphSetDirectionResult>
pub async fn set_direction_with_options( &self, params: &DocFormatParagraphSetDirectionBoundParams, options: InvokeOptions, ) -> Result<DocFormatParagraphSetDirectionResult>
Set paragraph base direction (LTR or RTL via w:bidi). Optionally align text to match.
Sourcepub fn set_flow_options<'call>(
&'call self,
params: &'call DocFormatParagraphSetFlowOptionsBoundParams,
) -> impl Future<Output = Result<DocFormatParagraphSetFlowOptionsResult>> + Send + 'call
pub fn set_flow_options<'call>( &'call self, params: &'call DocFormatParagraphSetFlowOptionsBoundParams, ) -> impl Future<Output = Result<DocFormatParagraphSetFlowOptionsResult>> + Send + 'call
Set paragraph flow flags: contextual spacing, page-break-before, suppress-auto-hyphens, and the advanced layout toggles auto-space-DE, auto-space-DN, adjust-right-indent, and snap-to-grid.
Sourcepub async fn set_flow_options_with_options(
&self,
params: &DocFormatParagraphSetFlowOptionsBoundParams,
options: InvokeOptions,
) -> Result<DocFormatParagraphSetFlowOptionsResult>
pub async fn set_flow_options_with_options( &self, params: &DocFormatParagraphSetFlowOptionsBoundParams, options: InvokeOptions, ) -> Result<DocFormatParagraphSetFlowOptionsResult>
Set paragraph flow flags: contextual spacing, page-break-before, suppress-auto-hyphens, and the advanced layout toggles auto-space-DE, auto-space-DN, adjust-right-indent, and snap-to-grid.
Sourcepub fn set_indentation<'call>(
&'call self,
params: &'call DocFormatParagraphSetIndentationBoundParams,
) -> impl Future<Output = Result<DocFormatParagraphSetIndentationResult>> + Send + 'call
pub fn set_indentation<'call>( &'call self, params: &'call DocFormatParagraphSetIndentationBoundParams, ) -> impl Future<Output = Result<DocFormatParagraphSetIndentationResult>> + Send + 'call
Set paragraph indentation properties (signed left/right, firstLine, hanging) in twips.
Sourcepub async fn set_indentation_with_options(
&self,
params: &DocFormatParagraphSetIndentationBoundParams,
options: InvokeOptions,
) -> Result<DocFormatParagraphSetIndentationResult>
pub async fn set_indentation_with_options( &self, params: &DocFormatParagraphSetIndentationBoundParams, options: InvokeOptions, ) -> Result<DocFormatParagraphSetIndentationResult>
Set paragraph indentation properties (signed left/right, firstLine, hanging) in twips.
Sourcepub fn set_keep_options<'call>(
&'call self,
params: &'call DocFormatParagraphSetKeepOptionsBoundParams,
) -> impl Future<Output = Result<DocFormatParagraphSetKeepOptionsResult>> + Send + 'call
pub fn set_keep_options<'call>( &'call self, params: &'call DocFormatParagraphSetKeepOptionsBoundParams, ) -> impl Future<Output = Result<DocFormatParagraphSetKeepOptionsResult>> + Send + 'call
Set keep-with-next, keep-lines-together, and widow/orphan control flags.
Sourcepub async fn set_keep_options_with_options(
&self,
params: &DocFormatParagraphSetKeepOptionsBoundParams,
options: InvokeOptions,
) -> Result<DocFormatParagraphSetKeepOptionsResult>
pub async fn set_keep_options_with_options( &self, params: &DocFormatParagraphSetKeepOptionsBoundParams, options: InvokeOptions, ) -> Result<DocFormatParagraphSetKeepOptionsResult>
Set keep-with-next, keep-lines-together, and widow/orphan control flags.
Sourcepub fn set_mark_run_props<'call>(
&'call self,
params: &'call DocFormatParagraphSetMarkRunPropsBoundParams,
) -> impl Future<Output = Result<DocFormatParagraphSetMarkRunPropsResult>> + Send + 'call
pub fn set_mark_run_props<'call>( &'call self, params: &'call DocFormatParagraphSetMarkRunPropsBoundParams, ) -> impl Future<Output = Result<DocFormatParagraphSetMarkRunPropsResult>> + Send + 'call
Set the paragraph mark’s run properties (w:pPr/w:rPr), e.g. the font size or specVanish carried by the paragraph-end mark.
Sourcepub async fn set_mark_run_props_with_options(
&self,
params: &DocFormatParagraphSetMarkRunPropsBoundParams,
options: InvokeOptions,
) -> Result<DocFormatParagraphSetMarkRunPropsResult>
pub async fn set_mark_run_props_with_options( &self, params: &DocFormatParagraphSetMarkRunPropsBoundParams, options: InvokeOptions, ) -> Result<DocFormatParagraphSetMarkRunPropsResult>
Set the paragraph mark’s run properties (w:pPr/w:rPr), e.g. the font size or specVanish carried by the paragraph-end mark.
Sourcepub fn set_numbering<'call>(
&'call self,
params: &'call DocFormatParagraphSetNumberingBoundParams,
) -> impl Future<Output = Result<DocFormatParagraphSetNumberingResult>> + Send + 'call
pub fn set_numbering<'call>( &'call self, params: &'call DocFormatParagraphSetNumberingBoundParams, ) -> impl Future<Output = Result<DocFormatParagraphSetNumberingResult>> + Send + 'call
Attach numbering (numId + level) to an existing paragraph or heading so it joins a numbered sequence. Numbering is a paragraph property; the node and its style are otherwise unchanged, though any direct paragraph indent is cleared so the numbering level controls indentation. Direct edits only; tracked mode is unsupported.
Sourcepub async fn set_numbering_with_options(
&self,
params: &DocFormatParagraphSetNumberingBoundParams,
options: InvokeOptions,
) -> Result<DocFormatParagraphSetNumberingResult>
pub async fn set_numbering_with_options( &self, params: &DocFormatParagraphSetNumberingBoundParams, options: InvokeOptions, ) -> Result<DocFormatParagraphSetNumberingResult>
Attach numbering (numId + level) to an existing paragraph or heading so it joins a numbered sequence. Numbering is a paragraph property; the node and its style are otherwise unchanged, though any direct paragraph indent is cleared so the numbering level controls indentation. Direct edits only; tracked mode is unsupported.
Sourcepub fn set_outline_level<'call>(
&'call self,
params: &'call DocFormatParagraphSetOutlineLevelBoundParams,
) -> impl Future<Output = Result<DocFormatParagraphSetOutlineLevelResult>> + Send + 'call
pub fn set_outline_level<'call>( &'call self, params: &'call DocFormatParagraphSetOutlineLevelBoundParams, ) -> impl Future<Output = Result<DocFormatParagraphSetOutlineLevelResult>> + Send + 'call
Set the paragraph outline level (0–9) or null to clear.
Sourcepub async fn set_outline_level_with_options(
&self,
params: &DocFormatParagraphSetOutlineLevelBoundParams,
options: InvokeOptions,
) -> Result<DocFormatParagraphSetOutlineLevelResult>
pub async fn set_outline_level_with_options( &self, params: &DocFormatParagraphSetOutlineLevelBoundParams, options: InvokeOptions, ) -> Result<DocFormatParagraphSetOutlineLevelResult>
Set the paragraph outline level (0–9) or null to clear.
Sourcepub fn set_shading<'call>(
&'call self,
params: &'call DocFormatParagraphSetShadingBoundParams,
) -> impl Future<Output = Result<DocFormatParagraphSetShadingResult>> + Send + 'call
pub fn set_shading<'call>( &'call self, params: &'call DocFormatParagraphSetShadingBoundParams, ) -> impl Future<Output = Result<DocFormatParagraphSetShadingResult>> + Send + 'call
Set paragraph shading (background fill, pattern color, pattern type).
Sourcepub async fn set_shading_with_options(
&self,
params: &DocFormatParagraphSetShadingBoundParams,
options: InvokeOptions,
) -> Result<DocFormatParagraphSetShadingResult>
pub async fn set_shading_with_options( &self, params: &DocFormatParagraphSetShadingBoundParams, options: InvokeOptions, ) -> Result<DocFormatParagraphSetShadingResult>
Set paragraph shading (background fill, pattern color, pattern type).
Sourcepub fn set_spacing<'call>(
&'call self,
params: &'call DocFormatParagraphSetSpacingBoundParams,
) -> impl Future<Output = Result<DocFormatParagraphSetSpacingResult>> + Send + 'call
pub fn set_spacing<'call>( &'call self, params: &'call DocFormatParagraphSetSpacingBoundParams, ) -> impl Future<Output = Result<DocFormatParagraphSetSpacingResult>> + Send + 'call
Set paragraph spacing properties (before, after, line, lineRule) in twips.
Sourcepub async fn set_spacing_with_options(
&self,
params: &DocFormatParagraphSetSpacingBoundParams,
options: InvokeOptions,
) -> Result<DocFormatParagraphSetSpacingResult>
pub async fn set_spacing_with_options( &self, params: &DocFormatParagraphSetSpacingBoundParams, options: InvokeOptions, ) -> Result<DocFormatParagraphSetSpacingResult>
Set paragraph spacing properties (before, after, line, lineRule) in twips.
Sourcepub fn set_tab_stop<'call>(
&'call self,
params: &'call DocFormatParagraphSetTabStopBoundParams,
) -> impl Future<Output = Result<DocFormatParagraphSetTabStopResult>> + Send + 'call
pub fn set_tab_stop<'call>( &'call self, params: &'call DocFormatParagraphSetTabStopBoundParams, ) -> impl Future<Output = Result<DocFormatParagraphSetTabStopResult>> + Send + 'call
Add or replace a tab stop at a given position.
Sourcepub async fn set_tab_stop_with_options(
&self,
params: &DocFormatParagraphSetTabStopBoundParams,
options: InvokeOptions,
) -> Result<DocFormatParagraphSetTabStopResult>
pub async fn set_tab_stop_with_options( &self, params: &DocFormatParagraphSetTabStopBoundParams, options: InvokeOptions, ) -> Result<DocFormatParagraphSetTabStopResult>
Add or replace a tab stop at a given position.