Chapter 4. Composing text elements

This chapter covers

  • Working with Chunks, Phrases, and Paragraphs

  • Working with Anchors, Lists, and ListItems

  • Working with Chapters and Sections

  • Advanced Chunk functionality

If you wanted to use the first versions of iText back in 1999, you had to be a PDF specialist. Even if you knew what PDF-specific iText methods to use, the Java code to produce a PDF document was obscure. Because I wanted to speed up the development process and make the code maintainable and easier to debug, it wasn’t long before I decided to write a layer on top of iText version 0.2x. I had been producing many different types of PDF documents, so I knew which high-level objects would be useful.

This chapter describes a first series of high-level ...

Get iText in Action 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.