summaryrefslogtreecommitdiffstats
path: root/desktop
diff options
context:
space:
mode:
authorDennis Francis <dennis.francis@collabora.com>2020-02-06 12:23:21 +0530
committerJan Holesovsky <kendy@collabora.com>2020-02-10 11:49:54 +0100
commit00e1597c9a8a3451ae4d67ac0d1257c5ccac6a16 (patch)
tree977f39dd5b4d23679161a2fe1129c2b9555a6234 /desktop
parentandroid hunspell: All languages we pack are the supported ones. (diff)
downloadcore-00e1597c9a8a3451ae4d67ac0d1257c5ccac6a16.tar.gz
core-00e1597c9a8a3451ae4d67ac0d1257c5ccac6a16.zip
Allow boolean valued statechange messages for...
object align commands : ObjectAlignLeft [SID_OBJECT_ALIGN_LEFT] ObjectAlignRight [SID_OBJECT_ALIGN_RIGHT] AlignCenter [SID_OBJECT_ALIGN_CENTER] What is pending is to set correct align state items for Impress in DrawViewShell::GetMenuStateSel(). For doing that we need to store the object align state somewhere when we execute SID_OBJECT_ALIGN_* in DrawViewShell::FuTemporary(). For Writer the align state information was already available in frame-format-manager object. Change-Id: I86fcf59cfc66af98097611277201ecaa3b8c22cd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88077 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/lib/init.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 8916065bc273..aa6452e3d2cd 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -2656,7 +2656,10 @@ static void doc_iniUnoCommands ()
OUString(".uno:InsertSymbol"),
OUString(".uno:EditRegion"),
OUString(".uno:ThesaurusDialog"),
- OUString(".uno:Orientation")
+ OUString(".uno:Orientation"),
+ OUString(".uno:ObjectAlignLeft"),
+ OUString(".uno:ObjectAlignRight"),
+ OUString(".uno:AlignCenter")
};
util::URL aCommandURL;