summaryrefslogtreecommitdiff
path: root/sc/source/ui/sidebar
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2013-06-05 12:05:17 +0200
committerJan Holesovsky <kendy@suse.cz>2013-06-05 18:32:57 +0200
commite9cfaf1d29c66157b3bdc4bd4278cd3b5c90a29c (patch)
treedfcef7eaf0426eb0aff3fa359f2ffa14c1a2365d /sc/source/ui/sidebar
parentd14933447c6e9a94a341d5385ada59ec322748bd (diff)
sidebar conversion tutorial: Introduce action commands in the .ui and .cxx.
We will address the toolbox buttons in the .ui via the string constants. Change-Id: I86dc101276de0d5487de3feb772381b76880dd23
Diffstat (limited to 'sc/source/ui/sidebar')
-rw-r--r--sc/source/ui/sidebar/AlignmentPropertyPanel.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx b/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx
index 4edabc5b134d..8fd2ae9ee667 100644
--- a/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx
+++ b/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx
@@ -36,6 +36,14 @@ using namespace css;
using namespace cssu;
using ::sfx2::sidebar::ControlFactory;
+const char UNO_ALIGNBLOCK[] = ".uno:AlignBlock";
+const char UNO_ALIGNBOTTOM[] = ".uno:AlignBottom";
+const char UNO_ALIGNLEFT[] = ".uno:AlignLeft";
+const char UNO_ALIGNHORIZONTALCENTER[] = ".uno:AlignHorizontalCenter";
+const char UNO_ALIGNRIGHT[] = ".uno:AlignRight";
+const char UNO_ALIGNTOP[] = ".uno:AlignTop";
+const char UNO_ALIGNVCENTER[] = ".uno:AlignVCenter";
+
#define A2S(pString) (::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(pString)))
//////////////////////////////////////////////////////////////////////////////