Re: [iText-questions] NullPointerException when adding table to document (solved)

2006-08-25 Thread KSchaeuble
Thanks for listening! ;) I found the problem in a properties file that somehow did not generate a FileNotFoundException although it was not found. *rolleyes* - Using Tomcat but need to do more? Need to support web services, s

Re: [iText-questions] NullPointerException when adding table to document

2006-08-25 Thread KSchaeuble
I think I could narrow it down a bit though I'm still clueless, what is excactly happening. I'm adding a Paragraph to a cell like this: Paragraph para = (Paragraph)element.render(style); contentCell.addElement(para); The render-method returns an Element, but if I ask element.render(style) what

[iText-questions] NullPointerException when adding table to document

2006-08-25 Thread KSchaeuble
I'm trying to piece a report together by creating several parts in different classes. I first ran this code locally and had no prblems creating the Pdf. When I now integrate it into my web-app and use a real object I'm getting an exception while generating the document: I tried to hunt it down b

[iText-questions] Bug in Chapter/Section indentation?

2006-08-21 Thread KSchaeuble
Hello, I currently play around a bit with Chapter and Section to see if it fits my needs. I would like to set an indentation for the sections but I get weird behaviour. The titles move over the left border if a section spans more than one page. I saw a similar behaviour described for paragraph

Re: [iText-questions] Chapter / section indentation

2006-08-21 Thread KSchaeuble
Sorry for bumping this up, but I really need an answer to this and can't find anything in the web. Thank you! -- Netzgiganten GmbH Gerokstr. 6 70188 Stuttgart http://www.netzgiganten.de [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED

[iText-questions] Chapter / section indentation

2006-08-17 Thread KSchaeuble
Hello, I currently play arounf a bit with Chapter and Section to see if it fits my needs. I would like to set an indentation for the sections but I get weird behaviour. The titles move over the left border if a section spans more than one page. I saw a similar behaviour described for paragraphs