Thank you Yegor.  To expand on this question... I have to capture some very 
simple formatted text from a webpage (e.g. HTML formatted using TinyMCE, or RTF 
or ???) and insert the formatted text into an Excel cell - if Excel does not 
recognize RTF - does it recognize HTML or any other format that I can use with 
POI ?  Any other options -- other than to parse the text my self and apply the 
styles using 
HSSFRichTextString or XSSFRichTextString?
regardsNirlesh


> Date: Wed, 21 Mar 2012 07:49:49 +0300
> Subject: Re: How to insert existing RTF string into Excel cell
> From: [email protected]
> To: [email protected]
> 
> 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