insert_rows
Add rows to a Word table at a specified position, copying formatting from an existing row and creating an automatic backup before the change.
Instructions
Insert rows before row at (at = row count appends), copying structure
and formatting from an existing row (copy_format_from). 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 |
|---|---|---|---|
| at | Yes | ||
| count | No | ||
| backup | No | ||
| file_path | Yes | ||
| table_index | Yes | ||
| copy_format_from | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||