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 2005/07/19 22:55:36 UTC

DO NOT REPLY [Bug 35799] New: - New cell in a column that has specific formatting should retain formatting in the cell

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35799>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35799

           Summary: New cell in a column that has specific formatting should
                    retain formatting in the cell
           Product: POI
           Version: 3.0-dev
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HSSF
        AssignedTo: poi-dev@jakarta.apache.org
        ReportedBy: amolweb@yahoo.com


Currently, if an xls file has a column with a non default style applied to it,
then creating a cell in that column causes a cell with default formatting to be
created instead of the cell retaining the formatting of the column.

This is /probably/ because in the HSSFCell contructor we always create a new
cell style. This needs to be changed to first check to see if the corresponding
column has an extended format record associated with it. If an XF record is
present for the column (ie. ColInfoRecord exists spanning the cells column).

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

---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
Mailing List:    http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/