Inline-Level Formatting Objects

Besides block objects, you can also create inline objects. Inline objects are usually used to format part of text as that text follows the normal flow in the page. For example, you can make the first character in a paragraph larger, make the whole first line smaller, insert page numbers into text, and so on.

Here are the inline formatting objects:

  • fo:bidi-override

  • fo:character

  • fo:initial-property-set

  • fo:external-graphic

  • fo:instream-foreign-object

  • fo:inline

  • fo:inline-container

  • fo:leader

  • fo:page-number

  • fo:page-number-citation

I'll take a look at a few of the most common of these next.

Using fo:character

The fo:character object lets you handle the characters in a document individually, which is very useful if you want to write ...

Get Real World XML now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.