insert_image_after_paragraph
Insert an image after a specific paragraph in a Word document. Specify paragraph index, image path, dimensions, and alignment.
Instructions
在指定段落之后插入图片。
Args: file_path: 文档路径 after_index: 在此段落索引之后插入 (0-based) image_path: 图片文件路径 width_inches: 图片宽度 (英寸) height_inches: 图片高度 (英寸) alignment: 对齐方式 ("LEFT", "CENTER", "RIGHT")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alignment | No | CENTER | |
| file_path | Yes | ||
| image_path | Yes | ||
| after_index | Yes | ||
| width_inches | No | ||
| height_inches | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |