Date published 


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. Why, at the top of the page you'd find "iText," of course. Written by the master himself, iText in Action now offers an introduction and a about this book. Contribute to zxh/iText development by creating an account on GitHub.

Language:English, Spanish, Hindi
Genre:Science & Research
Published (Last):10.05.2016
Distribution:Free* [*Registration needed]
Uploaded by: MARGE

52888 downloads 177253 Views 10.36MB ePub Size Report

Itext In Action Book

With iText, one can transform PDF documents into live, interactive applications quickly And the documentation is this book--iText in Action (Second Edition). readability. Based on ongoing examples that encourage learning in action. But I sure wish that I'd had Bruno Lowagie's "iText in Action" book at the time!. The Book. iText in Action, Second Edition was released in October Get the Java source code for the examples.

He enjoys speaking at conferences. He has an MA in Medieval History and a passion for reading. This library has become something of a phenomenon, offering a very high quality library provided totally free. If you have not met Itext, you need to visit the IText website now and find out just what you are missing…. Many of our customers use IText and indeed we use it ourself for some optional writing functions in JPedal — no point in reinventing the wheel. If you want to see some sample code showing what IText can do, have a look at our sample class and tutorial. IText is a very powerful tool and although easy to use, you can get a lot more out of it with the excellent IText in Action book, written by Bruno Lowagie — the original creator and one of the main developers of IText. I have a very well-thumbed and slightly tatty but much loved copy by my desk. The first version was originally published in and Itext has continued in active development since then. So you will be pleased to hear that there is a new version in preparation. I have been lucky enough to see the drafts of the first 6 chapters and they are a comprehensive rewrite, bringing all the information uptodate and adding documentation on new features.

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. There are a lot of examples missing from Chapter NET 3.

However, you DO need to download the following. Get the zipped source code from Google docs , last updated Monday, March 26, at And yes I'm using a URL shortener, which some people might not like, but it's easier for me to track that way. SHA1 Hash: This page is not included with the source code , that's an exercise left for the reader. 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.

iText in Action, 2nd Edition Webified iTextSharp Examples

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.

Part 1 Creating PDF documents from scratch

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.

iText in Action: Creating and Manipulating PDF by Bruno Lowagie

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. What is Unicode? Using Unicode in CID fonts 8. Embedding CIDFonts 8. Using TrueType collections 8. Summary 9. Using fonts 9. Other writing directions 9. Vertical writing 9. Writing from right to left 9. Sending a message of peace part 1 9. Advanced typography 9. Handling diacritics Changing the character advance Changing a proportional font into a monospace font 9.

Dealing with ligatures Ligatures in the Latin alphabet Arabic ligatures 9. Automating font creation and selection 9.

A Review of 'iText in Action'

Getting a Font object from the FontFactory Registering separate fonts Registering font directories 9. Automatic font selection Automatic selection of Greek symbols Automatic selection of glyphs 9. Sending a message of peace part 2 9. Summary Constructing and painting paths Path construction and painting operators Seven path construction operators Path-painting operators Stroking versus filling Nonzero winding number vs.

Direct content layers Graphics state operators The graphics state stack Changing the coordinate system Drawing a map of a city part 1 Parsing the SVG file Adding color and text Adding color to PDF files Device colorspaces Separation colorspaces Painting patterns Tiling patterns Shading patterns Using color with basic building blocks The transparent imaging model Transparency groups Isolation and knockout Applying a soft mask to an image Clipping content Text objects Text-positioning and text-showing operators Text-state operators Convenience methods to position and show text Caveats The map of Foobar part 2 Drawing to Java Graphics2D Obtaining a Java.

Graphics2D instance Drawing glyph shapes instead of using a PDF font Two-dimensional graphics in the real world Exporting Swing components to PDF Drawing charts with JFreeChart Making content visible or invisible Adding structure to layers Using a PdfLayer Optional content membership Changing the state of a layer with an action Optional content in XObjects and annotations Enhancing the map of Foobar Defining the layers for the map and the street names Combining iText and Apache Batik Adding tourist information to the map Summary 4.

Interactive PDF Browsing a PDF document Changing viewer preferences Setting the page layout Choosing the page mode Viewer options Visualizing thumbnails Changing the page labels Changing the thumbnail image Adding page transitions Adding bookmarks Creating destinations public PdfDestination int type public PdfDestination int type, float parameter public PdfDestination int type, float left, float top, float zoom public PdfDestination int type, float left, float bottom, float right, float top Constructing an outline tree Adding actions to an outline tree Retrieving bookmarks from an existing PDF file Manipulating bookmarks in existing PDF files Introducing actions Actions to go to an internal destination Actions to go to an external destination Triggering actions from events Launching an application Enhancing the course catalog Automating PDF creation Creating a page