poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 60147] Unable to export string “IBM_x3550_M2” correctly
Date Mon, 19 Sep 2016 09:14:37 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=60147

--- Comment #5 from onlyarticle <346164994@qq.com> ---
(In reply to Javen O'Neal from comment #4)

code sample like this :

XSSFRow row = sheet.createRow(rowNum);
XSSFCell cell = row.createCell(i);
cell.setCellStyle(style);
cell.setCellValue(textValue);

OR 

XSSFRichTextString richString = new XSSFRichTextString(textValue);
richString.applyFont(font);
cell.setCellValue(richString);

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message