Wrapped texts when export to ODP [message #1015639] |
Fri, 01 March 2013 13:58 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Jan Krakora![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=jan.krakora.cz%40gmail.com) Messages: 477 Registered: December 2009 Location: Prague |
Senior Member |
|
|
Hi all,
I would like to export my report to a presentation. Since the MS Office 2010 is not supported with PPT emitter,
I'm trying to export to ODP.
But I have problems with text components. The ODP emitter somehow computes text width smaller it should be,
so almost all texts (bigger than 7pt) are wrapped.
![index.php/fa/13640/0/](index.php/fa/13640/0/)
One can adjust the text's width with handles in the opened presentation. Adding minimal amount (something like 1 px) is sufficient
and the text gets inline. It's really annoying.
Do you have any idea how to fix that?
Edit:
Looking at OdpPage class, there is this comment
protected void drawText( String text, float textX, float textY, float baseline,
float width, float height, TextStyle textStyle ) {
// width of text is enlarged by 1 point because the text will be
// automatically wrapped if the width of textbox equals to the width of
// text exactly.
...
I don't know what that means, but it exactly happens to me, the text is wrapped.
[Updated on: Fri, 01 March 2013 14:07] Report message to a moderator
|
|
|
Re: Wrapped texts when export to ODP [message #1015740 is a reply to message #1015639] |
Sat, 02 March 2013 01:49 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
|
It looks like a bug. What is your version? If not using 4.2.1, can you try downloading it and seeing if it has the same issue. If it does, please log a bug for it. Are you using fixed layout or auto layout?
Michael
Developer Evangelist, Silanis
|
|
|
|
Powered by
FUDForum. Page generated in 0.03220 seconds