merge_cells
Merges a rectangular block of cells in a Word table using grid coordinates, with automatic backups and safety checks to prevent data loss.
Instructions
Merge a rectangle of cells (grid coordinates, inclusive). 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 |
|---|---|---|---|
| backup | No | ||
| end_col | Yes | ||
| end_row | Yes | ||
| file_path | Yes | ||
| start_col | Yes | ||
| start_row | Yes | ||
| table_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||