Bug 45326 - Bug in shape.setText()
Summary: Bug in shape.setText()
Status: RESOLVED WORKSFORME
Alias: None
Product: POI
Classification: Unclassified
Component: POI Overall (show other bugs)
Version: unspecified
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-02 08:26 UTC by Stefan
Modified: 2014-07-28 20:34 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan 2008-07-02 08:26:12 UTC
Hello everyone,
first thanks for the very nice work with POI!

I noticed a bug in the latest version of POI: Version 3.1-final (2008-06-29)

When I use shape.setText(myText) If myText ends with "\r" the parameters such as RichTextRun rt rt.setFontSize(12); wont take effect.

What i have to do is to replace the last "\r" to "" then everything works.

Best regards

/Stefan Ohlsson
Comment 1 Dominik Stadler 2013-08-13 14:29:12 UTC
Is this still an issue now? If so, can you provide a test-case that allows to reproduce this against the current version of POI?
Comment 2 Dominik Stadler 2014-07-28 20:34:30 UTC
No reply on request for more information, thus resolving this one for now, please reopen with more information if this is still a problem.