Chapter 2. Using iText’s basic building blocks

This chapter covers

  • An overview of the database used in the book’s examples
  • An overview of the basic building blocks: Chunk, Phrase, Paragraph, List, ListItem, Anchor, Chapter, Section, and Image

This chapter describes a series of high-level objects that can be used as basic building blocks. These objects allow you to generate PDF documents without having to bother with PDF syntax. Figure 2.1 is a UML diagram that serves as a visual table of contents, presenting the building blocks discussed in this chapter.

Figure 2.1. UML class diagram, presenting the building blocks that will be discussed in this chapter

This class diagram is far from complete. All the methods, as well as a number of member ...

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