insert_paragraph_after
Insert a new paragraph after a given paragraph index in a Word document, with full formatting control including font, alignment, indentation, and line spacing.
Instructions
在指定段落之后插入新段落。
Args: file_path: 文档路径 after_index: 在此段落索引之后插入 (0-based) text: 新段落内容 font_name: 字体名称 font_size: 字号 (pt) is_bold: 是否加粗 alignment: 对齐方式 indent_first_line: 首行缩进字符数 line_spacing: 行距 (pt)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| is_bold | No | ||
| alignment | No | LEFT | |
| file_path | Yes | ||
| font_name | No | SimSun | |
| font_size | No | ||
| after_index | Yes | ||
| line_spacing | No | ||
| indent_first_line | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |