summaryrefslogtreecommitdiffstats
path: root/sw/inc/dbui.hrc
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2015-12-30 00:00:37 +0100
committerJan Holesovsky <kendy@collabora.com>2016-03-16 14:55:59 +0100
commit4af2dfa4d01e93bad97155ab58a23e71d17204a4 (patch)
treead0483bffb4f34b3d792ccf5469948a8a0329699 /sw/inc/dbui.hrc
parentmailmerge: Kill the "Personalize document" mail merge wizard page. (diff)
downloadcore-4af2dfa4d01e93bad97155ab58a23e71d17204a4.tar.gz
core-4af2dfa4d01e93bad97155ab58a23e71d17204a4.zip
mailmerge: Implement toolbar controller to exclude entries.
This can be used as a "How to implement a custom widget / control in the toolbar" example: * the Controller.xcu change introduces a .uno:MailMergeExcludeEntry command so that it can be added in the toolbar .xml description (in this case mailmerge.xml) * the swriter.sdi introduces the .uno:MailMergeExcludeEntry command for the sfx2 handling - so that it can get notifications about enable/disable changes, invalidates, etc. * wrtapp.sdi + associated apphdl.cxx change make it possible to forward command invalidates (the rBindings.Invalidate(FN_MAILMERGE_EXCLUDE_ENTRY);) to the MMExcludeEntryController::statusChanged() for further handling (in this case setting the checked state according to the current data) * MMExcludeEntryController::createItemWindow() implements the custom widget itself (in this case a checkbox, but can be any VCL widget, even a custom one) * the rest (sw.component and the associated getImplementationName(), supportsService(), etc.) takes care of the instantiation of the controller. Change-Id: I68269538f779a6680b0ba98395b7985d3f1ab95a
Diffstat (limited to 'sw/inc/dbui.hrc')
-rw-r--r--sw/inc/dbui.hrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/dbui.hrc b/sw/inc/dbui.hrc
index 8aeb2c7c509a..9bb616852b86 100644
--- a/sw/inc/dbui.hrc
+++ b/sw/inc/dbui.hrc
@@ -81,7 +81,7 @@
#define ST_LAYOUT (RC_DBUI_BEGIN + 56)
#define ST_PREPAREMERGE (RC_DBUI_BEGIN + 57)
#define ST_MERGE (RC_DBUI_BEGIN + 58)
-#define ST_OUTPUT (RC_DBUI_BEGIN + 59)
+#define ST_EXCLUDE (RC_DBUI_BEGIN + 59)
#define ST_FINISH (RC_DBUI_BEGIN + 60)
#define ST_ADDRESSLIST (RC_DBUI_BEGIN + 61)