create_table
Insert a formatted table into a Word document from 2D string data using single-line borders, with options to position it and preserve backups.
Instructions
Create a table from 2D string data with single-line borders. To build a table from a CSV/JSON file, use import_table. 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 |
|---|---|---|---|
| data | Yes | ||
| at_end | No | ||
| backup | No | ||
| width_pt | No | ||
| file_path | Yes | ||
| header_row | No | ||
| after_index | No | ||
| after_anchor | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||