Create Table
create_tableCreate a Word table from 2D string data with single-line borders and a bold repeating header. Optionally set width, position, and backup.
Instructions
Create a table from 2D string data with single-line borders and a bold repeating header row (header_row=False for none). location is the standard location object; omit it to append at the end; position 'after' only. Shading, column widths and repeat-header on an EXISTING table: format_cells and set_table_properties (media-forms). From a CSV or JSON file: import_table (protection-io pack). Auto-backup: prev/anchor slots in .ks4w-backups (backup=False skips rotation only); atomic save. Refuses documents open in Word.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| backup | No | ||
| location | No | ||
| width_pt | No | ||
| file_path | Yes | ||
| header_row | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||