Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | Vertical Text has a wrong position when change its direction | ||
---|---|---|---|
Product: | Impress | Reporter: | amy2008 <amy2008> |
Component: | code | Assignee: | clippka |
Status: | CLOSED IRREPRODUCIBLE | QA Contact: | issues@graphics <issues> |
Severity: | Trivial | ||
Priority: | P3 | CC: | issues, ooo.redflag, zhuangyuelin |
Version: | DEV300m58 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Latest Confirmation in: | --- |
Developer Difficulty: | --- | ||
Issue Depends on: | |||
Issue Blocks: | 84405 | ||
Attachments: |
Description
amy2008
2009-09-16 06:53:40 UTC
Reproducible. Reassigned. This actually works as designed. The paragraph text alignment aligns paragraph in relation to each other. If all paragraphs have the same length it does not matter if the alignment is left or right. What you are looking for is the text anchor where you can align the text area in relation to the shapes size. I know this is confusing but it is caused by the fact that a text shape is just a shape with no filling so it has all features that a circle or rectangle would have and that includes the feature of having a text area that can be anchored inside the shape. This is only visible in presentation shapes like title or outline because the default text shape is never bigger than the text contained. In that case the text anchor does not matter. closing Hi cl, Are you sure you commented on the right issue? or maybe you missunderstand the description, because there are some issues in it. First, this is not a "presentation issue", I think the component should be "framework" or "drawing". Because it works well in drawing, So I choose component "framework". And, the description, I modify it as follow: 1. Insert a vertical text in OOo Document(any application other than drawing) 2. Input several lines of texts in it 3. click "Text direction from left to right" in the toolbar Result: The editing area is restricted to to right top conner of the text frame. In fact, the alignment buttons works well, just the position of the text is not correct. @wg: What do you think of it? Hi zhulihua, please do not reopen issues to report different bugs. The bug described by amy was about the presentation layout vertical text. Your new descriptions also does not show a bug, the text anchor for a vertical text box is top-right so OOo is correct. If you want the text to be at top-left you have to change the text anchor. please do not use framework as a project for issues in presentation (which is for presentation documents) or drawing (which is for issues only available in drawing documents but also for issues with shapes in other applications) closing. Please all note that text anchor, paragraph alignment and text direction are three independent features. Just because you change one do not expect the others to behave different than before. Hi cl, This issue I described is the one amy2008 reported. I discussed this with her. The original describe have some mistakes, so I corrected it. The issue have nothing to do with outline or layout or alignment. if you use "vertical text", the issue will show up. I agree with you that the text anchor is top-righted, but why can't we change it automatically to top-left when we click "Text direction from left to right"? Just like Draw does. You can see this works well in Draw. And it's more intuitive to the users. And can make the application correspond with each other. Since this issue reproduces in all the module beside Draw, so I choose framework. It's not a issue only in presentation. Please reconsider, if you can confirm, maybe I need file another issue about this, because there are mistakes in the original description. draw and impress have the same behavior. The difference is that vertical text boxes have the default text anchor top right in impress and right with full width in draw. If text direction is switched from vertical to horizontal then the text anchor switches left or right to top or bottom. For some reasons I don't know it does not switch the corner settings like top right. I'm no export on text and sure not on complex text so I can't tell why it was decided that the defaults for vertical text boxes are different in draw and impress. Also I don't know why the switching behavior is the way it is. I will not change anything here except someone can explain to me why it should be changed.. Hi cl, Thanks for the information. Yes, you are right. The real reason is the anchor. In Draw, the anchor changed to a right place after we change the direction. But in other applications, the anchors don't change. They remain to stay at the original place. Created attachment 64826 [details]
original vertical text
Created attachment 64827 [details]
we changed the direction of text, but anchor didn't change. so it looks like this, the left side of the frame is blank. This is not intuitive.
Created attachment 64828 [details]
While Draw changed the anchor by 90 degree CCW. This is intuitive to users.
All the applications should work as Draw does. And I just found, changing text direction in a Horizon Text, the anchor changed 90 degree CW. I think this is the right behavior. |