Skip to main content



      Home
Home » Archived » BIRT » HELP : Add text multiline to the report
HELP : Add text multiline to the report [message #165904] Wed, 31 May 2006 05:25 Go to next message
Eclipse UserFriend
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 #165924 is a reply to message #165904] Wed, 31 May 2006 07:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: s.claes.gfdi.be

No answer ?

I'd like just create a simple letter with multi paragraph, it's possible ?
If yes when ?
Stéphane
Re: HELP : Add text multiline to the report [message #166176 is a reply to message #165904] Wed, 31 May 2006 17:05 Go to previous messageGo to next message
Eclipse UserFriend
Use the text element. In the text editor, type your text in multiple lines
or paragraphs. The report will display what you type.

"St
Re: HELP : Add text multiline to the report [message #166237 is a reply to message #166176] Thu, 01 June 2006 02:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: s.claes.gfdi.be

Thanks a lot Diana, has you an example ?
Re: HELP : Add text multiline to the report [message #166750 is a reply to message #166237] Thu, 01 June 2006 13:14 Go to previous messageGo to next message
Eclipse UserFriend
I don't have a code example, if that's what you're asking for. My suggestion
was to use the report designer's UI to create multiline text. Do you need
the steps for creating this via the UI?

"St
Re: HELP : Add text multiline to the report [message #166830 is a reply to message #166750] Fri, 02 June 2006 02:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: s.claes.gfdi.be

Yes I need thank you very much
Re: HELP : Add text multiline to the report [message #167295 is a reply to message #166830] Sat, 03 June 2006 13:10 Go to previous messageGo to next message
Eclipse UserFriend
1. From the palette, drag a text element and drop it in the report.
The text editor appears.
2. Select the type of text. Select Plain if there's no formatting within the
text required. Select HTML/dynamic text if you want to use HTML tags or
include dynamic data in the text.
3. Start typing. You can type as much text as you want.

Does this help?


"St
Re: HELP : Add text multiline to the report [message #168390 is a reply to message #167295] Thu, 08 June 2006 02:28 Go to previous message
Eclipse UserFriend
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
Previous Topic:Stored Procedures
Next Topic:Accessing Table Element with an ID
Goto Forum:
  


Current Time: Thu May 08 15:19:44 EDT 2025

Powered by FUDForum. Page generated in 0.08824 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top