Product Details
iText in Action: Creating and Manipulating PDF

iText in Action: Creating and Manipulating PDF
By Bruno Lowagie

List Price: $49.99
Price: $31.49 & eligible for FREE Super Saver Shipping on orders over $25. Details

Availability: Usually ships in 24 hours
Ships from and sold by Amazon.com

49 new or used available from $26.16

Average customer review:

Product Description

Imagine a publisher who wants to "stamp" his ebooks on the fly with the name of the buyer (to discourage sharing). Such a publisher would (and we know one who does) use iText for the task. Developers looking to enhance web- and other applications with dynamic PDF document generation and/or manipulation will find this book unique in content "and" readability. Based on ongoing examples that encourage learning "in action," they will finally understand PDF and learn how to build applications that produce professional, high-quality PDF documents. While the basic functionality of iText is easy to acquire, this book lowers the learning curve for more advanced functionality. It explains how to use iText to create/manipulate PDF documents on-the-fly in one or more of the following situations:

Due to time or size, the PDF documents can't be produced manually The content of the document must be calculated or based on user input. The content needs to be customized or personalized. The PDF content needs to be served in a web environment. Documents are to be created in "batch process" mode.

All the examples are written in Java, but they can be easily adapted to .NET by developers using one of the .NET ports: iTextSharp (C#) or iText.NET (#J). While iText is a free Java library and the examples are written from the point of view of the Java developer, nine out of ten examples can be run by .NET developers with only minimal changes.


Product Details

  • Amazon Sales Rank: #52119 in Books
  • Published on: 2006-12-01
  • Original language: English
  • Number of items: 1
  • Binding: Paperback
  • 657 pages

Features


Editorial Reviews

About the Author
Bruno Lowagie has been programming since he was twelve years old. He has a degree in civil architectural engineering and is the initial developer and one of the current maintainers of iText. He works at Ghent University, Belgium.


Customer Reviews

iText saved me!5
In January 2006 I was assigned to build a system that would create lots of PDF reports, typically with hundreds of pages of tables, and with tables nested in other tables. I started with an an open-source tool called BIRT that is well-designed and powerful, but it didn't quite give me sufficient low-level control over some aspects of PDF creation. When I realized that BIRT wasn't going to work for me, I was behind schedule and in trouble. Then I discovered iText. (BIRT actually is built using iText jar files.) I found that iText gave me exactly what I needed: an easy-to-use yet powerful Java API for creating PDF files. The remainder of the project, using iText, went smoothly, and my boss was very happy with the results. But I sure wish that I'd had Bruno Lowagie's "iText in Action" book at the time! That would have shaved a few weeks off of the project and would have saved me from learning some things painfully, by trial and error. As the original developer of iText, Bruno Lowagie is uniquely qualified to write this book. He obviously put a huge amount of effort into it, reflecting his longstanding commitment to iText. He made every effort to explain things as clearly as possible, and to document the pitfalls as well as the attractive features. It is evidently a labor of love for him. The book is written to the high editorial standards of other Manning books, with clear organization, good typography and layout, and so on. I highly recommended iText itself, and also this book, to anyone who is using Java to work with PDF files.

Excellent book on a great open source software project...5
I've always figured that there should be some way to create PDF files without the manual effort of any 3rd party software client. Now I find out there is a way, and it's rather exciting... iText In Action by Bruno Lowagie covers the iText open source software project. It's a very well done reference manual that can also serve as a tutorial for a decent Java developer.

Contents:
Part 1 - Introduction: iText - when and why; PDF engine jump-start; PDF - why and when
Part 2 - Basic Building Blocks: Composing text elements; Inserting images; Constructing tables; Constructing columns
Part 3 - PDF Text and Graphics: Choosing the right font; Using fonts; Constructing and painting paths; Adding color and text; Drawing to Java Graphics2D
Part 4 - Interactive PDF: Browsing a PDF document; Automating PDF creation; Creating annotations and fields; Filling and signing AcroForms; iText in web applications; Under the hood
Appendixes: Class diagrams; Creating barcodes; Open parameters; Signing a PDF with a smart card; Dealing with exceptions; Pdf/X, Pdf/A, and tagged PDF; Resources; index

Lowagie starts off with a brief background of how iText came into being, along with a scenario of where the ability to programmatically create PDF files could dramatically change the way a college would run a department. Then after a short Hello World example that involves creating a simple document, he delves into all the different features and capabilities. The book at this point starts to change from tutorial to reference manual, but it's done in such a way that you could just keep working through the material in tutorial fashion with little effort (and good results). The example code in all the chapters are extensively annotated and explained, so you're not left to your own devices to try and figure out what the logic is trying to accomplish. In fact, I would say that the code annotation and commentary is some of the best I've seen in a book of this type. Great job...

The main target audience for this book is the Java developer, as the iText project is Java-based. There are .NET ports for J# and C#, and knowing how close those languages are to Java, this book should work pretty well for those development efforts with a little bit of thought and modification. Other languages should be able to use the iText toolkit if they have some way to call Java code modules from within their programs. As a Notes/Domino developer, I should be able to utilize all of this package in any Java agents I write, and the LS2J feature of LotusScript might also work well. After reading this book, I know I have some things I need to try...

If you have any sort of need involving the creation of PDF files from within your own system, iText is a great alternative to explore. And if that seems to be the way to go, I don't know of any better book to get than this one...

Outstanding book. Valuable for every type of iText development.5
This is a great book for people developing or maintaining applications using iText. It covers every corner-case I've run into, typically offering various options on how to solve a problem. The writing is concise, with easily approachable chapters and examples.