pub struct DocApiImages<'a, I: Invoker> { /* private fields */ }Implementations§
Source§impl<'a, I: Invoker> DocApiImages<'a, I>
impl<'a, I: Invoker> DocApiImages<'a, I>
pub fn new(invoker: &'a I) -> Self
Sourcepub fn convert_to_floating<'call>(
&'call self,
params: &'call DocImagesConvertToFloatingBoundParams,
) -> impl Future<Output = Result<DocImagesConvertToFloatingResult>> + Send + 'call
pub fn convert_to_floating<'call>( &'call self, params: &'call DocImagesConvertToFloatingBoundParams, ) -> impl Future<Output = Result<DocImagesConvertToFloatingResult>> + Send + 'call
Convert an inline image to floating placement.
Sourcepub async fn convert_to_floating_with_options(
&self,
params: &DocImagesConvertToFloatingBoundParams,
options: InvokeOptions,
) -> Result<DocImagesConvertToFloatingResult>
pub async fn convert_to_floating_with_options( &self, params: &DocImagesConvertToFloatingBoundParams, options: InvokeOptions, ) -> Result<DocImagesConvertToFloatingResult>
Convert an inline image to floating placement.
Sourcepub fn convert_to_inline<'call>(
&'call self,
params: &'call DocImagesConvertToInlineBoundParams,
) -> impl Future<Output = Result<DocImagesConvertToInlineResult>> + Send + 'call
pub fn convert_to_inline<'call>( &'call self, params: &'call DocImagesConvertToInlineBoundParams, ) -> impl Future<Output = Result<DocImagesConvertToInlineResult>> + Send + 'call
Convert a floating image to inline placement.
Sourcepub async fn convert_to_inline_with_options(
&self,
params: &DocImagesConvertToInlineBoundParams,
options: InvokeOptions,
) -> Result<DocImagesConvertToInlineResult>
pub async fn convert_to_inline_with_options( &self, params: &DocImagesConvertToInlineBoundParams, options: InvokeOptions, ) -> Result<DocImagesConvertToInlineResult>
Convert a floating image to inline placement.
Sourcepub fn crop<'call>(
&'call self,
params: &'call DocImagesCropBoundParams,
) -> impl Future<Output = Result<DocImagesCropResult>> + Send + 'call
pub fn crop<'call>( &'call self, params: &'call DocImagesCropBoundParams, ) -> impl Future<Output = Result<DocImagesCropResult>> + Send + 'call
Apply rectangular edge-percentage crop to an image.
Sourcepub async fn crop_with_options(
&self,
params: &DocImagesCropBoundParams,
options: InvokeOptions,
) -> Result<DocImagesCropResult>
pub async fn crop_with_options( &self, params: &DocImagesCropBoundParams, options: InvokeOptions, ) -> Result<DocImagesCropResult>
Apply rectangular edge-percentage crop to an image.
Sourcepub fn delete<'call>(
&'call self,
params: &'call DocImagesDeleteBoundParams,
) -> impl Future<Output = Result<DocImagesDeleteResult>> + Send + 'call
pub fn delete<'call>( &'call self, params: &'call DocImagesDeleteBoundParams, ) -> impl Future<Output = Result<DocImagesDeleteResult>> + Send + 'call
Delete an image from the document.
Sourcepub async fn delete_with_options(
&self,
params: &DocImagesDeleteBoundParams,
options: InvokeOptions,
) -> Result<DocImagesDeleteResult>
pub async fn delete_with_options( &self, params: &DocImagesDeleteBoundParams, options: InvokeOptions, ) -> Result<DocImagesDeleteResult>
Delete an image from the document.
Sourcepub fn flip<'call>(
&'call self,
params: &'call DocImagesFlipBoundParams,
) -> impl Future<Output = Result<DocImagesFlipResult>> + Send + 'call
pub fn flip<'call>( &'call self, params: &'call DocImagesFlipBoundParams, ) -> impl Future<Output = Result<DocImagesFlipResult>> + Send + 'call
Set horizontal and/or vertical flip state for an image.
Sourcepub async fn flip_with_options(
&self,
params: &DocImagesFlipBoundParams,
options: InvokeOptions,
) -> Result<DocImagesFlipResult>
pub async fn flip_with_options( &self, params: &DocImagesFlipBoundParams, options: InvokeOptions, ) -> Result<DocImagesFlipResult>
Set horizontal and/or vertical flip state for an image.
Sourcepub fn get<'call>(
&'call self,
params: &'call DocImagesGetBoundParams,
) -> impl Future<Output = Result<DocImagesGetResult>> + Send + 'call
pub fn get<'call>( &'call self, params: &'call DocImagesGetBoundParams, ) -> impl Future<Output = Result<DocImagesGetResult>> + Send + 'call
Get details for a specific image by its stable ID.
Sourcepub async fn get_with_options(
&self,
params: &DocImagesGetBoundParams,
options: InvokeOptions,
) -> Result<DocImagesGetResult>
pub async fn get_with_options( &self, params: &DocImagesGetBoundParams, options: InvokeOptions, ) -> Result<DocImagesGetResult>
Get details for a specific image by its stable ID.
Sourcepub fn insert_caption<'call>(
&'call self,
params: &'call DocImagesInsertCaptionBoundParams,
) -> impl Future<Output = Result<DocImagesInsertCaptionResult>> + Send + 'call
pub fn insert_caption<'call>( &'call self, params: &'call DocImagesInsertCaptionBoundParams, ) -> impl Future<Output = Result<DocImagesInsertCaptionResult>> + Send + 'call
Insert a caption paragraph below the image.
Sourcepub async fn insert_caption_with_options(
&self,
params: &DocImagesInsertCaptionBoundParams,
options: InvokeOptions,
) -> Result<DocImagesInsertCaptionResult>
pub async fn insert_caption_with_options( &self, params: &DocImagesInsertCaptionBoundParams, options: InvokeOptions, ) -> Result<DocImagesInsertCaptionResult>
Insert a caption paragraph below the image.
Sourcepub fn list<'call>(
&'call self,
params: &'call DocImagesListBoundParams,
) -> impl Future<Output = Result<DocImagesListResult>> + Send + 'call
pub fn list<'call>( &'call self, params: &'call DocImagesListBoundParams, ) -> impl Future<Output = Result<DocImagesListResult>> + Send + 'call
List all images in the document.
Sourcepub async fn list_with_options(
&self,
params: &DocImagesListBoundParams,
options: InvokeOptions,
) -> Result<DocImagesListResult>
pub async fn list_with_options( &self, params: &DocImagesListBoundParams, options: InvokeOptions, ) -> Result<DocImagesListResult>
List all images in the document.
Sourcepub fn move_<'call>(
&'call self,
params: &'call DocImagesMoveBoundParams,
) -> impl Future<Output = Result<DocImagesMoveResult>> + Send + 'call
pub fn move_<'call>( &'call self, params: &'call DocImagesMoveBoundParams, ) -> impl Future<Output = Result<DocImagesMoveResult>> + Send + 'call
Move an image to a new location in the document. Tracked-mode authoring supports safe sole inline-image body paragraphs and emits paired <w:moveFrom> / <w:moveTo> wrappers with explicit move range marker identity.
Sourcepub async fn move_with_options(
&self,
params: &DocImagesMoveBoundParams,
options: InvokeOptions,
) -> Result<DocImagesMoveResult>
pub async fn move_with_options( &self, params: &DocImagesMoveBoundParams, options: InvokeOptions, ) -> Result<DocImagesMoveResult>
Move an image to a new location in the document. Tracked-mode authoring supports safe sole inline-image body paragraphs and emits paired <w:moveFrom> / <w:moveTo> wrappers with explicit move range marker identity.
Sourcepub fn remove_caption<'call>(
&'call self,
params: &'call DocImagesRemoveCaptionBoundParams,
) -> impl Future<Output = Result<DocImagesRemoveCaptionResult>> + Send + 'call
pub fn remove_caption<'call>( &'call self, params: &'call DocImagesRemoveCaptionBoundParams, ) -> impl Future<Output = Result<DocImagesRemoveCaptionResult>> + Send + 'call
Remove the caption paragraph from below the image.
Sourcepub async fn remove_caption_with_options(
&self,
params: &DocImagesRemoveCaptionBoundParams,
options: InvokeOptions,
) -> Result<DocImagesRemoveCaptionResult>
pub async fn remove_caption_with_options( &self, params: &DocImagesRemoveCaptionBoundParams, options: InvokeOptions, ) -> Result<DocImagesRemoveCaptionResult>
Remove the caption paragraph from below the image.
Sourcepub fn replace_source<'call>(
&'call self,
params: &'call DocImagesReplaceSourceBoundParams,
) -> impl Future<Output = Result<DocImagesReplaceSourceResult>> + Send + 'call
pub fn replace_source<'call>( &'call self, params: &'call DocImagesReplaceSourceBoundParams, ) -> impl Future<Output = Result<DocImagesReplaceSourceResult>> + Send + 'call
Replace the image source while preserving identity and placement.
Sourcepub async fn replace_source_with_options(
&self,
params: &DocImagesReplaceSourceBoundParams,
options: InvokeOptions,
) -> Result<DocImagesReplaceSourceResult>
pub async fn replace_source_with_options( &self, params: &DocImagesReplaceSourceBoundParams, options: InvokeOptions, ) -> Result<DocImagesReplaceSourceResult>
Replace the image source while preserving identity and placement.
Sourcepub fn reset_crop<'call>(
&'call self,
params: &'call DocImagesResetCropBoundParams,
) -> impl Future<Output = Result<DocImagesResetCropResult>> + Send + 'call
pub fn reset_crop<'call>( &'call self, params: &'call DocImagesResetCropBoundParams, ) -> impl Future<Output = Result<DocImagesResetCropResult>> + Send + 'call
Remove all cropping from an image.
Sourcepub async fn reset_crop_with_options(
&self,
params: &DocImagesResetCropBoundParams,
options: InvokeOptions,
) -> Result<DocImagesResetCropResult>
pub async fn reset_crop_with_options( &self, params: &DocImagesResetCropBoundParams, options: InvokeOptions, ) -> Result<DocImagesResetCropResult>
Remove all cropping from an image.
Sourcepub fn rotate<'call>(
&'call self,
params: &'call DocImagesRotateBoundParams,
) -> impl Future<Output = Result<DocImagesRotateResult>> + Send + 'call
pub fn rotate<'call>( &'call self, params: &'call DocImagesRotateBoundParams, ) -> impl Future<Output = Result<DocImagesRotateResult>> + Send + 'call
Set the absolute rotation angle for an image.
Sourcepub async fn rotate_with_options(
&self,
params: &DocImagesRotateBoundParams,
options: InvokeOptions,
) -> Result<DocImagesRotateResult>
pub async fn rotate_with_options( &self, params: &DocImagesRotateBoundParams, options: InvokeOptions, ) -> Result<DocImagesRotateResult>
Set the absolute rotation angle for an image.
Sourcepub fn scale<'call>(
&'call self,
params: &'call DocImagesScaleBoundParams,
) -> impl Future<Output = Result<DocImagesScaleResult>> + Send + 'call
pub fn scale<'call>( &'call self, params: &'call DocImagesScaleBoundParams, ) -> impl Future<Output = Result<DocImagesScaleResult>> + Send + 'call
Scale an image by a uniform factor applied to both dimensions.
Sourcepub async fn scale_with_options(
&self,
params: &DocImagesScaleBoundParams,
options: InvokeOptions,
) -> Result<DocImagesScaleResult>
pub async fn scale_with_options( &self, params: &DocImagesScaleBoundParams, options: InvokeOptions, ) -> Result<DocImagesScaleResult>
Scale an image by a uniform factor applied to both dimensions.
Sourcepub fn set_alt_text<'call>(
&'call self,
params: &'call DocImagesSetAltTextBoundParams,
) -> impl Future<Output = Result<DocImagesSetAltTextResult>> + Send + 'call
pub fn set_alt_text<'call>( &'call self, params: &'call DocImagesSetAltTextBoundParams, ) -> impl Future<Output = Result<DocImagesSetAltTextResult>> + Send + 'call
Set the accessibility description (alt text) for an image.
Sourcepub async fn set_alt_text_with_options(
&self,
params: &DocImagesSetAltTextBoundParams,
options: InvokeOptions,
) -> Result<DocImagesSetAltTextResult>
pub async fn set_alt_text_with_options( &self, params: &DocImagesSetAltTextBoundParams, options: InvokeOptions, ) -> Result<DocImagesSetAltTextResult>
Set the accessibility description (alt text) for an image.
Sourcepub fn set_anchor_options<'call>(
&'call self,
params: &'call DocImagesSetAnchorOptionsBoundParams,
) -> impl Future<Output = Result<DocImagesSetAnchorOptionsResult>> + Send + 'call
pub fn set_anchor_options<'call>( &'call self, params: &'call DocImagesSetAnchorOptionsBoundParams, ) -> impl Future<Output = Result<DocImagesSetAnchorOptionsResult>> + Send + 'call
Set anchor behavior options for a floating image.
Sourcepub async fn set_anchor_options_with_options(
&self,
params: &DocImagesSetAnchorOptionsBoundParams,
options: InvokeOptions,
) -> Result<DocImagesSetAnchorOptionsResult>
pub async fn set_anchor_options_with_options( &self, params: &DocImagesSetAnchorOptionsBoundParams, options: InvokeOptions, ) -> Result<DocImagesSetAnchorOptionsResult>
Set anchor behavior options for a floating image.
Sourcepub fn set_decorative<'call>(
&'call self,
params: &'call DocImagesSetDecorativeBoundParams,
) -> impl Future<Output = Result<DocImagesSetDecorativeResult>> + Send + 'call
pub fn set_decorative<'call>( &'call self, params: &'call DocImagesSetDecorativeBoundParams, ) -> impl Future<Output = Result<DocImagesSetDecorativeResult>> + Send + 'call
Mark or unmark an image as decorative.
Sourcepub async fn set_decorative_with_options(
&self,
params: &DocImagesSetDecorativeBoundParams,
options: InvokeOptions,
) -> Result<DocImagesSetDecorativeResult>
pub async fn set_decorative_with_options( &self, params: &DocImagesSetDecorativeBoundParams, options: InvokeOptions, ) -> Result<DocImagesSetDecorativeResult>
Mark or unmark an image as decorative.
Sourcepub fn set_hyperlink<'call>(
&'call self,
params: &'call DocImagesSetHyperlinkBoundParams,
) -> impl Future<Output = Result<DocImagesSetHyperlinkResult>> + Send + 'call
pub fn set_hyperlink<'call>( &'call self, params: &'call DocImagesSetHyperlinkBoundParams, ) -> impl Future<Output = Result<DocImagesSetHyperlinkResult>> + Send + 'call
Set or remove the hyperlink attached to an image.
Sourcepub async fn set_hyperlink_with_options(
&self,
params: &DocImagesSetHyperlinkBoundParams,
options: InvokeOptions,
) -> Result<DocImagesSetHyperlinkResult>
pub async fn set_hyperlink_with_options( &self, params: &DocImagesSetHyperlinkBoundParams, options: InvokeOptions, ) -> Result<DocImagesSetHyperlinkResult>
Set or remove the hyperlink attached to an image.
Sourcepub fn set_lock_aspect_ratio<'call>(
&'call self,
params: &'call DocImagesSetLockAspectRatioBoundParams,
) -> impl Future<Output = Result<DocImagesSetLockAspectRatioResult>> + Send + 'call
pub fn set_lock_aspect_ratio<'call>( &'call self, params: &'call DocImagesSetLockAspectRatioBoundParams, ) -> impl Future<Output = Result<DocImagesSetLockAspectRatioResult>> + Send + 'call
Lock or unlock the aspect ratio for an image.
Sourcepub async fn set_lock_aspect_ratio_with_options(
&self,
params: &DocImagesSetLockAspectRatioBoundParams,
options: InvokeOptions,
) -> Result<DocImagesSetLockAspectRatioResult>
pub async fn set_lock_aspect_ratio_with_options( &self, params: &DocImagesSetLockAspectRatioBoundParams, options: InvokeOptions, ) -> Result<DocImagesSetLockAspectRatioResult>
Lock or unlock the aspect ratio for an image.
Sourcepub fn set_name<'call>(
&'call self,
params: &'call DocImagesSetNameBoundParams,
) -> impl Future<Output = Result<DocImagesSetNameResult>> + Send + 'call
pub fn set_name<'call>( &'call self, params: &'call DocImagesSetNameBoundParams, ) -> impl Future<Output = Result<DocImagesSetNameResult>> + Send + 'call
Set the object name for an image.
Sourcepub async fn set_name_with_options(
&self,
params: &DocImagesSetNameBoundParams,
options: InvokeOptions,
) -> Result<DocImagesSetNameResult>
pub async fn set_name_with_options( &self, params: &DocImagesSetNameBoundParams, options: InvokeOptions, ) -> Result<DocImagesSetNameResult>
Set the object name for an image.
Sourcepub fn set_position<'call>(
&'call self,
params: &'call DocImagesSetPositionBoundParams,
) -> impl Future<Output = Result<DocImagesSetPositionResult>> + Send + 'call
pub fn set_position<'call>( &'call self, params: &'call DocImagesSetPositionBoundParams, ) -> impl Future<Output = Result<DocImagesSetPositionResult>> + Send + 'call
Set the anchor position for a floating image.
Sourcepub async fn set_position_with_options(
&self,
params: &DocImagesSetPositionBoundParams,
options: InvokeOptions,
) -> Result<DocImagesSetPositionResult>
pub async fn set_position_with_options( &self, params: &DocImagesSetPositionBoundParams, options: InvokeOptions, ) -> Result<DocImagesSetPositionResult>
Set the anchor position for a floating image.
Sourcepub fn set_size<'call>(
&'call self,
params: &'call DocImagesSetSizeBoundParams,
) -> impl Future<Output = Result<DocImagesSetSizeResult>> + Send + 'call
pub fn set_size<'call>( &'call self, params: &'call DocImagesSetSizeBoundParams, ) -> impl Future<Output = Result<DocImagesSetSizeResult>> + Send + 'call
Set explicit width/height for an image.
Sourcepub async fn set_size_with_options(
&self,
params: &DocImagesSetSizeBoundParams,
options: InvokeOptions,
) -> Result<DocImagesSetSizeResult>
pub async fn set_size_with_options( &self, params: &DocImagesSetSizeBoundParams, options: InvokeOptions, ) -> Result<DocImagesSetSizeResult>
Set explicit width/height for an image.
Sourcepub fn set_wrap_distances<'call>(
&'call self,
params: &'call DocImagesSetWrapDistancesBoundParams,
) -> impl Future<Output = Result<DocImagesSetWrapDistancesResult>> + Send + 'call
pub fn set_wrap_distances<'call>( &'call self, params: &'call DocImagesSetWrapDistancesBoundParams, ) -> impl Future<Output = Result<DocImagesSetWrapDistancesResult>> + Send + 'call
Set the text-wrap distance margins for a floating image.
Sourcepub async fn set_wrap_distances_with_options(
&self,
params: &DocImagesSetWrapDistancesBoundParams,
options: InvokeOptions,
) -> Result<DocImagesSetWrapDistancesResult>
pub async fn set_wrap_distances_with_options( &self, params: &DocImagesSetWrapDistancesBoundParams, options: InvokeOptions, ) -> Result<DocImagesSetWrapDistancesResult>
Set the text-wrap distance margins for a floating image.
Sourcepub fn set_wrap_side<'call>(
&'call self,
params: &'call DocImagesSetWrapSideBoundParams,
) -> impl Future<Output = Result<DocImagesSetWrapSideResult>> + Send + 'call
pub fn set_wrap_side<'call>( &'call self, params: &'call DocImagesSetWrapSideBoundParams, ) -> impl Future<Output = Result<DocImagesSetWrapSideResult>> + Send + 'call
Set which side(s) text wraps around a floating image.
Sourcepub async fn set_wrap_side_with_options(
&self,
params: &DocImagesSetWrapSideBoundParams,
options: InvokeOptions,
) -> Result<DocImagesSetWrapSideResult>
pub async fn set_wrap_side_with_options( &self, params: &DocImagesSetWrapSideBoundParams, options: InvokeOptions, ) -> Result<DocImagesSetWrapSideResult>
Set which side(s) text wraps around a floating image.
Sourcepub fn set_wrap_type<'call>(
&'call self,
params: &'call DocImagesSetWrapTypeBoundParams,
) -> impl Future<Output = Result<DocImagesSetWrapTypeResult>> + Send + 'call
pub fn set_wrap_type<'call>( &'call self, params: &'call DocImagesSetWrapTypeBoundParams, ) -> impl Future<Output = Result<DocImagesSetWrapTypeResult>> + Send + 'call
Set the text wrapping type for a floating image.
Sourcepub async fn set_wrap_type_with_options(
&self,
params: &DocImagesSetWrapTypeBoundParams,
options: InvokeOptions,
) -> Result<DocImagesSetWrapTypeResult>
pub async fn set_wrap_type_with_options( &self, params: &DocImagesSetWrapTypeBoundParams, options: InvokeOptions, ) -> Result<DocImagesSetWrapTypeResult>
Set the text wrapping type for a floating image.
Sourcepub fn set_z_order<'call>(
&'call self,
params: &'call DocImagesSetZOrderBoundParams,
) -> impl Future<Output = Result<DocImagesSetZOrderResult>> + Send + 'call
pub fn set_z_order<'call>( &'call self, params: &'call DocImagesSetZOrderBoundParams, ) -> impl Future<Output = Result<DocImagesSetZOrderResult>> + Send + 'call
Set the z-order (relativeHeight) for a floating image.
Sourcepub async fn set_z_order_with_options(
&self,
params: &DocImagesSetZOrderBoundParams,
options: InvokeOptions,
) -> Result<DocImagesSetZOrderResult>
pub async fn set_z_order_with_options( &self, params: &DocImagesSetZOrderBoundParams, options: InvokeOptions, ) -> Result<DocImagesSetZOrderResult>
Set the z-order (relativeHeight) for a floating image.
Sourcepub fn update_caption<'call>(
&'call self,
params: &'call DocImagesUpdateCaptionBoundParams,
) -> impl Future<Output = Result<DocImagesUpdateCaptionResult>> + Send + 'call
pub fn update_caption<'call>( &'call self, params: &'call DocImagesUpdateCaptionBoundParams, ) -> impl Future<Output = Result<DocImagesUpdateCaptionResult>> + Send + 'call
Update the text of an existing caption paragraph.
Sourcepub async fn update_caption_with_options(
&self,
params: &DocImagesUpdateCaptionBoundParams,
options: InvokeOptions,
) -> Result<DocImagesUpdateCaptionResult>
pub async fn update_caption_with_options( &self, params: &DocImagesUpdateCaptionBoundParams, options: InvokeOptions, ) -> Result<DocImagesUpdateCaptionResult>
Update the text of an existing caption paragraph.