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/06/29 19:17:25 UTC

DO NOT REPLY [Bug 49524] New: add vertical text orientation method

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

           Summary: add vertical text orientation method
           Product: POI
           Version: 3.7-dev
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: HSSF
        AssignedTo: dev@poi.apache.org
        ReportedBy: charlie.chang5@merck.com


Created an attachment (id=25660)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25660)
screen shot

in excel, there's an option to let text go vertically
(Format->Cell->Alignment->Orientation), ie:

T
E
X
T

this option is especially helpful for Asian Text.  The setRotation() method in
HSSFCellStyle does NOT quite do the trick.  it would be nice if future POI HSSF
can include a method to set text vertically.

-- 
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 49524] add vertical text orientation method

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

charlie.chang5@merck.com changed:

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

--- Comment #4 from charlie.chang5@merck.com 2010-07-16 12:24:55 EDT ---
information added.  2 excel files as attachments.  thanks alot for the
response.

-- 
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 49524] add vertical text orientation method

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

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

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

--- Comment #1 from Nick Burch <ni...@alfresco.com> 2010-07-16 12:09:59 EDT ---
Could you please upload two simple files, created in excel?

One is a file with one sheet, one row. Two cells, both with the same text in
them, and both in the normal direction

Then, save-as that file, rotate the text in one cell but not the other, and
save that.

If you could upload those two files, we'll have something to work off to spot
how excel does it, and something to unit test against

-- 
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 49524] add vertical text orientation method

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

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

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

--- Comment #5 from Nick Burch <ni...@alfresco.com> 2010-07-18 14:01:56 EDT ---
Thanks for the test files, they showed the trick

Now fixed in r965267. You can now do cellStyle.setRotation(0xff) to request
vertically orientated 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 49524] add vertical text orientation method

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

--- Comment #2 from charlie.chang5@merck.com 2010-07-16 12:21:29 EDT ---
Created an attachment (id=25772)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25772)
normal text

One is a file with one sheet, one row. Two cells, both with the same text in
them, and both in the normal direction

-- 
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 49524] add vertical text orientation method

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

--- Comment #3 from charlie.chang5@merck.com 2010-07-16 12:22:54 EDT ---
Created an attachment (id=25773)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25773)
rotated text (vertical)

Then, save-as that file, rotate the text in one cell but not the other, and
save that.

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