Thanks Nick...thats what I needed

________________________________

From: Nick Burch-11 [via Apache POI]
[mailto:[email protected]] 
Sent: Thursday, October 20, 2011 6:22 PM
To: Stephen Blackwell
Subject: Re: Multiple text styles in Excel cell


On Thu, 20 Oct 2011, drummond wrote: 
> I would like to be able to make some of the text in a cell *bold*, but

> not the entire cell. Excel allows you to do this...is there any way of

> doing it using poi hssf ? 

The main class you're probably looking for is RichTextString: 
http://poi.apache.org/apidocs/org/apache/poi/ss/usermodel/RichTextString
.html

There's an example of making part of a text cell italic and underlined
in 
this guide entry: 
http://poi.apache.org/spreadsheet/quick-guide.html#DrawingShapes

Nick 

--------------------------------------------------------------------- 
To unsubscribe, e-mail: [hidden email] 
For additional commands, e-mail: [hidden email] 




________________________________

If you reply to this email, your message will be added to the discussion
below:
http://apache-poi.1045710.n5.nabble.com/Multiple-text-styles-in-Excel-ce
ll-tp4922683p4923065.html 
To unsubscribe from Multiple text styles in Excel cell, click here
<http://apache-poi.1045710.n5.nabble.com/template/NamlServlet.jtp?macro=
unsubscribe_by_code&node=4922683&code=c3RlcGhlbi5ibGFja3dlbGxAcmNpLnJvZ2
Vycy5jb218NDkyMjY4M3wtOTUyNzExMDk=> . 


This e-mail (and attachment(s)) is confidential, proprietary, may be subject to 
copyright and legal privilege and no related rights are waived. If you are not 
the intended recipient or its agent, any review, dissemination, distribution or 
copying of this e-mail or any of its content is strictly prohibited and may be 
unlawful. All messages may be monitored as permitted by applicable law and 
regulations and our policies to protect our business. E-mails are not secure 
and you are deemed to have accepted any risk if you communicate with us by 
e-mail. If received in error, please notify us immediately and delete the 
e-mail (and any attachments) from any computer or any storage medium without 
printing a copy.

Ce courriel (ainsi que ses pièces jointes) est confidentiel, exclusif, et peut 
faire l’objet de droit d’auteur et de privilège juridique; aucun droit connexe 
n’est exclu. Si vous n’êtes pas le destinataire visé ou son représentant, toute 
étude, diffusion, transmission ou copie de ce courriel en tout ou en partie, 
est strictement interdite et peut être illégale. Tous les messages peuvent être 
surveillés, selon les lois et règlements applicables et les politiques de 
protection de notre entreprise. Les courriels ne sont pas sécurisés et vous 
êtes réputés avoir accepté tous les risques qui y sont liés si vous choisissez 
de communiquer avec nous par ce moyen. Si vous avez reçu ce message par erreur, 
veuillez nous en aviser immédiatement et supprimer ce courriel (ainsi que 
toutes ses pièces jointes) de tout ordinateur ou support de données sans en 
imprimer une copie. 


--
View this message in context: 
http://apache-poi.1045710.n5.nabble.com/Multiple-text-styles-in-Excel-cell-tp4922683p4924631.html
Sent from the POI - User mailing list archive at Nabble.com.

Reply via email to