itextdoc 2.0.0

itextdoc has been updated to version 2.0.0

2.0.0 introduces a code styler module. This module styles Java code by colouring it like in your IDE.

By adding the attribute code=”java” to a tag, the inner text is seen as Java code. It is even possible to include a file through a new tag.

The <codepart> tag.

With the codepart tag you can designate a file that will not be seen as html and hence will not be parsed as such but for example as Java code a.

<codepart file="" code="java"/>

will do the trick.

see here for itextdoc usage and some background info

3 Replies to “itextdoc 2.0.0”

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.