Bruno Lowagie (iText) wrote: > In package org.jboss.seam.pdf.ui.ITextComponent, there's > a method replaceEntities(String text). In iText 2, there > will be a class EntitiesToUnicode
I just added a method public static String decodeString(String s) to this class: http://itext.cvs.sourceforge.net/itext/src/com/lowagie/text/xml/simpleparser/EntitiesToUnicode.java?r1=1.1&r2=1.2 > The color map and colorValue: look for class WebColors > in iText: > There's a static method getRGBColor(String name) > that gives you a Color instance based on a String > "#FF0000" or "red" will return Color.RED. > Method alignmentValue I added this method to the ElementTags class: http://itext.cvs.sourceforge.net/itext/src/com/lowagie/text/ElementTags.java?r1=1.86&r2=1.87 > pageSizeValue Not exactly the same method, but see: http://itext.cvs.sourceforge.net/itext/src/com/lowagie/text/PageSize.java?r1=1.60&r2=1.61 All these methods will be available in the next iText release (should be next week, but could be in two weeks, depending on the extra work I get). br, Bruno ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/