set_page_style
Set page orientation and margins for an open HWP document, specifying portrait or landscape and top, bottom, left, right margins in points.
Instructions
Set page style for the document.
Args: doc_id: Document ID from open_document orientation: "portrait" or "landscape" margin_top: Top margin in pt margin_bottom: Bottom margin in pt margin_left: Left margin in pt margin_right: Right margin in pt
Returns: Style confirmation
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | ||
| margin_top | No | ||
| margin_left | No | ||
| orientation | No | ||
| margin_right | No | ||
| margin_bottom | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||