Thanks a lot Bruno..the problem were solved.
(B
(BPlease accept my apology and I'm just new to Java and iText...till next time...
(B
(BBruno $B$5$s$O=q$-$^$7$?(B:
(B>Quoting "Ricky M. Codizar" <[EMAIL PROTECTED]>:
(B>
(B>> Here is the error. I'm working on a Japanese environment and the error
(B>> message may not have the exact words as generated 
(B>> by iText. I just translated it to English.
(B>> 
(B>> BasicProjectFrame3.java:121: exception com.lowagie.text.DocumentException is
(B>> not specified. In throwing or catching, 
(B>> throw must be declared.
(B>>                 BaseFont bf = BaseFont.createFont(BaseFont.HELVETICA,
(B>> BaseFont.CP1252, BaseFont.NOT_EMBEDDED);
(B>> 
(B>> Hope you could help.
(B>
(B>I didn't follow the earlier posts, but this looks more
(B>like a compile error than a runtime error.
(B>
(B>It says you didn't throw or catch a DocumentException.
(B>
(B>Doesn't this explain the problem?
(B>Method createFont throws a DocumentException.
(B>If you want to use it, you need to put it in a
(B>try {} catch(DocumentException e) {} block or
(B>you need to add the throws clause to the method
(B>in which you create the BaseFont.
(B>
(B>Bruno
(B
(B----
(BRicky M. Codizar  [EMAIL PROTECTED]
(B
(B
(B-------------------------------------------------------
(BThis SF.NET email is sponsored by:
(BSourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
(Bhttp://www.vasoftware.com
(B_______________________________________________
(BiText-questions mailing list
([EMAIL PROTECTED]
(Bhttps://lists.sourceforge.net/lists/listinfo/itext-questions


Reply via email to