wps_word_set_font
Change font name, size, bold, and italic formatting for selected text or the entire document in WPS Word.
Instructions
设置字体格式。range: selection=当前选中 / all=全文。bold/italic 传 true/false。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bold | No | 是否加粗 | |
| range | No | 作用范围,默认 selection | |
| italic | No | 是否斜体 | |
| font_name | No | 字体名,如 "宋体" | |
| font_size | No | 字号(磅),如 14 |