Chapter 7. Making documents interactive

This chapter covers

  • Creating actions and destinations
  • Working with outlines and bookmarks
  • Adding annotations and JavaScript

In the summary of the previous chapter, table 6.1 outlined the most important iText classes for manipulating documents. You’ve used these classes to manipulate the content of existing documents to copy pages, add extra content, fill out forms, and so forth. In this chapter, you’ll use PdfStamper and PdfCopy to add interactive features to an existing document.

We’ll start by adding actions that will help the end user navigate through the document, similar to what you did with internal and external links in section 2.3.1. Next we’ll look at bookmarks, but instead of using Chapter ...

Get iText in Action now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.