https://bz.apache.org/bugzilla/show_bug.cgi?id=65800

--- Comment #9 from PJ Fanning <[email protected]> ---
creating the font inside in the loop looks bad to me - excel has a limit on the
number of fonts you can add to a workbook

why not doing something like this (no loop, adds whole content with one
append)?

XSSFRichTextString richText = new XSSFRichTextString();
Font currentFont = wb.createFont();
currentFont.setItalic(true); // italic creates space
currentFont.setUnderline(Font.U_SINGLE);
richText.append(content, (XSSFFont) currentFont);

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to