pub struct DocApiTables<'a, I: Invoker> { /* private fields */ }Implementations§
Source§impl<'a, I: Invoker> DocApiTables<'a, I>
impl<'a, I: Invoker> DocApiTables<'a, I>
pub fn new(invoker: &'a I) -> Self
Sourcepub fn apply_border_preset<'call>(
&'call self,
params: &'call DocTablesApplyBorderPresetBoundParams,
) -> impl Future<Output = Result<DocTablesApplyBorderPresetResult>> + Send + 'call
pub fn apply_border_preset<'call>( &'call self, params: &'call DocTablesApplyBorderPresetBoundParams, ) -> impl Future<Output = Result<DocTablesApplyBorderPresetResult>> + Send + 'call
Apply a border preset (e.g. all borders, outside only) to a table.
Sourcepub async fn apply_border_preset_with_options(
&self,
params: &DocTablesApplyBorderPresetBoundParams,
options: InvokeOptions,
) -> Result<DocTablesApplyBorderPresetResult>
pub async fn apply_border_preset_with_options( &self, params: &DocTablesApplyBorderPresetBoundParams, options: InvokeOptions, ) -> Result<DocTablesApplyBorderPresetResult>
Apply a border preset (e.g. all borders, outside only) to a table.
Sourcepub fn apply_preset<'call>(
&'call self,
params: &'call DocTablesApplyPresetBoundParams,
) -> impl Future<Output = Result<DocTablesApplyPresetResult>> + Send + 'call
pub fn apply_preset<'call>( &'call self, params: &'call DocTablesApplyPresetBoundParams, ) -> impl Future<Output = Result<DocTablesApplyPresetResult>> + Send + 'call
Apply a named visual preset to a table. Presets: “grid” (1pt black borders all around), “minimal” (no outer borders, hairline grey row separators + thicker bottom), “striped” (banded rows on, 0.5pt grey borders), “accent” (filled header row + thick accent top/bottom; defaults to dark blue, override with accentColor). Composes set_borders + set_style_options + header-row shading in one call. Available via the document API and superdoc_mutations (intentionally NOT exposed as a top-level action on superdoc_table. Agents should compose explicit set_borders / set_shading / set_style_options calls so they always pick concrete colors that match the document context).
Sourcepub async fn apply_preset_with_options(
&self,
params: &DocTablesApplyPresetBoundParams,
options: InvokeOptions,
) -> Result<DocTablesApplyPresetResult>
pub async fn apply_preset_with_options( &self, params: &DocTablesApplyPresetBoundParams, options: InvokeOptions, ) -> Result<DocTablesApplyPresetResult>
Apply a named visual preset to a table. Presets: “grid” (1pt black borders all around), “minimal” (no outer borders, hairline grey row separators + thicker bottom), “striped” (banded rows on, 0.5pt grey borders), “accent” (filled header row + thick accent top/bottom; defaults to dark blue, override with accentColor). Composes set_borders + set_style_options + header-row shading in one call. Available via the document API and superdoc_mutations (intentionally NOT exposed as a top-level action on superdoc_table. Agents should compose explicit set_borders / set_shading / set_style_options calls so they always pick concrete colors that match the document context).
Sourcepub fn apply_style<'call>(
&'call self,
params: &'call DocTablesApplyStyleBoundParams,
) -> impl Future<Output = Result<DocTablesApplyStyleResult>> + Send + 'call
pub fn apply_style<'call>( &'call self, params: &'call DocTablesApplyStyleBoundParams, ) -> impl Future<Output = Result<DocTablesApplyStyleResult>> + Send + 'call
Toggle conditional-format flags (header row, banded rows/columns, first/last column, last row) on a table. Pass styleOptions with the flags you want to set or clear (omitted flags stay unchanged). For “format the first row as a header” use styleOptions: { headerRow: true }. Optional styleId applies a named table style. Leave it unset unless you have a styleId from superdoc_get_content (no need to invent one).
Sourcepub async fn apply_style_with_options(
&self,
params: &DocTablesApplyStyleBoundParams,
options: InvokeOptions,
) -> Result<DocTablesApplyStyleResult>
pub async fn apply_style_with_options( &self, params: &DocTablesApplyStyleBoundParams, options: InvokeOptions, ) -> Result<DocTablesApplyStyleResult>
Toggle conditional-format flags (header row, banded rows/columns, first/last column, last row) on a table. Pass styleOptions with the flags you want to set or clear (omitted flags stay unchanged). For “format the first row as a header” use styleOptions: { headerRow: true }. Optional styleId applies a named table style. Leave it unset unless you have a styleId from superdoc_get_content (no need to invent one).
Sourcepub fn clear_border<'call>(
&'call self,
params: &'call DocTablesClearBorderBoundParams,
) -> impl Future<Output = Result<DocTablesClearBorderResult>> + Send + 'call
pub fn clear_border<'call>( &'call self, params: &'call DocTablesClearBorderBoundParams, ) -> impl Future<Output = Result<DocTablesClearBorderResult>> + Send + 'call
Remove border formatting from a table or cell range.
Sourcepub async fn clear_border_with_options(
&self,
params: &DocTablesClearBorderBoundParams,
options: InvokeOptions,
) -> Result<DocTablesClearBorderResult>
pub async fn clear_border_with_options( &self, params: &DocTablesClearBorderBoundParams, options: InvokeOptions, ) -> Result<DocTablesClearBorderResult>
Remove border formatting from a table or cell range.
Sourcepub fn clear_cell_spacing<'call>(
&'call self,
params: &'call DocTablesClearCellSpacingBoundParams,
) -> impl Future<Output = Result<DocTablesClearCellSpacingResult>> + Send + 'call
pub fn clear_cell_spacing<'call>( &'call self, params: &'call DocTablesClearCellSpacingBoundParams, ) -> impl Future<Output = Result<DocTablesClearCellSpacingResult>> + Send + 'call
Remove custom cell spacing from the target table.
Sourcepub async fn clear_cell_spacing_with_options(
&self,
params: &DocTablesClearCellSpacingBoundParams,
options: InvokeOptions,
) -> Result<DocTablesClearCellSpacingResult>
pub async fn clear_cell_spacing_with_options( &self, params: &DocTablesClearCellSpacingBoundParams, options: InvokeOptions, ) -> Result<DocTablesClearCellSpacingResult>
Remove custom cell spacing from the target table.
Sourcepub fn clear_contents<'call>(
&'call self,
params: &'call DocTablesClearContentsBoundParams,
) -> impl Future<Output = Result<DocTablesClearContentsResult>> + Send + 'call
pub fn clear_contents<'call>( &'call self, params: &'call DocTablesClearContentsBoundParams, ) -> impl Future<Output = Result<DocTablesClearContentsResult>> + Send + 'call
Clear the contents of the target table or cell range.
Sourcepub async fn clear_contents_with_options(
&self,
params: &DocTablesClearContentsBoundParams,
options: InvokeOptions,
) -> Result<DocTablesClearContentsResult>
pub async fn clear_contents_with_options( &self, params: &DocTablesClearContentsBoundParams, options: InvokeOptions, ) -> Result<DocTablesClearContentsResult>
Clear the contents of the target table or cell range.
Sourcepub fn clear_default_style<'call>(
&'call self,
params: &'call DocTablesClearDefaultStyleBoundParams,
) -> impl Future<Output = Result<DocTablesClearDefaultStyleResult>> + Send + 'call
pub fn clear_default_style<'call>( &'call self, params: &'call DocTablesClearDefaultStyleBoundParams, ) -> impl Future<Output = Result<DocTablesClearDefaultStyleResult>> + Send + 'call
Remove the document-level default table style setting.
Sourcepub async fn clear_default_style_with_options(
&self,
params: &DocTablesClearDefaultStyleBoundParams,
options: InvokeOptions,
) -> Result<DocTablesClearDefaultStyleResult>
pub async fn clear_default_style_with_options( &self, params: &DocTablesClearDefaultStyleBoundParams, options: InvokeOptions, ) -> Result<DocTablesClearDefaultStyleResult>
Remove the document-level default table style setting.
Sourcepub fn clear_shading<'call>(
&'call self,
params: &'call DocTablesClearShadingBoundParams,
) -> impl Future<Output = Result<DocTablesClearShadingResult>> + Send + 'call
pub fn clear_shading<'call>( &'call self, params: &'call DocTablesClearShadingBoundParams, ) -> impl Future<Output = Result<DocTablesClearShadingResult>> + Send + 'call
Remove shading from a table or cell range.
Sourcepub async fn clear_shading_with_options(
&self,
params: &DocTablesClearShadingBoundParams,
options: InvokeOptions,
) -> Result<DocTablesClearShadingResult>
pub async fn clear_shading_with_options( &self, params: &DocTablesClearShadingBoundParams, options: InvokeOptions, ) -> Result<DocTablesClearShadingResult>
Remove shading from a table or cell range.
Sourcepub fn clear_style<'call>(
&'call self,
params: &'call DocTablesClearStyleBoundParams,
) -> impl Future<Output = Result<DocTablesClearStyleResult>> + Send + 'call
pub fn clear_style<'call>( &'call self, params: &'call DocTablesClearStyleBoundParams, ) -> impl Future<Output = Result<DocTablesClearStyleResult>> + Send + 'call
Remove the applied table style, reverting to defaults.
Sourcepub async fn clear_style_with_options(
&self,
params: &DocTablesClearStyleBoundParams,
options: InvokeOptions,
) -> Result<DocTablesClearStyleResult>
pub async fn clear_style_with_options( &self, params: &DocTablesClearStyleBoundParams, options: InvokeOptions, ) -> Result<DocTablesClearStyleResult>
Remove the applied table style, reverting to defaults.
Sourcepub fn convert_from_text<'call>(
&'call self,
params: &'call DocTablesConvertFromTextBoundParams,
) -> impl Future<Output = Result<DocTablesConvertFromTextResult>> + Send + 'call
pub fn convert_from_text<'call>( &'call self, params: &'call DocTablesConvertFromTextBoundParams, ) -> impl Future<Output = Result<DocTablesConvertFromTextResult>> + Send + 'call
Convert a text range into a table.
Sourcepub async fn convert_from_text_with_options(
&self,
params: &DocTablesConvertFromTextBoundParams,
options: InvokeOptions,
) -> Result<DocTablesConvertFromTextResult>
pub async fn convert_from_text_with_options( &self, params: &DocTablesConvertFromTextBoundParams, options: InvokeOptions, ) -> Result<DocTablesConvertFromTextResult>
Convert a text range into a table.
Sourcepub fn convert_to_text<'call>(
&'call self,
params: &'call DocTablesConvertToTextBoundParams,
) -> impl Future<Output = Result<DocTablesConvertToTextResult>> + Send + 'call
pub fn convert_to_text<'call>( &'call self, params: &'call DocTablesConvertToTextBoundParams, ) -> impl Future<Output = Result<DocTablesConvertToTextResult>> + Send + 'call
Convert a table back to plain text.
Sourcepub async fn convert_to_text_with_options(
&self,
params: &DocTablesConvertToTextBoundParams,
options: InvokeOptions,
) -> Result<DocTablesConvertToTextResult>
pub async fn convert_to_text_with_options( &self, params: &DocTablesConvertToTextBoundParams, options: InvokeOptions, ) -> Result<DocTablesConvertToTextResult>
Convert a table back to plain text.
Sourcepub fn delete<'call>(
&'call self,
params: &'call DocTablesDeleteBoundParams,
) -> impl Future<Output = Result<DocTablesDeleteResult>> + Send + 'call
pub fn delete<'call>( &'call self, params: &'call DocTablesDeleteBoundParams, ) -> impl Future<Output = Result<DocTablesDeleteResult>> + Send + 'call
Delete the target table from the document.
Sourcepub async fn delete_with_options(
&self,
params: &DocTablesDeleteBoundParams,
options: InvokeOptions,
) -> Result<DocTablesDeleteResult>
pub async fn delete_with_options( &self, params: &DocTablesDeleteBoundParams, options: InvokeOptions, ) -> Result<DocTablesDeleteResult>
Delete the target table from the document.
Sourcepub fn delete_cell<'call>(
&'call self,
params: &'call DocTablesDeleteCellBoundParams,
) -> impl Future<Output = Result<DocTablesDeleteCellResult>> + Send + 'call
pub fn delete_cell<'call>( &'call self, params: &'call DocTablesDeleteCellBoundParams, ) -> impl Future<Output = Result<DocTablesDeleteCellResult>> + Send + 'call
Delete a cell from a table row.
Sourcepub async fn delete_cell_with_options(
&self,
params: &DocTablesDeleteCellBoundParams,
options: InvokeOptions,
) -> Result<DocTablesDeleteCellResult>
pub async fn delete_cell_with_options( &self, params: &DocTablesDeleteCellBoundParams, options: InvokeOptions, ) -> Result<DocTablesDeleteCellResult>
Delete a cell from a table row.
Sourcepub fn delete_column<'call>(
&'call self,
params: &'call DocTablesDeleteColumnBoundParams,
) -> impl Future<Output = Result<DocTablesDeleteColumnResult>> + Send + 'call
pub fn delete_column<'call>( &'call self, params: &'call DocTablesDeleteColumnBoundParams, ) -> impl Future<Output = Result<DocTablesDeleteColumnResult>> + Send + 'call
Delete a column from the target table.
Sourcepub async fn delete_column_with_options(
&self,
params: &DocTablesDeleteColumnBoundParams,
options: InvokeOptions,
) -> Result<DocTablesDeleteColumnResult>
pub async fn delete_column_with_options( &self, params: &DocTablesDeleteColumnBoundParams, options: InvokeOptions, ) -> Result<DocTablesDeleteColumnResult>
Delete a column from the target table.
Sourcepub fn delete_row<'call>(
&'call self,
params: &'call DocTablesDeleteRowBoundParams,
) -> impl Future<Output = Result<DocTablesDeleteRowResult>> + Send + 'call
pub fn delete_row<'call>( &'call self, params: &'call DocTablesDeleteRowBoundParams, ) -> impl Future<Output = Result<DocTablesDeleteRowResult>> + Send + 'call
Delete a row from the target table.
Sourcepub async fn delete_row_with_options(
&self,
params: &DocTablesDeleteRowBoundParams,
options: InvokeOptions,
) -> Result<DocTablesDeleteRowResult>
pub async fn delete_row_with_options( &self, params: &DocTablesDeleteRowBoundParams, options: InvokeOptions, ) -> Result<DocTablesDeleteRowResult>
Delete a row from the target table.
Sourcepub fn distribute_columns<'call>(
&'call self,
params: &'call DocTablesDistributeColumnsBoundParams,
) -> impl Future<Output = Result<DocTablesDistributeColumnsResult>> + Send + 'call
pub fn distribute_columns<'call>( &'call self, params: &'call DocTablesDistributeColumnsBoundParams, ) -> impl Future<Output = Result<DocTablesDistributeColumnsResult>> + Send + 'call
Distribute column widths evenly across the target table.
Sourcepub async fn distribute_columns_with_options(
&self,
params: &DocTablesDistributeColumnsBoundParams,
options: InvokeOptions,
) -> Result<DocTablesDistributeColumnsResult>
pub async fn distribute_columns_with_options( &self, params: &DocTablesDistributeColumnsBoundParams, options: InvokeOptions, ) -> Result<DocTablesDistributeColumnsResult>
Distribute column widths evenly across the target table.
Sourcepub fn distribute_rows<'call>(
&'call self,
params: &'call DocTablesDistributeRowsBoundParams,
) -> impl Future<Output = Result<DocTablesDistributeRowsResult>> + Send + 'call
pub fn distribute_rows<'call>( &'call self, params: &'call DocTablesDistributeRowsBoundParams, ) -> impl Future<Output = Result<DocTablesDistributeRowsResult>> + Send + 'call
Distribute row heights evenly across the target table.
Sourcepub async fn distribute_rows_with_options(
&self,
params: &DocTablesDistributeRowsBoundParams,
options: InvokeOptions,
) -> Result<DocTablesDistributeRowsResult>
pub async fn distribute_rows_with_options( &self, params: &DocTablesDistributeRowsBoundParams, options: InvokeOptions, ) -> Result<DocTablesDistributeRowsResult>
Distribute row heights evenly across the target table.
Sourcepub fn get<'call>(
&'call self,
params: &'call DocTablesGetBoundParams,
) -> impl Future<Output = Result<DocTablesGetResult>> + Send + 'call
pub fn get<'call>( &'call self, params: &'call DocTablesGetBoundParams, ) -> impl Future<Output = Result<DocTablesGetResult>> + Send + 'call
Retrieve table structure and dimensions by locator.
Sourcepub async fn get_with_options(
&self,
params: &DocTablesGetBoundParams,
options: InvokeOptions,
) -> Result<DocTablesGetResult>
pub async fn get_with_options( &self, params: &DocTablesGetBoundParams, options: InvokeOptions, ) -> Result<DocTablesGetResult>
Retrieve table structure and dimensions by locator.
Sourcepub fn get_cells<'call>(
&'call self,
params: &'call DocTablesGetCellsBoundParams,
) -> impl Future<Output = Result<DocTablesGetCellsResult>> + Send + 'call
pub fn get_cells<'call>( &'call self, params: &'call DocTablesGetCellsBoundParams, ) -> impl Future<Output = Result<DocTablesGetCellsResult>> + Send + 'call
Retrieve cell information for a table, optionally filtered by row or column.
Sourcepub async fn get_cells_with_options(
&self,
params: &DocTablesGetCellsBoundParams,
options: InvokeOptions,
) -> Result<DocTablesGetCellsResult>
pub async fn get_cells_with_options( &self, params: &DocTablesGetCellsBoundParams, options: InvokeOptions, ) -> Result<DocTablesGetCellsResult>
Retrieve cell information for a table, optionally filtered by row or column.
Sourcepub fn get_properties<'call>(
&'call self,
params: &'call DocTablesGetPropertiesBoundParams,
) -> impl Future<Output = Result<DocTablesGetPropertiesResult>> + Send + 'call
pub fn get_properties<'call>( &'call self, params: &'call DocTablesGetPropertiesBoundParams, ) -> impl Future<Output = Result<DocTablesGetPropertiesResult>> + Send + 'call
Retrieve layout and style properties of a table.
Sourcepub async fn get_properties_with_options(
&self,
params: &DocTablesGetPropertiesBoundParams,
options: InvokeOptions,
) -> Result<DocTablesGetPropertiesResult>
pub async fn get_properties_with_options( &self, params: &DocTablesGetPropertiesBoundParams, options: InvokeOptions, ) -> Result<DocTablesGetPropertiesResult>
Retrieve layout and style properties of a table.
Sourcepub fn get_styles<'call>(
&'call self,
params: &'call DocTablesGetStylesBoundParams,
) -> impl Future<Output = Result<DocTablesGetStylesResult>> + Send + 'call
pub fn get_styles<'call>( &'call self, params: &'call DocTablesGetStylesBoundParams, ) -> impl Future<Output = Result<DocTablesGetStylesResult>> + Send + 'call
List all table styles and the document-level default table style setting.
Sourcepub async fn get_styles_with_options(
&self,
params: &DocTablesGetStylesBoundParams,
options: InvokeOptions,
) -> Result<DocTablesGetStylesResult>
pub async fn get_styles_with_options( &self, params: &DocTablesGetStylesBoundParams, options: InvokeOptions, ) -> Result<DocTablesGetStylesResult>
List all table styles and the document-level default table style setting.
Sourcepub fn insert_cell<'call>(
&'call self,
params: &'call DocTablesInsertCellBoundParams,
) -> impl Future<Output = Result<DocTablesInsertCellResult>> + Send + 'call
pub fn insert_cell<'call>( &'call self, params: &'call DocTablesInsertCellBoundParams, ) -> impl Future<Output = Result<DocTablesInsertCellResult>> + Send + 'call
Insert a new cell into a table row.
Sourcepub async fn insert_cell_with_options(
&self,
params: &DocTablesInsertCellBoundParams,
options: InvokeOptions,
) -> Result<DocTablesInsertCellResult>
pub async fn insert_cell_with_options( &self, params: &DocTablesInsertCellBoundParams, options: InvokeOptions, ) -> Result<DocTablesInsertCellResult>
Insert a new cell into a table row.
Sourcepub fn insert_column<'call>(
&'call self,
params: &'call DocTablesInsertColumnBoundParams,
) -> impl Future<Output = Result<DocTablesInsertColumnResult>> + Send + 'call
pub fn insert_column<'call>( &'call self, params: &'call DocTablesInsertColumnBoundParams, ) -> impl Future<Output = Result<DocTablesInsertColumnResult>> + Send + 'call
Insert a new column into the target table. The new column is cloned from an adjacent column, so it inherits the existing cell shading, borders, alignment, and width. No follow-up styling call is needed unless the new column should look different from the rest of the table.
Sourcepub async fn insert_column_with_options(
&self,
params: &DocTablesInsertColumnBoundParams,
options: InvokeOptions,
) -> Result<DocTablesInsertColumnResult>
pub async fn insert_column_with_options( &self, params: &DocTablesInsertColumnBoundParams, options: InvokeOptions, ) -> Result<DocTablesInsertColumnResult>
Insert a new column into the target table. The new column is cloned from an adjacent column, so it inherits the existing cell shading, borders, alignment, and width. No follow-up styling call is needed unless the new column should look different from the rest of the table.
Sourcepub fn insert_row<'call>(
&'call self,
params: &'call DocTablesInsertRowBoundParams,
) -> impl Future<Output = Result<DocTablesInsertRowResult>> + Send + 'call
pub fn insert_row<'call>( &'call self, params: &'call DocTablesInsertRowBoundParams, ) -> impl Future<Output = Result<DocTablesInsertRowResult>> + Send + 'call
Insert a new row into the target table. The new row is cloned from an adjacent row, so it inherits the existing cell shading, borders, alignment, and padding. No follow-up styling call is needed unless the new row should look different from the rest of the table.
Sourcepub async fn insert_row_with_options(
&self,
params: &DocTablesInsertRowBoundParams,
options: InvokeOptions,
) -> Result<DocTablesInsertRowResult>
pub async fn insert_row_with_options( &self, params: &DocTablesInsertRowBoundParams, options: InvokeOptions, ) -> Result<DocTablesInsertRowResult>
Insert a new row into the target table. The new row is cloned from an adjacent row, so it inherits the existing cell shading, borders, alignment, and padding. No follow-up styling call is needed unless the new row should look different from the rest of the table.
Sourcepub fn merge_cells<'call>(
&'call self,
params: &'call DocTablesMergeCellsBoundParams,
) -> impl Future<Output = Result<DocTablesMergeCellsResult>> + Send + 'call
pub fn merge_cells<'call>( &'call self, params: &'call DocTablesMergeCellsBoundParams, ) -> impl Future<Output = Result<DocTablesMergeCellsResult>> + Send + 'call
Merge a range of table cells into one.
Sourcepub async fn merge_cells_with_options(
&self,
params: &DocTablesMergeCellsBoundParams,
options: InvokeOptions,
) -> Result<DocTablesMergeCellsResult>
pub async fn merge_cells_with_options( &self, params: &DocTablesMergeCellsBoundParams, options: InvokeOptions, ) -> Result<DocTablesMergeCellsResult>
Merge a range of table cells into one.
Sourcepub fn move_<'call>(
&'call self,
params: &'call DocTablesMoveBoundParams,
) -> impl Future<Output = Result<DocTablesMoveResult>> + Send + 'call
pub fn move_<'call>( &'call self, params: &'call DocTablesMoveBoundParams, ) -> impl Future<Output = Result<DocTablesMoveResult>> + Send + 'call
Move a table to a new position in the document.
Sourcepub async fn move_with_options(
&self,
params: &DocTablesMoveBoundParams,
options: InvokeOptions,
) -> Result<DocTablesMoveResult>
pub async fn move_with_options( &self, params: &DocTablesMoveBoundParams, options: InvokeOptions, ) -> Result<DocTablesMoveResult>
Move a table to a new position in the document.
Sourcepub fn move_column<'call>(
&'call self,
params: &'call DocTablesMoveColumnBoundParams,
) -> impl Future<Output = Result<DocTablesMoveColumnResult>> + Send + 'call
pub fn move_column<'call>( &'call self, params: &'call DocTablesMoveColumnBoundParams, ) -> impl Future<Output = Result<DocTablesMoveColumnResult>> + Send + 'call
Move a column to a new position within the same table. Direct mode only; tables with vertical merges, nested tables, or irregular column coverage are rejected, and tracked (suggesting) mode is not supported yet.
Sourcepub async fn move_column_with_options(
&self,
params: &DocTablesMoveColumnBoundParams,
options: InvokeOptions,
) -> Result<DocTablesMoveColumnResult>
pub async fn move_column_with_options( &self, params: &DocTablesMoveColumnBoundParams, options: InvokeOptions, ) -> Result<DocTablesMoveColumnResult>
Move a column to a new position within the same table. Direct mode only; tables with vertical merges, nested tables, or irregular column coverage are rejected, and tracked (suggesting) mode is not supported yet.
Sourcepub fn move_row<'call>(
&'call self,
params: &'call DocTablesMoveRowBoundParams,
) -> impl Future<Output = Result<DocTablesMoveRowResult>> + Send + 'call
pub fn move_row<'call>( &'call self, params: &'call DocTablesMoveRowBoundParams, ) -> impl Future<Output = Result<DocTablesMoveRowResult>> + Send + 'call
Move a row to a new position within the same table.
Sourcepub async fn move_row_with_options(
&self,
params: &DocTablesMoveRowBoundParams,
options: InvokeOptions,
) -> Result<DocTablesMoveRowResult>
pub async fn move_row_with_options( &self, params: &DocTablesMoveRowBoundParams, options: InvokeOptions, ) -> Result<DocTablesMoveRowResult>
Move a row to a new position within the same table.
Sourcepub fn set_alt_text<'call>(
&'call self,
params: &'call DocTablesSetAltTextBoundParams,
) -> impl Future<Output = Result<DocTablesSetAltTextResult>> + Send + 'call
pub fn set_alt_text<'call>( &'call self, params: &'call DocTablesSetAltTextBoundParams, ) -> impl Future<Output = Result<DocTablesSetAltTextResult>> + Send + 'call
Set the alternative text description for a table.
Sourcepub async fn set_alt_text_with_options(
&self,
params: &DocTablesSetAltTextBoundParams,
options: InvokeOptions,
) -> Result<DocTablesSetAltTextResult>
pub async fn set_alt_text_with_options( &self, params: &DocTablesSetAltTextBoundParams, options: InvokeOptions, ) -> Result<DocTablesSetAltTextResult>
Set the alternative text description for a table.
Sourcepub fn set_border<'call>(
&'call self,
params: &'call DocTablesSetBorderBoundParams,
) -> impl Future<Output = Result<DocTablesSetBorderResult>> + Send + 'call
pub fn set_border<'call>( &'call self, params: &'call DocTablesSetBorderBoundParams, ) -> impl Future<Output = Result<DocTablesSetBorderResult>> + Send + 'call
Set border properties on a table or cell range.
Sourcepub async fn set_border_with_options(
&self,
params: &DocTablesSetBorderBoundParams,
options: InvokeOptions,
) -> Result<DocTablesSetBorderResult>
pub async fn set_border_with_options( &self, params: &DocTablesSetBorderBoundParams, options: InvokeOptions, ) -> Result<DocTablesSetBorderResult>
Set border properties on a table or cell range.
Sourcepub fn set_borders<'call>(
&'call self,
params: &'call DocTablesSetBordersBoundParams,
) -> impl Future<Output = Result<DocTablesSetBordersResult>> + Send + 'call
pub fn set_borders<'call>( &'call self, params: &'call DocTablesSetBordersBoundParams, ) -> impl Future<Output = Result<DocTablesSetBordersResult>> + Send + 'call
Set borders on a table using a target set or per-edge patch.
Sourcepub async fn set_borders_with_options(
&self,
params: &DocTablesSetBordersBoundParams,
options: InvokeOptions,
) -> Result<DocTablesSetBordersResult>
pub async fn set_borders_with_options( &self, params: &DocTablesSetBordersBoundParams, options: InvokeOptions, ) -> Result<DocTablesSetBordersResult>
Set borders on a table using a target set or per-edge patch.
Sourcepub fn set_cell_padding<'call>(
&'call self,
params: &'call DocTablesSetCellPaddingBoundParams,
) -> impl Future<Output = Result<DocTablesSetCellPaddingResult>> + Send + 'call
pub fn set_cell_padding<'call>( &'call self, params: &'call DocTablesSetCellPaddingBoundParams, ) -> impl Future<Output = Result<DocTablesSetCellPaddingResult>> + Send + 'call
Set padding on a specific table cell or cell range.
Sourcepub async fn set_cell_padding_with_options(
&self,
params: &DocTablesSetCellPaddingBoundParams,
options: InvokeOptions,
) -> Result<DocTablesSetCellPaddingResult>
pub async fn set_cell_padding_with_options( &self, params: &DocTablesSetCellPaddingBoundParams, options: InvokeOptions, ) -> Result<DocTablesSetCellPaddingResult>
Set padding on a specific table cell or cell range.
Sourcepub fn set_cell_properties<'call>(
&'call self,
params: &'call DocTablesSetCellPropertiesBoundParams,
) -> impl Future<Output = Result<DocTablesSetCellPropertiesResult>> + Send + 'call
pub fn set_cell_properties<'call>( &'call self, params: &'call DocTablesSetCellPropertiesBoundParams, ) -> impl Future<Output = Result<DocTablesSetCellPropertiesResult>> + Send + 'call
Set non-text properties on a single table cell: vertical alignment, text wrapping, fit-text, or preferred width. Requires a cell-level target (a tableCell block address with kind, nodeType, nodeId). Does NOT accept a table target with rowIndex/columnIndex. To set the text content of a cell, use action “set_cell_text” instead.
Sourcepub async fn set_cell_properties_with_options(
&self,
params: &DocTablesSetCellPropertiesBoundParams,
options: InvokeOptions,
) -> Result<DocTablesSetCellPropertiesResult>
pub async fn set_cell_properties_with_options( &self, params: &DocTablesSetCellPropertiesBoundParams, options: InvokeOptions, ) -> Result<DocTablesSetCellPropertiesResult>
Set non-text properties on a single table cell: vertical alignment, text wrapping, fit-text, or preferred width. Requires a cell-level target (a tableCell block address with kind, nodeType, nodeId). Does NOT accept a table target with rowIndex/columnIndex. To set the text content of a cell, use action “set_cell_text” instead.
Sourcepub fn set_cell_spacing<'call>(
&'call self,
params: &'call DocTablesSetCellSpacingBoundParams,
) -> impl Future<Output = Result<DocTablesSetCellSpacingResult>> + Send + 'call
pub fn set_cell_spacing<'call>( &'call self, params: &'call DocTablesSetCellSpacingBoundParams, ) -> impl Future<Output = Result<DocTablesSetCellSpacingResult>> + Send + 'call
Set the cell spacing for the target table.
Sourcepub async fn set_cell_spacing_with_options(
&self,
params: &DocTablesSetCellSpacingBoundParams,
options: InvokeOptions,
) -> Result<DocTablesSetCellSpacingResult>
pub async fn set_cell_spacing_with_options( &self, params: &DocTablesSetCellSpacingBoundParams, options: InvokeOptions, ) -> Result<DocTablesSetCellSpacingResult>
Set the cell spacing for the target table.
Sourcepub fn set_cell_text<'call>(
&'call self,
params: &'call DocTablesSetCellTextBoundParams,
) -> impl Future<Output = Result<DocTablesSetCellTextResult>> + Send + 'call
pub fn set_cell_text<'call>( &'call self, params: &'call DocTablesSetCellTextBoundParams, ) -> impl Future<Output = Result<DocTablesSetCellTextResult>> + Send + 'call
Replace the text content of a single table cell with plain text (one paragraph). Accepts either a direct cell locator (a tableCell block address with kind, nodeType, nodeId) OR a table target with rowIndex + columnIndex. Cell properties (vertical alignment, shading, borders, colspan/rowspan) are preserved. Use this for filling cells with values, replacing cell text, or populating empty tables. Much simpler than walking paragraphs and runs through superdoc_edit.
Sourcepub async fn set_cell_text_with_options(
&self,
params: &DocTablesSetCellTextBoundParams,
options: InvokeOptions,
) -> Result<DocTablesSetCellTextResult>
pub async fn set_cell_text_with_options( &self, params: &DocTablesSetCellTextBoundParams, options: InvokeOptions, ) -> Result<DocTablesSetCellTextResult>
Replace the text content of a single table cell with plain text (one paragraph). Accepts either a direct cell locator (a tableCell block address with kind, nodeType, nodeId) OR a table target with rowIndex + columnIndex. Cell properties (vertical alignment, shading, borders, colspan/rowspan) are preserved. Use this for filling cells with values, replacing cell text, or populating empty tables. Much simpler than walking paragraphs and runs through superdoc_edit.
Sourcepub fn set_column_width<'call>(
&'call self,
params: &'call DocTablesSetColumnWidthBoundParams,
) -> impl Future<Output = Result<DocTablesSetColumnWidthResult>> + Send + 'call
pub fn set_column_width<'call>( &'call self, params: &'call DocTablesSetColumnWidthBoundParams, ) -> impl Future<Output = Result<DocTablesSetColumnWidthResult>> + Send + 'call
Set the width of a table column.
Sourcepub async fn set_column_width_with_options(
&self,
params: &DocTablesSetColumnWidthBoundParams,
options: InvokeOptions,
) -> Result<DocTablesSetColumnWidthResult>
pub async fn set_column_width_with_options( &self, params: &DocTablesSetColumnWidthBoundParams, options: InvokeOptions, ) -> Result<DocTablesSetColumnWidthResult>
Set the width of a table column.
Sourcepub fn set_default_style<'call>(
&'call self,
params: &'call DocTablesSetDefaultStyleBoundParams,
) -> impl Future<Output = Result<DocTablesSetDefaultStyleResult>> + Send + 'call
pub fn set_default_style<'call>( &'call self, params: &'call DocTablesSetDefaultStyleBoundParams, ) -> impl Future<Output = Result<DocTablesSetDefaultStyleResult>> + Send + 'call
Set the document-level default table style (w:defaultTableStyle in settings.xml).
Sourcepub async fn set_default_style_with_options(
&self,
params: &DocTablesSetDefaultStyleBoundParams,
options: InvokeOptions,
) -> Result<DocTablesSetDefaultStyleResult>
pub async fn set_default_style_with_options( &self, params: &DocTablesSetDefaultStyleBoundParams, options: InvokeOptions, ) -> Result<DocTablesSetDefaultStyleResult>
Set the document-level default table style (w:defaultTableStyle in settings.xml).
Sourcepub fn set_layout<'call>(
&'call self,
params: &'call DocTablesSetLayoutBoundParams,
) -> impl Future<Output = Result<DocTablesSetLayoutResult>> + Send + 'call
pub fn set_layout<'call>( &'call self, params: &'call DocTablesSetLayoutBoundParams, ) -> impl Future<Output = Result<DocTablesSetLayoutResult>> + Send + 'call
Set the layout mode of the target table.
Sourcepub async fn set_layout_with_options(
&self,
params: &DocTablesSetLayoutBoundParams,
options: InvokeOptions,
) -> Result<DocTablesSetLayoutResult>
pub async fn set_layout_with_options( &self, params: &DocTablesSetLayoutBoundParams, options: InvokeOptions, ) -> Result<DocTablesSetLayoutResult>
Set the layout mode of the target table.
Sourcepub fn set_row_height<'call>(
&'call self,
params: &'call DocTablesSetRowHeightBoundParams,
) -> impl Future<Output = Result<DocTablesSetRowHeightResult>> + Send + 'call
pub fn set_row_height<'call>( &'call self, params: &'call DocTablesSetRowHeightBoundParams, ) -> impl Future<Output = Result<DocTablesSetRowHeightResult>> + Send + 'call
Set the height of a table row.
Sourcepub async fn set_row_height_with_options(
&self,
params: &DocTablesSetRowHeightBoundParams,
options: InvokeOptions,
) -> Result<DocTablesSetRowHeightResult>
pub async fn set_row_height_with_options( &self, params: &DocTablesSetRowHeightBoundParams, options: InvokeOptions, ) -> Result<DocTablesSetRowHeightResult>
Set the height of a table row.
Sourcepub fn set_row_options<'call>(
&'call self,
params: &'call DocTablesSetRowOptionsBoundParams,
) -> impl Future<Output = Result<DocTablesSetRowOptionsResult>> + Send + 'call
pub fn set_row_options<'call>( &'call self, params: &'call DocTablesSetRowOptionsBoundParams, ) -> impl Future<Output = Result<DocTablesSetRowOptionsResult>> + Send + 'call
Set options on a table row such as header repeat or page break.
Sourcepub async fn set_row_options_with_options(
&self,
params: &DocTablesSetRowOptionsBoundParams,
options: InvokeOptions,
) -> Result<DocTablesSetRowOptionsResult>
pub async fn set_row_options_with_options( &self, params: &DocTablesSetRowOptionsBoundParams, options: InvokeOptions, ) -> Result<DocTablesSetRowOptionsResult>
Set options on a table row such as header repeat or page break.
Sourcepub fn set_shading<'call>(
&'call self,
params: &'call DocTablesSetShadingBoundParams,
) -> impl Future<Output = Result<DocTablesSetShadingResult>> + Send + 'call
pub fn set_shading<'call>( &'call self, params: &'call DocTablesSetShadingBoundParams, ) -> impl Future<Output = Result<DocTablesSetShadingResult>> + Send + 'call
Set the background shading color on a table or cell range.
Sourcepub async fn set_shading_with_options(
&self,
params: &DocTablesSetShadingBoundParams,
options: InvokeOptions,
) -> Result<DocTablesSetShadingResult>
pub async fn set_shading_with_options( &self, params: &DocTablesSetShadingBoundParams, options: InvokeOptions, ) -> Result<DocTablesSetShadingResult>
Set the background shading color on a table or cell range.
Sourcepub fn set_style<'call>(
&'call self,
params: &'call DocTablesSetStyleBoundParams,
) -> impl Future<Output = Result<DocTablesSetStyleResult>> + Send + 'call
pub fn set_style<'call>( &'call self, params: &'call DocTablesSetStyleBoundParams, ) -> impl Future<Output = Result<DocTablesSetStyleResult>> + Send + 'call
Apply a named table style to the target table, or clear the style when styleId is omitted.
Sourcepub async fn set_style_with_options(
&self,
params: &DocTablesSetStyleBoundParams,
options: InvokeOptions,
) -> Result<DocTablesSetStyleResult>
pub async fn set_style_with_options( &self, params: &DocTablesSetStyleBoundParams, options: InvokeOptions, ) -> Result<DocTablesSetStyleResult>
Apply a named table style to the target table, or clear the style when styleId is omitted.
Sourcepub fn set_style_option<'call>(
&'call self,
params: &'call DocTablesSetStyleOptionBoundParams,
) -> impl Future<Output = Result<DocTablesSetStyleOptionResult>> + Send + 'call
pub fn set_style_option<'call>( &'call self, params: &'call DocTablesSetStyleOptionBoundParams, ) -> impl Future<Output = Result<DocTablesSetStyleOptionResult>> + Send + 'call
Toggle a conditional style option such as banded rows or first column.
Sourcepub async fn set_style_option_with_options(
&self,
params: &DocTablesSetStyleOptionBoundParams,
options: InvokeOptions,
) -> Result<DocTablesSetStyleOptionResult>
pub async fn set_style_option_with_options( &self, params: &DocTablesSetStyleOptionBoundParams, options: InvokeOptions, ) -> Result<DocTablesSetStyleOptionResult>
Toggle a conditional style option such as banded rows or first column.
Sourcepub fn set_table_options<'call>(
&'call self,
params: &'call DocTablesSetTableOptionsBoundParams,
) -> impl Future<Output = Result<DocTablesSetTableOptionsResult>> + Send + 'call
pub fn set_table_options<'call>( &'call self, params: &'call DocTablesSetTableOptionsBoundParams, ) -> impl Future<Output = Result<DocTablesSetTableOptionsResult>> + Send + 'call
Set table-level default cell margins and/or cell spacing.
Sourcepub async fn set_table_options_with_options(
&self,
params: &DocTablesSetTableOptionsBoundParams,
options: InvokeOptions,
) -> Result<DocTablesSetTableOptionsResult>
pub async fn set_table_options_with_options( &self, params: &DocTablesSetTableOptionsBoundParams, options: InvokeOptions, ) -> Result<DocTablesSetTableOptionsResult>
Set table-level default cell margins and/or cell spacing.
Sourcepub fn set_table_padding<'call>(
&'call self,
params: &'call DocTablesSetTablePaddingBoundParams,
) -> impl Future<Output = Result<DocTablesSetTablePaddingResult>> + Send + 'call
pub fn set_table_padding<'call>( &'call self, params: &'call DocTablesSetTablePaddingBoundParams, ) -> impl Future<Output = Result<DocTablesSetTablePaddingResult>> + Send + 'call
Set default cell padding for the entire table.
Sourcepub async fn set_table_padding_with_options(
&self,
params: &DocTablesSetTablePaddingBoundParams,
options: InvokeOptions,
) -> Result<DocTablesSetTablePaddingResult>
pub async fn set_table_padding_with_options( &self, params: &DocTablesSetTablePaddingBoundParams, options: InvokeOptions, ) -> Result<DocTablesSetTablePaddingResult>
Set default cell padding for the entire table.
Sourcepub fn sort<'call>(
&'call self,
params: &'call DocTablesSortBoundParams,
) -> impl Future<Output = Result<DocTablesSortResult>> + Send + 'call
pub fn sort<'call>( &'call self, params: &'call DocTablesSortBoundParams, ) -> impl Future<Output = Result<DocTablesSortResult>> + Send + 'call
Sort table rows by a column value.
Sourcepub async fn sort_with_options(
&self,
params: &DocTablesSortBoundParams,
options: InvokeOptions,
) -> Result<DocTablesSortResult>
pub async fn sort_with_options( &self, params: &DocTablesSortBoundParams, options: InvokeOptions, ) -> Result<DocTablesSortResult>
Sort table rows by a column value.
Sourcepub fn split<'call>(
&'call self,
params: &'call DocTablesSplitBoundParams,
) -> impl Future<Output = Result<DocTablesSplitResult>> + Send + 'call
pub fn split<'call>( &'call self, params: &'call DocTablesSplitBoundParams, ) -> impl Future<Output = Result<DocTablesSplitResult>> + Send + 'call
Split a table into two tables at the target row.
Sourcepub async fn split_with_options(
&self,
params: &DocTablesSplitBoundParams,
options: InvokeOptions,
) -> Result<DocTablesSplitResult>
pub async fn split_with_options( &self, params: &DocTablesSplitBoundParams, options: InvokeOptions, ) -> Result<DocTablesSplitResult>
Split a table into two tables at the target row.
Sourcepub fn split_cell<'call>(
&'call self,
params: &'call DocTablesSplitCellBoundParams,
) -> impl Future<Output = Result<DocTablesSplitCellResult>> + Send + 'call
pub fn split_cell<'call>( &'call self, params: &'call DocTablesSplitCellBoundParams, ) -> impl Future<Output = Result<DocTablesSplitCellResult>> + Send + 'call
Split a table cell into multiple cells.
Sourcepub async fn split_cell_with_options(
&self,
params: &DocTablesSplitCellBoundParams,
options: InvokeOptions,
) -> Result<DocTablesSplitCellResult>
pub async fn split_cell_with_options( &self, params: &DocTablesSplitCellBoundParams, options: InvokeOptions, ) -> Result<DocTablesSplitCellResult>
Split a table cell into multiple cells.
Sourcepub fn unmerge_cells<'call>(
&'call self,
params: &'call DocTablesUnmergeCellsBoundParams,
) -> impl Future<Output = Result<DocTablesUnmergeCellsResult>> + Send + 'call
pub fn unmerge_cells<'call>( &'call self, params: &'call DocTablesUnmergeCellsBoundParams, ) -> impl Future<Output = Result<DocTablesUnmergeCellsResult>> + Send + 'call
Unmerge a previously merged table cell.
Sourcepub async fn unmerge_cells_with_options(
&self,
params: &DocTablesUnmergeCellsBoundParams,
options: InvokeOptions,
) -> Result<DocTablesUnmergeCellsResult>
pub async fn unmerge_cells_with_options( &self, params: &DocTablesUnmergeCellsBoundParams, options: InvokeOptions, ) -> Result<DocTablesUnmergeCellsResult>
Unmerge a previously merged table cell.