poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 27333] Cannot clone HSSFCellStyle
Date Mon, 05 Jan 2009 21:59:47 GMT

Josh Micich <josh@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 <josh@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

View raw message