Thank you very much, I think this will work ;)
On Jul 12, 2008, at 8:08 PM, Nick Burch wrote:

On Sat, 12 Jul 2008, Antoni Segura Puimedon wrote:
What I would like to know is if there is any way I can use two different styles in one cell so I can highlight just the words responsible for the mismatch since it would greatly improve the readability of the documents my application generates.

The way this is done in the excel file format is via Rich Text Strings. These can have differing formatting rules applied to different parts of them

http://poi.apache.org/apidocs/org/apache/poi/hssf/usermodel/HSSFRichTextString.html
http://poi.apache.org/apidocs/org/apache/poi/hssf/usermodel/HSSFCell.html#setCellValue(org.apache.poi.hssf.usermodel.HSSFRichTextString)

Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to