Description: LibreOffice Writer have implemented Left-to-right (vertical) direction, but Calc and Impress have no way to use it. Chinese standard GB/T 26233-2010 have related requirements for sheets and presentations in Section 5 and 6. See: http://down.bzwxw.com/21/GB_T 26233-2010.pdf Steps to Reproduce: 1. Open LibreOfficeDev Calc 2. Open Format > Page 3. Open LibreOfficeDev Impress 4. Open Page > Page properties Actual Results: Both Calc and Impress have no entry to use this text direction. Expected Results: Calc and Impress should allow Left-to-right (vertical) direction to be used in sheet and presentation to respect GB/T 26233-2010. Reproducible: Always User Profile Reset: No Additional Info: User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:50.0) Gecko/20100101 Firefox/50.0
Created attachment 129563 [details] Full text of the standard
Let's set to NEW
Suggest report separate issues for Calc and Impress. For Calc, there isn't page setting for vertical writing but there is one for cell format configuration. On the other hand, Impress allows vertical writing text boxes, also there are no setting at page level.
Ok I changed this to be about Calc. Volga can do the rest of the work ;)
(In reply to Buovjaga from comment #4) > Ok I changed this to be about Calc. Volga can do the rest of the work ;) Done.
This can be done via coping related codes from Writer, but we need to break through some technical limits as bug 103720 pointed out.
To solve this problem, the following UNO commands must be introduced firstly. // insert a tb-lr text box <node oor:name=".uno:VerticalLeftToRightText" oor:op="replace"> <prop oor:name="Label" oor:type="xs:string"> <value xml:lang="x-no-translate"></value><value xml:lang="en-US">Vertical Left To Right Text</value> </prop> <prop oor:name="Properties" oor:type="xs:int"> <value>1</value> </prop> </node> // set text direction of textbox to tb-lr <node oor:name=".uno:TextdirectionTopToBottomLeftToRight" oor:op="replace"> <prop oor:name="Label" oor:type="xs:string"> <value xml:lang="en-US">Text direction from top to bottom and left to right</value> </prop> <prop oor:name="Properties" oor:type="xs:int"> <value>1</value> </prop> </node> In case of calc, a new enum constant must be introduced enum SvxCellOrientationEnum { SVX_ORIENTATION_STANDARD, SVX_ORIENTATION_TOPBOTTOM, SVX_ORIENTATION_BOTTOMTOP, - SVX_ORIENTATION_STACKED + SVX_ORIENTATION_STACKED, + + //by aron, for traditional Mongolian + SVX_ORIENTATION_STACKED_LR + // }; Of course it will bring a log lot of coding work to handle the new logic. We have already released a new version of Libreoffice which have a good compatibility with traditional Mongolian. and available on the following link. http://www.mongolfont.com/office/ http://www.delehi.com/cn/products We are considering merging the source code of DelehiOffice to LibreOffice at right timing.
(In reply to aron from comment #7) > We are considering merging the source code of DelehiOffice to LibreOffice at > right timing. You can submit some patches into our Gerrit server: http://gerrit.libreoffice.org
By the time LibreOffice developers announced a new bug hunting session, you will have more chances to contribute your enhancements into LibreOffice. https://wiki.documentfoundation.org/QA/BugHuntingSession
Aron, You can visit our gerrit server [1] (our patch review tool) and send a license statement [2] to the mailing list. [1] https://wiki.documentfoundation.org/Development/gerrit [2] https://wiki.documentfoundation.org/Development/Developers#Example_Code_Contributor_Statement Feel free to contribute. And I hope you can join in our new bug hunting session in 28 April.
In "Alignment" tab of Formatting cells dialog, there is an option "Vertically Stacked / Asian layout mode". Enable it will allow Chinese LTR TTB layout. So maybe this issue can be set to resolved?
Created attachment 171790 [details] Comparing the Text Direction options between three mudules No, not resolved, Calc is still doesn’t have the options needed in the Text Direction dropdown menu.
(In reply to Volga from comment #12) > Created attachment 171790 [details] > Comparing the Text Direction options between three mudules > > No, not resolved, Calc is still doesn’t have the options needed in the Text > Direction dropdown menu. The menu items should be the same as Writer.
Also, there is no choice at the Text Direction from Top to Bottom button. Version: 7.3.5.2 (x86) / LibreOffice Community Build ID: 184fe81b8c8c30d8b5082578aee2fed2ea847c01 CPU threads: 2; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Raster; VCL: win Locale: zh-CN (zh_CN); UI: zh-CN Calc: threaded
Created attachment 188327 [details] Screenshot from LibreOffice 7.5.5.1 This is still happeded in Version: 7.5.5.1 (X86_64) / LibreOffice Community Build ID: 2c5e46c1980ec5241359fd65d751dc518205e7af CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win Locale: zh-CN (zh_CN); UI: zh-CN Calc: threaded
Doesn't look like an RTL/CTL issue; if you disagree - please explain...