what you want is not possible. Excel does not recognize rich
formatting in the rtf format. The only way to show rich text is to use
HSSFRichTextString object.

Yegor

On Wed, Mar 21, 2012 at 4:04 AM, Nirlesh Patel <[email protected]> wrote:
>
> I have a small rtf file created using WordPad with simple formatting (bold, 
> font sizes, etc) I have read the file into a String and now I want to insert 
> String into an Excel cell and have Excel recognize the formatting.
> ie. I do NOT want to create a new HSSFRichTextString or XSSFRichTextString 
> and then apply formatting.
> Is this feasible using POI?
> RegardsNirlesh

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to