Say you need a tool to add dynamic or interactive features to a PDF file and you decide to search on Google for "Java PDF." What do you think you'd find? Why. iText in Action, Second Edition was released in October So if you prefer, creating a PDF is now a four-step process - just add a using. Imagine a publisher who wants to "stamp" his ebooks on the fly with the name of the downloader (to discourage sharing). Such a publisher would (and we know one.
|Language:||English, Spanish, German|
|ePub File Size:||21.86 MB|
|PDF File Size:||19.32 MB|
|Distribution:||Free* [*Sign up for free]|
The Second Edition of 'iText in Action' was published in 'iText in Action' 2nd Edition (), helps to fully understand what PDF and iText are about. Contribute to zxh/iText development by creating an account on GitHub. An eBook copy of the previous edition of this book is included at no additional cost. iText in Action, Second Edition is an entirely revised new version of the.
Part 1 Creating PDF documents from scratch 1. Introducing PDF and iText 1. Things you can do with PDF 1. Working with the examples in this book 1. Creating a PDF document in five steps with iText 1. Summary 2.
Dealing with large tables 4. Adding a table at an absolute position 4. Summary 5. Table, cell, and page events 5.
Decorating tables using table and cell events 5. Events for basic building blocks 5. Overview of the page boundaries 5.
Adding page events to PdfWriter 5.
Working with existing PDFs 6. Manipulating existing PDF files 2. Using PdfStamper to change document properties 2. Introducing imported pages 2. Using imported pages with PdfWriter 2. Concatenating forms with PdfCopyFields 2. Summary of the manipulation classes 2. Creating PDF in multiple passes 2. Stamp first, then copy 2. Copy first, then stamp 2. Stamp, copy, stamp 2.
Summary 3. A document history 3. The Acrobat family 3. The intellectual property of the PDF specification 3.
Types of PDF 3. Traditional PDF 3. Tagged PDF 3. Linearized PDF 3. PDFs preserving native editing capabilities 3. Rules of thumb 3. PDF version history 3.
Changing the user unit 3. Basic building blocks 4. Composing text elements 4. Wrapping Strings in text elements 4. The atomic building block: Chunk 4. An ArrayList of Chunks: Phrase 4. A sequence of Phrases: Paragraph 4.
Adding extra functionality to text elements 4. External and internal links: Anchor 4. Lists and ListItems: Automatic bookmarking: Chunk characteristics 4. Measuring and scaling 4. Simulating italic fonts: Changing font and background colors 4. Simulating bold fonts: Chunks and space distribution 4. The split character 4.
Hyphenation 4. Changing the CharSpace ratio 4. Anchors revisited 4. Remote Goto 4. Local Goto 4.
Generic Chunk functionality 4. Drawing custom backgrounds and lines 4. Implementing custom functionality 4. Building an index 4. Making a flyer part 1 4. Summary 5. Inserting images 5. Standard image types 5. TIFF with multiple pages 5. Animated GIFs 5. Working with java. Image 5. Byte arrays with image data 5. Raw image data 5. CCITT compressed images 5. Creating barcodes 5. Working with com. PdfTemplate 5. Setting image properties 5.
Adding images to the document Alignment and wrapping Images and Chunks Image borders Image sequence 5.
Translating, scaling, and rotating images Adding an image at an absolute position Scaling images Image resolution Scale to fit a rectangle Image rotation 5. Image masks 5. Making a flyer part 2 5. Getting the Image instance 5.
Setting the border, the alignment, and the dimensions 5. The resulting PDF 5. Summary 6. Constructing tables 6.
Tables in PDF: PdfPTable 6. Your first PdfPTable 6. Working with large tables Tables spanning multiple pages Repeating the table header and footer Memory management for large tables 6. Adding a PdfPTable at an absolute position Comparing document. Composing a study guide part 1 6.
The data source 6. Generating the PDF 6. Summary 7. Constructing columns 7. Retrieving the current vertical position 7. Adding text to ColumnText 7. Different ways to add text to a column ColumnText. Keeping paragraphs together 7. Adding more than one column to a page Regular columns Irregular columns Text mode versus composite mode 7.
Composing ColumnText with other building blocks 7. Combining text mode with images and tables 7. ColumnText in composite mode 7.
Automatic columns with MultiColumnText 7. Regular columns with MultiColumnText 7. Irregular columns with MultiColumnText 7. Composing a study guide part 2 7. PDF text and graphics 8. Choosing the right font 8.
Defining a font 8. Using the right terminology 8.
Standard Type 1 fonts The iText Font class Defining the font style and color Defining the font size Embedded versus nonembedded fonts 8. Introducing base fonts 8. Working with an encoding Creating a BaseFont object 8. Embedding Type 3 fonts 8. Working with TrueType fonts 8. Composite fonts 8. The source code also now includes a simple command line executable to build the result files for people who don't do web development.
Some notes: Skipped most of Chapter Hopefully I'll get around to adding more examples someday. Unfortuately, I don't get to use iTextSharp at work anymore. I've always been a web developer, until accepting a job in May and am now in a position of what amounts to a developer black hole. What I will do is try and keep what is on this site updated.