2012年7月29日星期日

iText in Action 2nd读书笔记汇总

iText in Action 2nd读书笔记汇总

 

断断续续的写了一些关于iText in Action 2nd这本书的很多读书笔记,这里汇总一下方便别人也方便自己。

Part 1  Creating PDF documents from  scratch(从头构建pdf文档)

Introducing PDF and iText

  • Creating a PDF document in five steps with iText

Using iText’s Basic building block

  • Adding Chunk, Phrase, Paragraph, and List objects
  • Adding Anchor, Image, Chapter, and Section objects

Adding content at absolute positions

  • Introducing the concept of direct content
  • Adding text at absolute positions
  • Working with the ColumnText object
  • Creating reusable content

Organizing content in tables

  • Constructing tables
  • Changing the properties of a cell
  • Dealing with large tables
  • Adding a table at an absolute position

Table,Cell, And Page events

  • Decorating tables using table and cell events
  • Events for basic building blocks
  • Overview of the page boundaries
  • Adding page events to PdfWriter

Part2 Manipulating existing PDF documents

Working with existing PDFs

  • Accessing an existing PDF with PdfReader
  • Copying pages from existing PDF documents
  • Adding content with PdfStamper
  • Copying pages with PdfCopy

TAG: