What is the correct import path for the text classes?

 

Many of the examples have the following syntax to import the iTextPDF classes.

//import the iText packages

import com.lowagie.text.*;

import com.lowagie.text.pdf.*;

 

Also, I have tried the following, because the source unzipped to the following 
path on my computer.

C:\Program Files\Java\iText\src\core\com\itextpdf\text

import com.itextpdf.text.*;

import com.itextpdf.text.pdf.*;

 

Both of these are causing an error, "The import com.lowagie cannot be 
resolved", in Eclipse. I am not asking you to fix my CLASSPATH
issues, but I would like to know the correct name of the class that is embedded 
in the iText.jar file. I downloaded the
<iText-src-5.0.0.zip> file on December 10, 2009.

 

btw. iTextSharp is a wonderful product and "iText in Action" is a wonderful 
book. Thank you for sharing your class library with
everyone.

 

Thank you,

Tony

 

 

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
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
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to