diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-10-23 15:30:51 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-10-23 21:51:39 +0200 |
commit | 12eb32fccec16a436a6c3eca725b9d6d449f8e19 (patch) | |
tree | f57507d003ef927e311bc877569839afd68943ae /include | |
parent | 00d06dee4b77cf52c927bd2c8687bb1a8d6c7904 (diff) |
Resolves: tdf#128313 disambiguate flow-to search results
for a11y between find/replace where our result is a single thing, and
find-all/replace-all where the result is potentially many things, which allows
that searching in a selected calc column will flow-to the current cell, not the
entire ~infinite set of cells in the column
Change-Id: Ib3e56fceb90d869f157427f090cdffe986a5a588
Reviewed-on: https://gerrit.libreoffice.org/81396
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/comphelper/accflowenum.hxx | 3 | ||||
-rw-r--r-- | include/svx/srchdlg.hxx | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/include/comphelper/accflowenum.hxx b/include/comphelper/accflowenum.hxx index c34b42e277cf..fc6b7ea2d8ec 100644 --- a/include/comphelper/accflowenum.hxx +++ b/include/comphelper/accflowenum.hxx @@ -25,7 +25,8 @@ enum AccessibilityFlowTo : sal_Int32 { FORSPELLCHECKFLOWTO = 1, - FORFINDREPLACEFLOWTO = 2 + FORFINDREPLACEFLOWTO_ITEM = 2, + FORFINDREPLACEFLOWTO_RANGE = 3 }; #endif // INCLUDED_COMPHELPER_ACCFLOWENUM_HXX diff --git a/include/svx/srchdlg.hxx b/include/svx/srchdlg.hxx index 3e3a73f92815..1a613f913554 100644 --- a/include/svx/srchdlg.hxx +++ b/include/svx/srchdlg.hxx @@ -23,6 +23,7 @@ #include <sfx2/basedlgs.hxx> #include <svl/poolitem.hxx> #include <svl/srchdefs.hxx> +#include <svl/srchitem.hxx> #include <svx/svxdllapi.h> #include <memory> #include <vector> @@ -125,7 +126,7 @@ public: TransliterationFlags GetTransliterationFlags() const; - void SetDocWin(vcl::Window* pDocWin); + void SetDocWin(vcl::Window* pDocWin, SvxSearchCmd eCommand); void SetSrchFlag( bool bSuccess ) { mbSuccess = bSuccess; } bool GetSrchFlag() const { return mbSuccess; } void SetSaveToModule(bool b); |