Skip to content

XSL-FO Areas

The XSL formatting model defines rectangular areas (boxes) to display output. All content — text, images, and graphics — is formatted into rectangular boxes that PdfBroker.io renders for display or printing.

Pages

Output is formatted into pages. For print media, this means multiple physical pages. For browser display, this could be one long continuous page.

Regions

Each page contains five regions:

Region Purpose
region-body The main page body content
region-before The header area (top of page)
region-after The footer area (bottom of page)
region-start The left sidebar
region-end The right sidebar

Block Areas

Block areas define block-level elements like paragraphs, tables, and lists. Block areas can contain other block areas or line areas.

Line Areas

Line areas define individual text lines within block areas.

Inline Areas

Inline areas define content within lines — individual characters, bullets, images, and other graphics.