poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 52484] Superscript font works for XSSFWorkbook but not SXSSFWorkbook
Date Thu, 19 Jan 2012 17:26:20 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=52484

Yegor Kozlov <yegor@dinom.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX

--- Comment #1 from Yegor Kozlov <yegor@dinom.ru> 2012-01-19 17:26:20 UTC ---
Rich text in SXSSF is not supported. All formatting applies via
RichTextString.applyFont() will be lost.

However you can style cells as a whole. Create a cell style with a superscript
font and pass it to Cell.setCellStyle:

CellStyle style = wb.createStyle();
style.setFont(footnoteFontSuper);

...

cell.setCellStyle(style);


Yegor

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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