-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Dominic,
Dominic Maricic wrote: > I just downloaded and built the latest SVN from > https://itext.svn.sourceforge.net/svnroot/itext/branches/iText-jdk15/ and > created this Jar: http://www.nabble.com/file/p21894078/iText-jdk15.jar > iText-jdk15.jar > > I'm getting an error though when adding a string to a Paragraph object: > C:\MyProgram\src\myprogram\myprogram.java:147: cannot find symbol > symbol : method add(java.lang.String) > location: class com.lowagie.text.Paragraph > content.add("\n"); > > I looked at the Paragraph.java file which calls Phrase.java and both had > .add(String) methods so I'm at a loss. Any ideas? Please do not use the iText-jdk15 branch for development. It's currently more of an experiment to figure out what will be needed to switch to Java 1.5. Some changes were needed to make sure generics worked as expected. You will not get support from the mailing list by using that version. Besides, I only update it after each official release so you will not get the latest unreleased changes. Instead, use the official version from the svn trunk: https://itext.svn.sourceforge.net/svnroot/itext/trunk/ Or if you do not want to build it yourself, a daily snapshot is generated on my server at: http://brittanysoftware.com/itext/snapshots/ BTW, I think the problem when using the 1.5 version, is that add() now takes an Element as an argument and addObject(Object o) was added to deal with adding other types to the paragraph. Best regards, Xavier Le Vourch - -- Xavier Le Vourch Brittany Software, Inc. <[email protected]> PGP Key (ID 0x896C5947): http://brittanysoftware.com/gpg_key.asc Key fingerprint: 73B3 6370 B8C5 4325 F2D8 4115 0372 5805 896C 5947 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkmPI7wACgkQA3JYBYlsWUdk0QCeJJy9Vs2qqfnvF1+rloYOzFNd wS0AniMYBNGNWb7XkRpE9EJcLqupin7+ =b6fH -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php
