Nope, you cannot do that. All you are doing is creating what is known as an
alias, where two different variables actaully refer to the same object.

What you need to do is create a deep copy or clone (hint!!! Look through the
javadoc for the CellStyle class) of the original object and modify that.

Yours

Mark B
-- 
View this message in context: 
http://apache-poi.1045710.n5.nabble.com/Reusing-of-Fonts-and-CellStyles-tp3373245p3373895.html
Sent from the POI - User mailing list archive at Nabble.com.

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

Reply via email to