Hi,

I have following issues, Can guide me to over come these.

1.The Chapter is always starts in the new Page. Is it possible to set to start with newline instead of new page (like I have Paragraph, which occupies half of the page, then I want to add the Chapter immediately after the Paragraph (very next line) Is possible? otherwise guide me to do this other way.

2. Current version I couldn't able to add any element after adding the elements from XML it throws com.lowagie.text.DocumentException: The document has been closed. You can't add any Elements. My code is...

document.newPage();

parser.parse("values.xml", new SAXmyHandler(document, new TagMap("tagmap.xml")));

document.add(textStyle.getStyleLeft10("Text 2"));

document.close();

3. How to define the XML tags for Table & Cells.

4. Is it possible to mix XML & the values we get from Application, like declare some variables in the XML file & those values should be replaced by the values from the application?

Example: -

Values in XML will be: "the Sum Assuered is <SUM_ASSUERD>"

This <SUM_ASSUERD> should be replaced by the values from application at runtime.

Is it possible?

Thanks & Regards

Sampath


Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!

Reply via email to