Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Floating Text around Pictures(How to let the Text flows around a Picture)
Floating Text around Pictures [message #870257] Mon, 07 May 2012 13:26 Go to next message
Thomas P. is currently offline Thomas P.Friend
Messages: 25
Registered: April 2012
Junior Member
is it possible to let a text flow around a picture?
(See attached report) Birt Version 3.7.1.v20110905-4607

I have a picture in the left upper corner and I want to let the text begin at the right side from the pictures top and if the text came through the end of the picture the text should beginn on the left side under the picture. The solutions should be something like the wordtext.jpg.


Thomas
Re: Floating Text around Pictures [message #870336 is a reply to message #870257] Mon, 07 May 2012 16:59 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

One way to do this would be to substring the text into two text
elements. See attached example.

Jason

On 5/7/2012 9:26 AM, Thomas Plorin wrote:
> is it possible to let a text flow around a picture?
> (See attached report) Birt Version 3.7.1.v20110905-4607
>
> I have a picture in the left upper corner and I want to let the text begin at the right side from the pictures top and if the text came through the end of the picture the text should beginn on the left side under the picture. The solutions should be something like the wordtext.jpg.
  • Attachment: floattext.zip
    (Size: 257.38KB, Downloaded 168 times)
Re: Floating Text around Pictures [message #870433 is a reply to message #870336] Tue, 08 May 2012 07:42 Go to previous messageGo to next message
Thomas P. is currently offline Thomas P.Friend
Messages: 25
Registered: April 2012
Junior Member
Yes, i think about this, too. But the problem is, that I don't know the length of the text, because it comes from a dataset. I think I must redesign the Report.

Thank you.

Thomas


Thomas
Re: Floating Text around Pictures [message #870557 is a reply to message #870433] Tue, 08 May 2012 16:45 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

You could always add a computed column to the data set or grid to
calculate the string length:

BirtStr.charLength(dataSetRow["verylongstring"]);

Jason


On 5/8/2012 3:42 AM, Thomas Plorin wrote:
> Yes, i think about this, too. But the problem is, that I don't know the
> length of the text, because it comes from a dataset. I think I must
> redesign the Report.
>
> Thank you.
>
> Thomas
Previous Topic:BIRT Viewer Error in Tomcat
Next Topic:Changing aggregate expression of chart series based on report parameter
Goto Forum:
  


Current Time: Thu Jan 23 16:17:45 GMT 2020

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

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

Back to the top