O'Reilly logo

iText in Action: Creating and Manipulating PDF by Bruno Lowagie

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required