set_header_row_repeat
Set the first rows of a Word table to repeat as the header on every page. Automatically backs up and safely saves the document, and refuses to run if the file is open in Word.
Instructions
Repeat the first N rows as the table header on every page. 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 |
|---|---|---|---|
| on | No | ||
| rows | No | ||
| backup | No | ||
| file_path | Yes | ||
| table_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||