Unfortunately, this data just isn't exposed in the usermodel. > -----Original Message----- > From: Andreas Schildbach [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 21, 2003 10:08 AM > To: [EMAIL PROTECTED] > Subject: Question: How to get ranged font styles from string cells? > > > Hello everybody, > > I asked this question in poi-user, but nobody seemed to know > an answer. > Could you help, please? > > I need to read font styles (bold, superscript, subscript) > from HSSFCells. > > HSSFFont font = > workbook.getFontAt(cell.getCellStyle().getFontIndex()); > > returns the style that was set for the whole cell, but my > workbook also > contains string cells that have certain styles applied only > on specific > ranges of the cell's string value ("this text is in > <b>bold</b> and this is > <i>italic</i>").
----- Confidential Information The information in this e-mail message (including any attachments) is privileged and confidential information intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
