Flying Saucer: CSS Formatted Text Support

Previous Page

Next Page

Flying Saucer XML/CSS2 Renderer

CSS Formatted Text Support

Formatted text support includes: formatting text using CSS styling including the many styling properties shown below.

You can use bold, italic, smallcaps, underline, uppercased text, lowercased text, and captialized text.

You can also use different font sizes, different font families, and different text colors.

You can even use a custom font embedded in your application.

We also support alignment such as:

left

center

and right aligned text.

You can even justify text on a single line (if the line is long enough, and I mean really long)

and spec-compliant whitespace control such as:

        some
        preformatted
            text