swap_table_row_col
Transpose rows and columns of a table in an HWP document to reorganize data orientation. Optionally swaps margins as well.
Instructions
Swap table rows and columns.
Args: doc_id: Document ID from open_document type: Swap type (0=row↔col) swap_margin: Whether to swap margins too
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | ||
| doc_id | Yes | ||
| swap_margin | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||