https://bugs.documentfoundation.org/show_bug.cgi?id=104606
--- Comment #7 from aron <[email protected]> ---
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.
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs