DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27333>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27333 HSSFCellStyle does not implement Cloneable [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WONTFIX | ------- Additional Comments From [EMAIL PROTECTED] 2004-03-02 09:43 ------- Sorry Andy, I made a mistake with my original request. You are right that there is no point in cloning a reference. What I needed to achieve is a deep copy of the HSSFCellStyle which I mistakenly thought implementing the clone method would do (sorry my mistake). I have successfully implemented a deep copy via serialisation of the HSSFCellStyle object. However to do this I have had to make the following classes implement the "java.io.Serializable" class: org.apache.poi.hssf.usermodel.HSSFCell org.apache.poi.hssf.usermodel.HSSFCellStyle org.apache.poi.hssf.record.Record The last class "org.apache.poi.hssf.record.Record" I altered so that all Record sub-classes would also be serialisable as a result although the only class in the "org.apache.poi.hssf.record" package I actually needed to be serialisable for my purposes is "org.apache.poi.hssf.record.ExtendedFormatRecord". Would it be acceptable to add these changes to the next release, again it is very little work and would be a great help to me. Cheers, Tim --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
