Anyone working with IText 5.0.1

I just started working on Itext and cannot get pass HelloWorld using LS2J. I always get this error:

LS2J Error: Threw ExceptionConverter: com.itextpdf.text.DocumentException: No message found for 1.not.found.as.resource

The samples works fine in Eclipse.

Anyone want to collaborate?

Subject: Export to PDF

If you’re trying to export Notes documents to PDF format would you be willing to consider a 3rd party application? We have an export utility which exports Notes documents to the following formats:* PDF

  • Microsoft Excel

  • Microsoft Access

  • Microsoft Word

  • CSV

  • XML

  • And more

The exported pdf documents can also contain the original attachments embedded in the exported Notes documents.

Other features include:

  • Scheduled exports.

  • Exports can be sent automatically by email.

  • You can control which databases can be exported.

  • You can develop your own LotusScript code to hook into the export application. API information is provided.

Single user license costs less than an hour of a developers time.

For more information and to download the application:

Regards,

Alex

Subject: ls2j

I’ve got the same problem with iText 5.0.3 java library used in lotuscript via LS2J.The java line code is

BaseFont bf = BaseFont.createFont(BaseFont.HELVETICA, BaseFont.CP1252, BaseFont.NOT_EMBEDDED);

Any news?

michele

Subject: Did you find a solution?

I think this may be a general issue with ressources available to the JVM when calling the code through LS2J. I have created the functionality as a Java library and I can call the code from a Java agent without problems. When calling through LS2J I get the error message:

No message found for 1.not.found.as.resource

And the Java line that causes this is:

Font headerFont = FontFactory.getFont(FontFactory.TIMES, 11);

/John