Xslfo Areas
# XSL-FO Areas
* * *
XSL-FO uses rectangular areas (regions) to display output.
* * *
## XSL-FO Areas
The XSL Formatting Model defines a series of rectangular regions (boxes) to display output.
All output (text, images, etc.) is formatted into these boxes and then displayed or printed to a target medium.
Let's look at the following areas:
* Pages (Pages)
* Regions (Regions)
* Block areas (Block Areas)
* Line areas (Line Areas)
* Inline areas (Inline Areas)
* * *
## XSL-FO Pages (Pages)
XSL-FO output is formatted into pages. Printed output is usually divided into several page segments. Browser output often becomes a long page.
XSL-FO Pages (Pages) contain Regions (Regions).
* * *
## XSL-FO Regions (Regions)
Each XSL-FO page contains a series of Regions (Regions):
* region-body (main body of the page)
* region-before (page header)
* region-after (page footer)
* region-start (left column)
* region-end (right column)
XSL-FO Regions (Regions) contain block areas (Block Area).
* * *
## XSL-FO Block Areas (Block Areas)
XSL-FO Block Areas (Block Areas) define small block elements (usually starting with a new line), such as paragraphs, tables, and lists.
XSL-FO Block Areas (Block Areas) contain other block areas, but most of the time they contain line areas (Line Area).
* * *
## XSL-FO Line Areas (Line Areas)
XSL-FO Line Areas (Line Areas) define text lines within block areas.
XSL-FO Line Areas (Line Areas) contain inline areas (Inline Area).
* * *
## XSL-FO Inline Areas (Inline Areas)
XSL-FO Inline Areas (Inline Areas) define text within lines (emphasis, single characters, images, etc.).
YouTip