A stack trace would be helpfull or even better a small working example.

Best Regards,
Paulo Soares

> -----Original Message-----
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]
> Sent: Friday, May 30, 2003 17:00
> To:   [EMAIL PROTECTED]
> Subject:      [iText-questions] Extending iText classes
> 
> 
> 
> 
> 
> Hello,
> 
> I'm in the situation with a project where I'd like to extend some of the
> iText classes (such as Chunk, Paragraph, and Chapter) in order to add some
> simple properties which I will use for sorting. After the sorting I will
> add my objects to a Document.
> 
> I've just extended the Chunk class for testing; I haven't even added any
> of
> my own properties yet. But whenever I try to add my extension of Chunk to
> a
> Paragraph object I get a null pointer exception, even when I cast the
> object as an iText Chunk.
> 
> Is it possible to extend the iText classes and add them to Documents
> (without tinkering around with other classes)? Has anyone done this?
> 
> Thanks in advance for any help,
> 
> Andrew Luxner
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: eBay
> Get office equipment for less on eBay!
> http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions


-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to