page
Configure document layout: set paper size and orientation, margins, columns, headers, footers, numbering, breaks, borders, sections, and master layouts in HWPX files.
Instructions
쪽: 용지·여백·다단·쪽 번호·머리말/꼬리말·나누기·테두리·바탕쪽. action: setup(section, paper?, orientation?, margin?, gutter_type?); columns(at, count, type?, direction?, gap?, widths?, separator?); page_number(section, position, format?, side_char?, start?); header(section, pages?, op?); footer(section, pages?, op?); break(at, kind); border(section, pages?, border?, offset?, fill?, base?, include_header?, include_footer?); hide(at, items); section(section, start_page?, start_figure?, start_table?, start_equation?, hide_first?, text_direction?, line_grid?, char_grid?, line_numbers?, starts_on?, space_columns?, tab_stop?); master(section, pages?, op?)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | Locator(한 점: s0/p3:5, doc:end, before:#p4 …) | |
| op | No | ||
| gap | No | 길이(숫자는 mm, 또는 '20mm'·'12pt') | |
| base | No | ||
| fill | No | ||
| kind | No | ||
| type | No | ||
| count | No | ||
| items | No | ||
| pages | No | ||
| paper | No | 용지 이름(A4·A3·B4·B5·letter·legal) 또는 {width, height} 길이 | |
| start | No | ||
| action | Yes | ||
| border | No | Border (길이는 숫자 또는 '12pt'·'20mm', 색은 '#RRGGBB') | |
| format | No | ||
| handle | No | document.new/open이 준 handle | |
| margin | No | LengthMap (길이는 숫자 또는 '12pt'·'20mm', 색은 '#RRGGBB') | |
| offset | No | LengthMap (길이는 숫자 또는 '12pt'·'20mm', 색은 '#RRGGBB') | |
| widths | No | ||
| section | No | 구역("s0" 또는 0) | |
| position | No | ||
| tab_stop | No | 길이(숫자는 mm, 또는 '20mm'·'12pt') | |
| char_grid | No | 길이(숫자는 mm, 또는 '20mm'·'12pt') | |
| direction | No | ||
| line_grid | No | 길이(숫자는 mm, 또는 '20mm'·'12pt') | |
| separator | No | LineOrNone (길이는 숫자 또는 '12pt'·'20mm', 색은 '#RRGGBB') | |
| side_char | No | ||
| starts_on | No | ||
| hide_first | No | ||
| start_page | No | ||
| gutter_type | No | ||
| orientation | No | ||
| start_table | No | ||
| line_numbers | No | LineNumbers (길이는 숫자 또는 '12pt'·'20mm', 색은 '#RRGGBB') | |
| start_figure | No | ||
| space_columns | No | 길이(숫자는 mm, 또는 '20mm'·'12pt') | |
| include_footer | No | ||
| include_header | No | ||
| start_equation | No | ||
| text_direction | No |