set_caption
Add a caption to a table or image in an HWP document, specifying position, width, and gap relative to the object.
Instructions
Set caption on a table or image.
Args: doc_id: Document ID from open_document side: Caption position (0=below, 1=above, 2=left, 3=right) width: Caption width in hwpunits gap: Gap between object and caption cap_full_size: 1 to match object width
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gap | No | ||
| side | No | ||
| width | No | ||
| doc_id | Yes | ||
| cap_full_size | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||