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 2010/08/15 18:49:31 UTC

DO NOT REPLY [Bug 49751] New: Cannot get named style name

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

           Summary: Cannot get named style name
           Product: POI
           Version: 3.7-dev
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HSSF
        AssignedTo: dev@poi.apache.org
        ReportedBy: vkorenev@gmail.com


Created an attachment (id=25889)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25889)
A patch fixing this bug.

For some sheets HSSFCellStyle.getUserStyleName() returns nothing for a named
style because of a bug in InternalWorkbook.getStyleRecord(int).

-- 
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


DO NOT REPLY [Bug 49751] Cannot get named style name

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49751

--- Comment #3 from Vladimir Korenev <vk...@gmail.com> 2010-08-18 11:45:42 EDT ---
Created an attachment (id=25907)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25907)
Test program

The output should be:

20% - Accent1
20% - Accent2
20% - Accent3
20% - Accent4
20% - Accent5
20% - Accent6
40% - Accent1
40% - Accent2
40% - Accent3
40% - Accent4
40% - Accent5
40% - Accent6
60% - Accent1
60% - Accent2
60% - Accent3
60% - Accent4
60% - Accent5
60% - Accent6
Accent1
Accent2
Accent3
Accent4
Accent5
Accent6
Bad
Calculation
Check Cell
Explanatory Text
Good
Heading 1
Heading 2
Heading 3
Heading 4
Input
Linked Cell
Neutral
Note
Output
Title
Total
Warning Text

-- 
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


DO NOT REPLY [Bug 49751] Cannot get named style name

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49751

Yegor Kozlov <ye...@dinom.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #4 from Yegor Kozlov <ye...@dinom.ru> 2010-08-19 14:10:32 EDT ---
Applied in r987256, junit added.

Thanks,
Yegor

-- 
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


DO NOT REPLY [Bug 49751] Cannot get named style name

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49751

--- Comment #2 from Vladimir Korenev <vk...@gmail.com> 2010-08-18 11:43:54 EDT ---
Created an attachment (id=25906)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25906)
Test spreadsheet

-- 
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


DO NOT REPLY [Bug 49751] Cannot get named style name

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49751

Nick Burch <ni...@alfresco.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Nick Burch <ni...@alfresco.com> 2010-08-15 17:44:39 EDT ---
Any chance you could upload a file that exhibits this problem, so we can write
a unit test to go with applying the patch to ensure we don't break it again
later?

-- 
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


DO NOT REPLY [Bug 49751] Cannot get named style name

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49751

Vladimir Korenev <vk...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

-- 
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