HELP : Add text multiline to the report [message #165904] |
Wed, 31 May 2006 05:25  |
Eclipse User |
|
|
|
Originally posted by: s.claes.gfdi.be
Hi,
I'd like create an report with 2 or more paragraph, but I do not know how
to make .
Here how I make, but that does not work
private static void createBody() throws SemanticException {
TextDataHandle text = elementFactory.newTextData("Test de paragraphe");
text.setContentType(DesignChoiceConstants.TEXT_DATA_CONTENT_ TYPE_PLAIN);
text.setValueExpr("This is my first paragraph");
reportDesignHandle.getBody().add(text);
TextDataHandle text2 = elementFactory.newTextData("Test de paragraphe");
text2.setContentType(DesignChoiceConstants.TEXT_DATA_CONTENT _TYPE_PLAIN);
text2.setValueExpr("This is my second paragraph");
reportDesignHandle.getBody().add(text2);
}
Thank you for your help.
|
|
|
|
|
|
|
|
|
Re: HELP : Add text multiline to the report [message #168390 is a reply to message #167295] |
Thu, 08 June 2006 02:28  |
Eclipse User |
|
|
|
Originally posted by: s.claes.gfdi.be
Hi Diana,
Thank you very much for your help, but this solution is for design report
creation, but for me I'd like create a report with java code.
I ordered your books on BIRT, but I did not receive them yet, therefore I
must manage while waiting.
In advance thank you for your help.
Stéphane
|
|
|
Powered by
FUDForum. Page generated in 0.08824 seconds