pub struct DocApiContentControls<'a, I: Invoker> { /* private fields */ }Implementations§
Source§impl<'a, I: Invoker> DocApiContentControls<'a, I>
impl<'a, I: Invoker> DocApiContentControls<'a, I>
pub fn new(invoker: &'a I) -> Self
pub fn checkbox(&self) -> DocApiContentControlsCheckbox<'a, I>
pub fn choice_list(&self) -> DocApiContentControlsChoiceList<'a, I>
pub fn date(&self) -> DocApiContentControlsDate<'a, I>
pub fn group(&self) -> DocApiContentControlsGroup<'a, I>
pub fn repeating_section(&self) -> DocApiContentControlsRepeatingSection<'a, I>
pub fn text(&self) -> DocApiContentControlsText<'a, I>
Sourcepub fn append_content<'call>(
&'call self,
params: &'call DocContentControlsAppendContentBoundParams,
) -> impl Future<Output = Result<DocContentControlsAppendContentResult>> + Send + 'call
pub fn append_content<'call>( &'call self, params: &'call DocContentControlsAppendContentBoundParams, ) -> impl Future<Output = Result<DocContentControlsAppendContentResult>> + Send + 'call
Append content to the end of a content control.
Sourcepub async fn append_content_with_options(
&self,
params: &DocContentControlsAppendContentBoundParams,
options: InvokeOptions,
) -> Result<DocContentControlsAppendContentResult>
pub async fn append_content_with_options( &self, params: &DocContentControlsAppendContentBoundParams, options: InvokeOptions, ) -> Result<DocContentControlsAppendContentResult>
Append content to the end of a content control.
Sourcepub fn clear_binding<'call>(
&'call self,
params: &'call DocContentControlsClearBindingBoundParams,
) -> impl Future<Output = Result<DocContentControlsClearBindingResult>> + Send + 'call
pub fn clear_binding<'call>( &'call self, params: &'call DocContentControlsClearBindingBoundParams, ) -> impl Future<Output = Result<DocContentControlsClearBindingResult>> + Send + 'call
Remove data binding metadata from a content control.
Sourcepub async fn clear_binding_with_options(
&self,
params: &DocContentControlsClearBindingBoundParams,
options: InvokeOptions,
) -> Result<DocContentControlsClearBindingResult>
pub async fn clear_binding_with_options( &self, params: &DocContentControlsClearBindingBoundParams, options: InvokeOptions, ) -> Result<DocContentControlsClearBindingResult>
Remove data binding metadata from a content control.
Sourcepub fn clear_content<'call>(
&'call self,
params: &'call DocContentControlsClearContentBoundParams,
) -> impl Future<Output = Result<DocContentControlsClearContentResult>> + Send + 'call
pub fn clear_content<'call>( &'call self, params: &'call DocContentControlsClearContentBoundParams, ) -> impl Future<Output = Result<DocContentControlsClearContentResult>> + Send + 'call
Clear all content inside a content control, leaving it empty.
Sourcepub async fn clear_content_with_options(
&self,
params: &DocContentControlsClearContentBoundParams,
options: InvokeOptions,
) -> Result<DocContentControlsClearContentResult>
pub async fn clear_content_with_options( &self, params: &DocContentControlsClearContentBoundParams, options: InvokeOptions, ) -> Result<DocContentControlsClearContentResult>
Clear all content inside a content control, leaving it empty.
Sourcepub fn copy<'call>(
&'call self,
params: &'call DocContentControlsCopyBoundParams,
) -> impl Future<Output = Result<DocContentControlsCopyResult>> + Send + 'call
pub fn copy<'call>( &'call self, params: &'call DocContentControlsCopyBoundParams, ) -> impl Future<Output = Result<DocContentControlsCopyResult>> + Send + 'call
Copy a content control to a destination position. Copied SDTs receive new IDs.
Sourcepub async fn copy_with_options(
&self,
params: &DocContentControlsCopyBoundParams,
options: InvokeOptions,
) -> Result<DocContentControlsCopyResult>
pub async fn copy_with_options( &self, params: &DocContentControlsCopyBoundParams, options: InvokeOptions, ) -> Result<DocContentControlsCopyResult>
Copy a content control to a destination position. Copied SDTs receive new IDs.
Sourcepub fn delete<'call>(
&'call self,
params: &'call DocContentControlsDeleteBoundParams,
) -> impl Future<Output = Result<DocContentControlsDeleteResult>> + Send + 'call
pub fn delete<'call>( &'call self, params: &'call DocContentControlsDeleteBoundParams, ) -> impl Future<Output = Result<DocContentControlsDeleteResult>> + Send + 'call
Delete a content control and its content. Set overrideDeletionLock to remove a deletion-locked target without first unlocking it.
Sourcepub async fn delete_with_options(
&self,
params: &DocContentControlsDeleteBoundParams,
options: InvokeOptions,
) -> Result<DocContentControlsDeleteResult>
pub async fn delete_with_options( &self, params: &DocContentControlsDeleteBoundParams, options: InvokeOptions, ) -> Result<DocContentControlsDeleteResult>
Delete a content control and its content. Set overrideDeletionLock to remove a deletion-locked target without first unlocking it.
Sourcepub fn get<'call>(
&'call self,
params: &'call DocContentControlsGetBoundParams,
) -> impl Future<Output = Result<DocContentControlsGetResult>> + Send + 'call
pub fn get<'call>( &'call self, params: &'call DocContentControlsGetBoundParams, ) -> impl Future<Output = Result<DocContentControlsGetResult>> + Send + 'call
Retrieve a single content control by target.
Sourcepub async fn get_with_options(
&self,
params: &DocContentControlsGetBoundParams,
options: InvokeOptions,
) -> Result<DocContentControlsGetResult>
pub async fn get_with_options( &self, params: &DocContentControlsGetBoundParams, options: InvokeOptions, ) -> Result<DocContentControlsGetResult>
Retrieve a single content control by target.
Sourcepub fn get_binding<'call>(
&'call self,
params: &'call DocContentControlsGetBindingBoundParams,
) -> impl Future<Output = Result<DocContentControlsGetBindingResult>> + Send + 'call
pub fn get_binding<'call>( &'call self, params: &'call DocContentControlsGetBindingBoundParams, ) -> impl Future<Output = Result<DocContentControlsGetBindingResult>> + Send + 'call
Get the data binding metadata (w:dataBinding) of a content control.
Sourcepub async fn get_binding_with_options(
&self,
params: &DocContentControlsGetBindingBoundParams,
options: InvokeOptions,
) -> Result<DocContentControlsGetBindingResult>
pub async fn get_binding_with_options( &self, params: &DocContentControlsGetBindingBoundParams, options: InvokeOptions, ) -> Result<DocContentControlsGetBindingResult>
Get the data binding metadata (w:dataBinding) of a content control.
Sourcepub fn get_content<'call>(
&'call self,
params: &'call DocContentControlsGetContentBoundParams,
) -> impl Future<Output = Result<DocContentControlsGetContentResult>> + Send + 'call
pub fn get_content<'call>( &'call self, params: &'call DocContentControlsGetContentBoundParams, ) -> impl Future<Output = Result<DocContentControlsGetContentResult>> + Send + 'call
Get the text content of a content control.
Sourcepub async fn get_content_with_options(
&self,
params: &DocContentControlsGetContentBoundParams,
options: InvokeOptions,
) -> Result<DocContentControlsGetContentResult>
pub async fn get_content_with_options( &self, params: &DocContentControlsGetContentBoundParams, options: InvokeOptions, ) -> Result<DocContentControlsGetContentResult>
Get the text content of a content control.
Sourcepub fn get_parent<'call>(
&'call self,
params: &'call DocContentControlsGetParentBoundParams,
) -> impl Future<Output = Result<DocContentControlsGetParentResult>> + Send + 'call
pub fn get_parent<'call>( &'call self, params: &'call DocContentControlsGetParentBoundParams, ) -> impl Future<Output = Result<DocContentControlsGetParentResult>> + Send + 'call
Get the parent content control of the target, if any.
Sourcepub async fn get_parent_with_options(
&self,
params: &DocContentControlsGetParentBoundParams,
options: InvokeOptions,
) -> Result<DocContentControlsGetParentResult>
pub async fn get_parent_with_options( &self, params: &DocContentControlsGetParentBoundParams, options: InvokeOptions, ) -> Result<DocContentControlsGetParentResult>
Get the parent content control of the target, if any.
Sourcepub fn get_raw_properties<'call>(
&'call self,
params: &'call DocContentControlsGetRawPropertiesBoundParams,
) -> impl Future<Output = Result<DocContentControlsGetRawPropertiesResult>> + Send + 'call
pub fn get_raw_properties<'call>( &'call self, params: &'call DocContentControlsGetRawPropertiesBoundParams, ) -> impl Future<Output = Result<DocContentControlsGetRawPropertiesResult>> + Send + 'call
Get the raw sdtPr properties of a content control as a passthrough hash.
Sourcepub async fn get_raw_properties_with_options(
&self,
params: &DocContentControlsGetRawPropertiesBoundParams,
options: InvokeOptions,
) -> Result<DocContentControlsGetRawPropertiesResult>
pub async fn get_raw_properties_with_options( &self, params: &DocContentControlsGetRawPropertiesBoundParams, options: InvokeOptions, ) -> Result<DocContentControlsGetRawPropertiesResult>
Get the raw sdtPr properties of a content control as a passthrough hash.
Sourcepub fn insert_after<'call>(
&'call self,
params: &'call DocContentControlsInsertAfterBoundParams,
) -> impl Future<Output = Result<DocContentControlsInsertAfterResult>> + Send + 'call
pub fn insert_after<'call>( &'call self, params: &'call DocContentControlsInsertAfterBoundParams, ) -> impl Future<Output = Result<DocContentControlsInsertAfterResult>> + Send + 'call
Insert content immediately after a content control.
Sourcepub async fn insert_after_with_options(
&self,
params: &DocContentControlsInsertAfterBoundParams,
options: InvokeOptions,
) -> Result<DocContentControlsInsertAfterResult>
pub async fn insert_after_with_options( &self, params: &DocContentControlsInsertAfterBoundParams, options: InvokeOptions, ) -> Result<DocContentControlsInsertAfterResult>
Insert content immediately after a content control.
Sourcepub fn insert_before<'call>(
&'call self,
params: &'call DocContentControlsInsertBeforeBoundParams,
) -> impl Future<Output = Result<DocContentControlsInsertBeforeResult>> + Send + 'call
pub fn insert_before<'call>( &'call self, params: &'call DocContentControlsInsertBeforeBoundParams, ) -> impl Future<Output = Result<DocContentControlsInsertBeforeResult>> + Send + 'call
Insert content immediately before a content control.
Sourcepub async fn insert_before_with_options(
&self,
params: &DocContentControlsInsertBeforeBoundParams,
options: InvokeOptions,
) -> Result<DocContentControlsInsertBeforeResult>
pub async fn insert_before_with_options( &self, params: &DocContentControlsInsertBeforeBoundParams, options: InvokeOptions, ) -> Result<DocContentControlsInsertBeforeResult>
Insert content immediately before a content control.
Sourcepub fn list<'call>(
&'call self,
params: &'call DocContentControlsListBoundParams,
) -> impl Future<Output = Result<DocContentControlsListResult>> + Send + 'call
pub fn list<'call>( &'call self, params: &'call DocContentControlsListBoundParams, ) -> impl Future<Output = Result<DocContentControlsListResult>> + Send + 'call
List all content controls in the document with optional type/tag filtering.
Sourcepub async fn list_with_options(
&self,
params: &DocContentControlsListBoundParams,
options: InvokeOptions,
) -> Result<DocContentControlsListResult>
pub async fn list_with_options( &self, params: &DocContentControlsListBoundParams, options: InvokeOptions, ) -> Result<DocContentControlsListResult>
List all content controls in the document with optional type/tag filtering.
Sourcepub fn list_children<'call>(
&'call self,
params: &'call DocContentControlsListChildrenBoundParams,
) -> impl Future<Output = Result<DocContentControlsListChildrenResult>> + Send + 'call
pub fn list_children<'call>( &'call self, params: &'call DocContentControlsListChildrenBoundParams, ) -> impl Future<Output = Result<DocContentControlsListChildrenResult>> + Send + 'call
List direct child content controls nested inside the target.
Sourcepub async fn list_children_with_options(
&self,
params: &DocContentControlsListChildrenBoundParams,
options: InvokeOptions,
) -> Result<DocContentControlsListChildrenResult>
pub async fn list_children_with_options( &self, params: &DocContentControlsListChildrenBoundParams, options: InvokeOptions, ) -> Result<DocContentControlsListChildrenResult>
List direct child content controls nested inside the target.
Sourcepub fn list_in_range<'call>(
&'call self,
params: &'call DocContentControlsListInRangeBoundParams,
) -> impl Future<Output = Result<DocContentControlsListInRangeResult>> + Send + 'call
pub fn list_in_range<'call>( &'call self, params: &'call DocContentControlsListInRangeBoundParams, ) -> impl Future<Output = Result<DocContentControlsListInRangeResult>> + Send + 'call
List content controls within a block range.
Sourcepub async fn list_in_range_with_options(
&self,
params: &DocContentControlsListInRangeBoundParams,
options: InvokeOptions,
) -> Result<DocContentControlsListInRangeResult>
pub async fn list_in_range_with_options( &self, params: &DocContentControlsListInRangeBoundParams, options: InvokeOptions, ) -> Result<DocContentControlsListInRangeResult>
List content controls within a block range.
Sourcepub fn move_<'call>(
&'call self,
params: &'call DocContentControlsMoveBoundParams,
) -> impl Future<Output = Result<DocContentControlsMoveResult>> + Send + 'call
pub fn move_<'call>( &'call self, params: &'call DocContentControlsMoveBoundParams, ) -> impl Future<Output = Result<DocContentControlsMoveResult>> + Send + 'call
Move a content control to a new position: before or after another SDT, to the document start or end, or to an arbitrary caret inside a paragraph (the inParagraph destination) for drag-and-drop. Direct moves preserve the original ID; tracked-mode authoring supports safe top-level block SDTs (SDT-to-SDT destinations only) and remaps the destination SDT ID to avoid duplicate live anchors.
Sourcepub async fn move_with_options(
&self,
params: &DocContentControlsMoveBoundParams,
options: InvokeOptions,
) -> Result<DocContentControlsMoveResult>
pub async fn move_with_options( &self, params: &DocContentControlsMoveBoundParams, options: InvokeOptions, ) -> Result<DocContentControlsMoveResult>
Move a content control to a new position: before or after another SDT, to the document start or end, or to an arbitrary caret inside a paragraph (the inParagraph destination) for drag-and-drop. Direct moves preserve the original ID; tracked-mode authoring supports safe top-level block SDTs (SDT-to-SDT destinations only) and remaps the destination SDT ID to avoid duplicate live anchors.
Sourcepub fn normalize_tag_payload<'call>(
&'call self,
params: &'call DocContentControlsNormalizeTagPayloadBoundParams,
) -> impl Future<Output = Result<DocContentControlsNormalizeTagPayloadResult>> + Send + 'call
pub fn normalize_tag_payload<'call>( &'call self, params: &'call DocContentControlsNormalizeTagPayloadBoundParams, ) -> impl Future<Output = Result<DocContentControlsNormalizeTagPayloadResult>> + Send + 'call
Normalize a content control tag between plain-string and JSON-encoded formats.
Sourcepub async fn normalize_tag_payload_with_options(
&self,
params: &DocContentControlsNormalizeTagPayloadBoundParams,
options: InvokeOptions,
) -> Result<DocContentControlsNormalizeTagPayloadResult>
pub async fn normalize_tag_payload_with_options( &self, params: &DocContentControlsNormalizeTagPayloadBoundParams, options: InvokeOptions, ) -> Result<DocContentControlsNormalizeTagPayloadResult>
Normalize a content control tag between plain-string and JSON-encoded formats.
Sourcepub fn normalize_word_compatibility<'call>(
&'call self,
params: &'call DocContentControlsNormalizeWordCompatibilityBoundParams,
) -> impl Future<Output = Result<DocContentControlsNormalizeWordCompatibilityResult>> + Send + 'call
pub fn normalize_word_compatibility<'call>( &'call self, params: &'call DocContentControlsNormalizeWordCompatibilityBoundParams, ) -> impl Future<Output = Result<DocContentControlsNormalizeWordCompatibilityResult>> + Send + 'call
Normalize a content control to resolve Word compatibility issues.
Sourcepub async fn normalize_word_compatibility_with_options(
&self,
params: &DocContentControlsNormalizeWordCompatibilityBoundParams,
options: InvokeOptions,
) -> Result<DocContentControlsNormalizeWordCompatibilityResult>
pub async fn normalize_word_compatibility_with_options( &self, params: &DocContentControlsNormalizeWordCompatibilityBoundParams, options: InvokeOptions, ) -> Result<DocContentControlsNormalizeWordCompatibilityResult>
Normalize a content control to resolve Word compatibility issues.
Sourcepub fn patch<'call>(
&'call self,
params: &'call DocContentControlsPatchBoundParams,
) -> impl Future<Output = Result<DocContentControlsPatchResult>> + Send + 'call
pub fn patch<'call>( &'call self, params: &'call DocContentControlsPatchBoundParams, ) -> impl Future<Output = Result<DocContentControlsPatchResult>> + Send + 'call
Patch metadata properties on a content control (tag, alias, appearance, color, etc.). V2 does not support placeholder or showingPlaceholder; defining either field rejects the entire patch without changing properties or content.
Sourcepub async fn patch_with_options(
&self,
params: &DocContentControlsPatchBoundParams,
options: InvokeOptions,
) -> Result<DocContentControlsPatchResult>
pub async fn patch_with_options( &self, params: &DocContentControlsPatchBoundParams, options: InvokeOptions, ) -> Result<DocContentControlsPatchResult>
Patch metadata properties on a content control (tag, alias, appearance, color, etc.). V2 does not support placeholder or showingPlaceholder; defining either field rejects the entire patch without changing properties or content.
Sourcepub fn patch_raw_properties<'call>(
&'call self,
params: &'call DocContentControlsPatchRawPropertiesBoundParams,
) -> impl Future<Output = Result<DocContentControlsPatchRawPropertiesResult>> + Send + 'call
pub fn patch_raw_properties<'call>( &'call self, params: &'call DocContentControlsPatchRawPropertiesBoundParams, ) -> impl Future<Output = Result<DocContentControlsPatchRawPropertiesResult>> + Send + 'call
Apply raw XML-level patches to the sdtPr subtree of a content control.
Sourcepub async fn patch_raw_properties_with_options(
&self,
params: &DocContentControlsPatchRawPropertiesBoundParams,
options: InvokeOptions,
) -> Result<DocContentControlsPatchRawPropertiesResult>
pub async fn patch_raw_properties_with_options( &self, params: &DocContentControlsPatchRawPropertiesBoundParams, options: InvokeOptions, ) -> Result<DocContentControlsPatchRawPropertiesResult>
Apply raw XML-level patches to the sdtPr subtree of a content control.
Sourcepub fn prepend_content<'call>(
&'call self,
params: &'call DocContentControlsPrependContentBoundParams,
) -> impl Future<Output = Result<DocContentControlsPrependContentResult>> + Send + 'call
pub fn prepend_content<'call>( &'call self, params: &'call DocContentControlsPrependContentBoundParams, ) -> impl Future<Output = Result<DocContentControlsPrependContentResult>> + Send + 'call
Prepend content to the beginning of a content control.
Sourcepub async fn prepend_content_with_options(
&self,
params: &DocContentControlsPrependContentBoundParams,
options: InvokeOptions,
) -> Result<DocContentControlsPrependContentResult>
pub async fn prepend_content_with_options( &self, params: &DocContentControlsPrependContentBoundParams, options: InvokeOptions, ) -> Result<DocContentControlsPrependContentResult>
Prepend content to the beginning of a content control.
Sourcepub fn replace_content<'call>(
&'call self,
params: &'call DocContentControlsReplaceContentBoundParams,
) -> impl Future<Output = Result<DocContentControlsReplaceContentResult>> + Send + 'call
pub fn replace_content<'call>( &'call self, params: &'call DocContentControlsReplaceContentBoundParams, ) -> impl Future<Output = Result<DocContentControlsReplaceContentResult>> + Send + 'call
Replace the entire content of a content control. For direct V2 edits, overrideContentLock replaces locked content in one history entry while preserving the target lock and identity.
Sourcepub async fn replace_content_with_options(
&self,
params: &DocContentControlsReplaceContentBoundParams,
options: InvokeOptions,
) -> Result<DocContentControlsReplaceContentResult>
pub async fn replace_content_with_options( &self, params: &DocContentControlsReplaceContentBoundParams, options: InvokeOptions, ) -> Result<DocContentControlsReplaceContentResult>
Replace the entire content of a content control. For direct V2 edits, overrideContentLock replaces locked content in one history entry while preserving the target lock and identity.
Sourcepub fn select_by_tag<'call>(
&'call self,
params: &'call DocContentControlsSelectByTagBoundParams,
) -> impl Future<Output = Result<DocContentControlsSelectByTagResult>> + Send + 'call
pub fn select_by_tag<'call>( &'call self, params: &'call DocContentControlsSelectByTagBoundParams, ) -> impl Future<Output = Result<DocContentControlsSelectByTagResult>> + Send + 'call
Select content controls matching a specific tag value.
Sourcepub async fn select_by_tag_with_options(
&self,
params: &DocContentControlsSelectByTagBoundParams,
options: InvokeOptions,
) -> Result<DocContentControlsSelectByTagResult>
pub async fn select_by_tag_with_options( &self, params: &DocContentControlsSelectByTagBoundParams, options: InvokeOptions, ) -> Result<DocContentControlsSelectByTagResult>
Select content controls matching a specific tag value.
Sourcepub fn select_by_title<'call>(
&'call self,
params: &'call DocContentControlsSelectByTitleBoundParams,
) -> impl Future<Output = Result<DocContentControlsSelectByTitleResult>> + Send + 'call
pub fn select_by_title<'call>( &'call self, params: &'call DocContentControlsSelectByTitleBoundParams, ) -> impl Future<Output = Result<DocContentControlsSelectByTitleResult>> + Send + 'call
Select content controls matching a specific title (alias) value.
Sourcepub async fn select_by_title_with_options(
&self,
params: &DocContentControlsSelectByTitleBoundParams,
options: InvokeOptions,
) -> Result<DocContentControlsSelectByTitleResult>
pub async fn select_by_title_with_options( &self, params: &DocContentControlsSelectByTitleBoundParams, options: InvokeOptions, ) -> Result<DocContentControlsSelectByTitleResult>
Select content controls matching a specific title (alias) value.
Sourcepub fn set_binding<'call>(
&'call self,
params: &'call DocContentControlsSetBindingBoundParams,
) -> impl Future<Output = Result<DocContentControlsSetBindingResult>> + Send + 'call
pub fn set_binding<'call>( &'call self, params: &'call DocContentControlsSetBindingBoundParams, ) -> impl Future<Output = Result<DocContentControlsSetBindingResult>> + Send + 'call
Set data binding metadata on a content control.
Sourcepub async fn set_binding_with_options(
&self,
params: &DocContentControlsSetBindingBoundParams,
options: InvokeOptions,
) -> Result<DocContentControlsSetBindingResult>
pub async fn set_binding_with_options( &self, params: &DocContentControlsSetBindingBoundParams, options: InvokeOptions, ) -> Result<DocContentControlsSetBindingResult>
Set data binding metadata on a content control.
Sourcepub fn set_lock_mode<'call>(
&'call self,
params: &'call DocContentControlsSetLockModeBoundParams,
) -> impl Future<Output = Result<DocContentControlsSetLockModeResult>> + Send + 'call
pub fn set_lock_mode<'call>( &'call self, params: &'call DocContentControlsSetLockModeBoundParams, ) -> impl Future<Output = Result<DocContentControlsSetLockModeResult>> + Send + 'call
Set the lock mode on a content control. In non-collaborative V2 sessions, addToHistory: false excludes this lock change while retaining the lock across Undo/Redo.
Sourcepub async fn set_lock_mode_with_options(
&self,
params: &DocContentControlsSetLockModeBoundParams,
options: InvokeOptions,
) -> Result<DocContentControlsSetLockModeResult>
pub async fn set_lock_mode_with_options( &self, params: &DocContentControlsSetLockModeBoundParams, options: InvokeOptions, ) -> Result<DocContentControlsSetLockModeResult>
Set the lock mode on a content control. In non-collaborative V2 sessions, addToHistory: false excludes this lock change while retaining the lock across Undo/Redo.
Sourcepub fn set_type<'call>(
&'call self,
params: &'call DocContentControlsSetTypeBoundParams,
) -> impl Future<Output = Result<DocContentControlsSetTypeResult>> + Send + 'call
pub fn set_type<'call>( &'call self, params: &'call DocContentControlsSetTypeBoundParams, ) -> impl Future<Output = Result<DocContentControlsSetTypeResult>> + Send + 'call
Transition a content control to a different semantic type. Metadata-only; no implicit content rewrite.
Sourcepub async fn set_type_with_options(
&self,
params: &DocContentControlsSetTypeBoundParams,
options: InvokeOptions,
) -> Result<DocContentControlsSetTypeResult>
pub async fn set_type_with_options( &self, params: &DocContentControlsSetTypeBoundParams, options: InvokeOptions, ) -> Result<DocContentControlsSetTypeResult>
Transition a content control to a different semantic type. Metadata-only; no implicit content rewrite.
Sourcepub fn unwrap<'call>(
&'call self,
params: &'call DocContentControlsUnwrapBoundParams,
) -> impl Future<Output = Result<DocContentControlsUnwrapResult>> + Send + 'call
pub fn unwrap<'call>( &'call self, params: &'call DocContentControlsUnwrapBoundParams, ) -> impl Future<Output = Result<DocContentControlsUnwrapResult>> + Send + 'call
Remove the content control wrapper, preserving its content in place.
Sourcepub async fn unwrap_with_options(
&self,
params: &DocContentControlsUnwrapBoundParams,
options: InvokeOptions,
) -> Result<DocContentControlsUnwrapResult>
pub async fn unwrap_with_options( &self, params: &DocContentControlsUnwrapBoundParams, options: InvokeOptions, ) -> Result<DocContentControlsUnwrapResult>
Remove the content control wrapper, preserving its content in place.
Sourcepub fn validate_word_compatibility<'call>(
&'call self,
params: &'call DocContentControlsValidateWordCompatibilityBoundParams,
) -> impl Future<Output = Result<DocContentControlsValidateWordCompatibilityResult>> + Send + 'call
pub fn validate_word_compatibility<'call>( &'call self, params: &'call DocContentControlsValidateWordCompatibilityBoundParams, ) -> impl Future<Output = Result<DocContentControlsValidateWordCompatibilityResult>> + Send + 'call
Validate a content control for Word compatibility issues.
Sourcepub async fn validate_word_compatibility_with_options(
&self,
params: &DocContentControlsValidateWordCompatibilityBoundParams,
options: InvokeOptions,
) -> Result<DocContentControlsValidateWordCompatibilityResult>
pub async fn validate_word_compatibility_with_options( &self, params: &DocContentControlsValidateWordCompatibilityBoundParams, options: InvokeOptions, ) -> Result<DocContentControlsValidateWordCompatibilityResult>
Validate a content control for Word compatibility issues.
Sourcepub fn wrap<'call>(
&'call self,
params: &'call DocContentControlsWrapBoundParams,
) -> impl Future<Output = Result<DocContentControlsWrapResult>> + Send + 'call
pub fn wrap<'call>( &'call self, params: &'call DocContentControlsWrapBoundParams, ) -> impl Future<Output = Result<DocContentControlsWrapResult>> + Send + 'call
Wrap existing content with a new content control.
Sourcepub async fn wrap_with_options(
&self,
params: &DocContentControlsWrapBoundParams,
options: InvokeOptions,
) -> Result<DocContentControlsWrapResult>
pub async fn wrap_with_options( &self, params: &DocContentControlsWrapBoundParams, options: InvokeOptions, ) -> Result<DocContentControlsWrapResult>
Wrap existing content with a new content control.