Block-Level Formatting Objects

This chapter provides tutorial notes and example codes on XSL-FO block-level formatting objects. Topics include introduction of 'block' and 'block-container' formatting objects; margin collapse between blocks; space-before/after overriding margin; block splitting for page break; nested blocks.

What Are Block-Level Formatting Objects

What Is "block" Formatting Object?

"block" Formatting Object Examples

Margin Collapsed between Block Areas

space-before/space-after vs. Margin

Block Splitting for Page Break

"block" with Mixed Content

Controlling White Space Characters

What Is "block-container" Formatting Object?

Takeaways:

Table of Contents

 About This Book

 Introduction of XSL-FO

 Apache™ FOP (Formatting Objects Processor)

 RenderX XEP as an XSL-FO Tool

 Introduction of Area Model

 XSL-FO Document Basics and Examples

 Page Layout Masters

Block-Level Formatting Objects

 Inline-Level Formatting Objects

 Including Graphics in XSL-FO document

 Table of Rows and Columns

 List, Item, Label, and Body

 Floating Blocks - "float" and "footnote"

 Hyperlinks, Table of Contents and Indexes

 Headers and Footers using "static-content"

 Font Attributes and Font Families

 Apache FOP Font Configurations

 RenderX XEP Font Configurations

 Converting HTML to PDF

 References

 Full Version in PDF/ePUB