diff options
author | Pranav Kant <pranavk@collabora.co.uk> | 2017-01-21 01:03:34 +0530 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2017-02-17 16:48:06 +0100 |
commit | 2f1ab51510e657831916034eba3b96a03d31e2ad (patch) | |
tree | 8944f19bf1eff65c2adf358d0c26fd6e901760c2 /desktop | |
parent | adf4c77b974c060fb287256bbc6d9e7047faa3be (diff) |
lok: Listen for state change events for cell alignment commands
We used to use HorizontalAlignment uno command for cell alignment
both in online and gtktiledviewer. To make things simpler, lets
use separate cell alignment uno commands for spreadsheets like we
have in writer and impres.
Change-Id: I2a959d1892f6b02db7a9ce51d55309216e4b3c6c
Reviewed-on: https://gerrit.libreoffice.org/33444
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
(cherry picked from commit a27e09079596eeae81cced01eaeabf94d6675085)
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/lib/init.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index 29cfe607bbad..93bb799c4fda 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -1339,6 +1339,9 @@ static void doc_iniUnoCommands () OUString sUnoCommands[] = { + OUString(".uno:AlignLeft"), + OUString(".uno:AlignHorizontalCenter"), + OUString(".uno:AlignRight"), OUString(".uno:BackColor"), OUString(".uno:BackgroundColor"), OUString(".uno:Bold"), |