Hello there,

I am working currently with the itext PDF library and have had some great success with it, but I am stuck at a particular point.
I am trying to get my code to output PDFs with footer information on them but when I add the code as displayed on the itext website found here.

http://itextdocs.lowagie.com/examples/com/lowagie/examples/directcontent/pageevents/EndPage.java

I get into trouble when I add the following line to my code.

package com.lowagie.examples.directcontent.pageevents;

Am I doing something wrong or not referencing another jar file or something, I have it referencing the standard 1.4.2 itext jar and all other aspects of my agent work.

The error it throws is...
ExportPDF.java:20: 'class' or 'interface' expected

It is the only line that starts with package all the others start with import, not sure if that may be something, Im new to Java.

Hope someone can help me out as I dont know what I'm missing or doing wrong.





Regards

Aden Roper
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to