Date: prev next · Thread: first prev next last
2014 Archives by date, by thread · List index


Hi Aron,

On Thu, Nov 20, 2014 at 07:58:49PM +0900, Aronsoyol Qi <aronsoyol.lo@gmail.com> wrote:
I want to insert a text box which can show vertical text in writter. But It
seems like that there is no options for vertical direction text (tb-lr and
tb-rl)in the combo box in frame’s setting dilaog, just likes the screen
shot below.

[image: 埋め込み画像 3][image: 埋め込み画像 1]

It seems like this dialog’s source is

sw\source\ui\frmdlg\frmpage.cxx

sw\uiconfig\swriter\ui\frmaddpage.ui

But how to insert the entry into the combo box?

Yes, seems the UI is more limited than the internal enum in this case.
The full list of internally supported values are at

http://api.libreoffice.org/docs/idl/ref/namespacecom_1_1sun_1_1star_1_1text_1_1WritingMode2.html

I think you found the right files to add a new entry -- for editing .ui
files, see here:

https://wiki.documentfoundation.org/Development/WidgetLayout

After you're dong with editing your cxx and ui files, you can do 'make
sw' to build and copy them to instdir, and instdir/program/soffice
should reflect your changes.

Regards,

Miklos

Attachment: signature.asc
Description: Digital signature


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.