concept tab in category itext

appears as: tabs, tab, tabs
iText in Action, Second Edition

This is an excerpt from Manning's book iText in Action, Second Edition.

Another way to distribute the content of a line is to use tabs.

Figure 2.11 shows how you can distribute the English movie title, the original title, the run length, and the year the movie was produced over one or more lines using tabs. If ordinary separator Chunks were used, the content wouldn’t have been aligned in columns.

Figure 2.11. Chunks acting as tab positions

One English movie title and its corresponding original title don’t fit in the available space. A new line is used because of the way you’ve defined the tab Chunk. If you change true into false in the tab Chunk constructors, no line break will occur; the text will overlap instead.