Hello All,
I am making a tool to translate html to a XSSFRichTextString

When i find a br tag, i'm simply appending a \n character, like this:

richTextString.append("\n", font);

Unfortunately, if i do this, the .xslx file gets damaged and doesn't open
correctly (excel always offers to repair it)

if, nevertheless, i do this:

richTextString.append("a\na", font);

(some character before and after the \n)

everything works fine.

I can't get through this problem.

Perhaps comeone here can help me?


--
Guilherme Petterle Silveira Mussi

Conrad Caine Media Applications GmbH

Mobile: +55 53 91257012
Office: +55 53 30275721

"Any fool can know. The point is to understand." - Albert Einstein

Reply via email to