diff options
author | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2010-02-19 22:40:09 +0100 |
---|---|---|
committer | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2010-02-19 22:40:09 +0100 |
commit | dabd58773267c42a03cfa6c10ddf76944a40ef38 (patch) | |
tree | f7d0473745f22a7045e8825cc3ee4e4bac35162a /svx/source/inc/fmshimp.hxx | |
parent | a0c5d9c462f98ef6065e5ca31bf25d773bc4d6ad (diff) |
dba33f: use Ctrl-F5 to toggle the focus between a control and the document. At least in Writer.
In this course, SID_FM_GRABCONTROLFOCUS has been renamed to SID_FM_TOGGLECONTROLFOCUS (with the UNO slot name also
being affected.).
Also, now Writer handles the SID_FM_TOGGLECONTROLFOCUS slot (instead of the FmFormShell), and calls the newly
introduced ToggleControlFocus at the FmFormShell.
A part of SwFEShell::GotoObj has been outsourced into SwFEShell::GetBestObject, which now can deliver the
object (not only object group) of the given type, which is neares to the current position.
Diffstat (limited to 'svx/source/inc/fmshimp.hxx')
-rw-r--r-- | svx/source/inc/fmshimp.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/svx/source/inc/fmshimp.hxx b/svx/source/inc/fmshimp.hxx index 35a00ccf7427..b61f64ea4f88 100644 --- a/svx/source/inc/fmshimp.hxx +++ b/svx/source/inc/fmshimp.hxx @@ -508,6 +508,9 @@ public: // if the form belongs to the controller (extern) displaying a grid, the according internal form will // be displayed, _xForm else + // check if the current control of the active controler has the focus + bool HasControlFocus() const; + private: DECL_LINK(OnFoundData, FmFoundRecordInformation*); DECL_LINK(OnCanceledNotFound, FmFoundRecordInformation*); |