You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2009/01/05 22:59:47 UTC

DO NOT REPLY [Bug 27333] Cannot clone HSSFCellStyle

https://issues.apache.org/bugzilla/show_bug.cgi?id=27333


Josh Micich <jo...@gildedtree.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED
            Summary|HSSFCellStyle does not      |Cannot clone HSSFCellStyle
                   |implement Cloneable         |




--- Comment #4 from Josh Micich <jo...@gildedtree.com>  2009-01-05 13:59:46 PST ---
It looks like HSSFCellStyle.cloneStyleFrom(CellStyle) has the desired
functionality.  This was added in svn r676205 ( https://svn.apache.org/viewcvs.cgi?view=rev&rev=676205 )(prior to release 3.1.1-alpha1).

Implementing Cloneable was probably decided against because cloning styles
involves some updates to the workbook and other objects, and that might be
considered beyond the expected complexity of Object.clone().

Please re-open this bug if the new method does not work as expected.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org