/source/sw-TZ/writerperfect/

>
summaryrefslogtreecommitdiff
path: root/sw/util
AgeCommit message (Collapse)Author
2016-03-18mailmerge: Toolbar edit box to show or change the current entry number.Jan Holesovsky
Change-Id: I935c059da44f2309c3cb1a8b2e93341c353bee01
2016-03-18mailmerge: Implement toolbar controller to exclude entries.Jan Holesovsky
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
2015-03-12Clean up previous commitStephan Bergmann
Change-Id: I76dbe81308a9a12a04d77a794bb1d11bfb2d5125
2015-03-12sw: further components converted to constructor methodChris Sherlock
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, with fixes for: * copy missing parts from SwXAutoTextContainer_createInstance to SwXAutoTextContainer_get_implementation * include (dummy) SwXMailMerge_get_implementation if !HAVE_FEATURE_DBCONNECTIVITY Change-Id: I36f5b5cad42bda55139bdf96d9a0621dc5ec2419
2015-02-26Clean up previous commitStephan Bergmann
Change-Id: I754ac95c851892bdf7630d6f6241ed86f3750cf1
2015-02-26sw: convert swd.component to constructor usageChris Sherlock
Whilst we are about it, need to expand the macro SFX_DECL_XSERVICEINFO_NOFACTORY and remove the impl_createInstance function. Also removed factory parameter from constructor as not needed. Change-Id: I400274fa9aaaa95be1c9929bce9dd6f25c780196 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2015-02-26sw: convert SwWebDocument & SwGlobalDocument components to use constructorChris Sherlock
Change-Id: Ib59fa91eb9d32ea437c182d3c0f3b9348816bf7b Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2015-02-25sw: convert import & export components to constructor usageChris Sherlock
Change-Id: I15b64f874f72715cea04f656e1b883c6cf45a86c Signed-off-by: Stephan Bergmann <sbergman@redhat.com>