add_list
Insert bulleted or numbered lists into Word documents with real glyphs, nested levels, and independent numbering. Backups and atomic saves protect your file.
Instructions
Insert a bulleted or numbered list with real bullet/number glyphs (numbering.xml infrastructure created as needed). items: strings or {text, level} dicts (level 0-8 nests); kind: bullet | number. Each call is an independent list, so numbering restarts at 1. Auto-backup: prev/anchor slots in .ks4w-backups (backup=False skips rotation only); atomic validated save. Refuses documents open in Word.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | bullet | |
| items | Yes | ||
| at_end | No | ||
| backup | No | ||
| file_path | Yes | ||
| after_index | No | ||
| after_anchor | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||