sections array containing one or more sections. Each section holds a content array of elements.
Flow section
The most common section type. Content flows across pages automatically.Properties
Elements inside a flow section can use a
pagination object:
Columns
Enable multi-column layout for a flow section.Page section
A single positioned page — useful for cover pages, title pages, or any content that needs precise vertical positioning. Content does not flow to the next page.Properties
Page background example
Semantic layout
Use alayout element when columns need independent content while remaining
editable. This differs from flow-section columns: content does not automatically
flow from one layout column into the next.
Semantic layout properties
Column
width accepts fixed centimeters as a number, percentages such as
\"35%\", fractional units such as \"1fr\", or \"auto\". Each column can
define verticalAlign (top, center, bottom) and its own background,
border, and padding.
Semantic layout content remains editable in supported office-document outputs.
Fixed canvas
Use acanvas element for deliberately fixed compositions such as cover pages,
certificates, or decorative title panels.
Canvas properties
Every item uses percentage-based
x, y, width, and height. Common optional
properties are id, rotation, opacity, and zIndex. Image items also
support fit and focalPoint.
Page break
Forces a page break at the current position. Optionally changes the page orientation for subsequent pages.Properties
Spacer
Adds vertical whitespace between elements.height can be specified as a number (line units) or a pixel string:
