iText® XLMWorker 0.9.2

Today we have released 0.9.2 of the XMLWorker!

Get it here

Note: We have not yet added this project to maven central.

Some of the changes taken from commit messages:

  1. * Body -> now uses nonewlineparagraph
    * xml.parser…. takes namespaces into account. tag <ns:atag> now submitted as ‘atag’ with namespace ‘ns’
  1. Rowspan fix when determining and comparing the width of cell with its predeseccors. Rowspan is now checked not only for the current column, but for the following columns as well.
  1. * Table / TableData / TableRowElement – revised Table after receiving IndexOutOfBounds – table should now keep working even with inner non table tags. e.g. a <p> in <table>, they will all be taken as caption for the table though. – Table code adapted to allow page-break-before on <table> – didn’t test what happens when it’s on <td>’s yet. | Note: Emiel should revise my changes here
    * XMLWorkerHelper – removed deprecated methods
    * this commit also adds some javadoc
  1. * pom: add osgi data
    * xmlworker-html: allow parsing snippets with no root tag
    * page-break-before can add Chunk element to currentContent list -> stackKeeping processors should check for other then the expected elements (like in OrderUnoderedList ) – probably need to check that in Table tag processor too ) —
  1. the dummy tag processor should really be a dummy. Now it is, it does not call code from AbstractTagProcessor

iText® 5.1 Released

We’ve released a new version of iText. Version 5.1

changes

  • the RichMedia package got removed from itextpdf core to itext-xtra
  • the HTMLWorker has been reworked in a new project: ‘xmlworker’. Developers using the HTMLWorker should take a look at the XMLWorker 0.9.1, it supports more CSS and HTML, and will be released later today. It’s a separate project
  • for developers a Logger has been added, next up is add more logging, currently it’s used … almost nowhere
  • various bugfixes
  • itextpdf.com-5.1.0 should be osgi enabled
  • the source code has been mavenized
  • the RUPS source has been moved to a separate project too

For a full list see this

and itext is now available in Maven Central !! search for com.itextpdf and you’ll find it

iText® PDF Demo

To show of the capabilities of iText® and PDF we at itextpdf.com have created a demo to show off the interactive features of PDF and to show of the fact that you can create it with iText® of course

The demo allows you to add your company data (a logo inclusive) and create an invoice for it, you can select different products that should show up on the invoice (thus your purchase). All of this is done inside the PDF !

See the demo or a how to use the demo.

Note: the colours of the invoice are adapted to the main colour of the logo.

While this is a demo created in Java, you could do exactly the same with iText® Sharp.

Work has begun on a second demo that will utilize new code written to transform XML to PDF. The upcoming demo will allow you to input text in a WYSIWYG editor (e.g. TinyMCE or CKEditor ) and transform it to PDF.