diff options
author | Muhammet Kara <muhammet.kara@pardus.org.tr> | 2017-11-27 21:10:21 +0300 |
---|---|---|
committer | Katarina Behrens <Katarina.Behrens@cib.de> | 2017-12-04 09:28:01 +0100 |
commit | 3f2915c40fcc42ac91f2019fd506bfbdd1e5933f (patch) | |
tree | 4504711f2a3008b80d0d2c040b60f36289f60bd2 /cui/inc/strings.hrc | |
parent | 32fd735a6a30a8e552488f78a1577755a0e3db3d (diff) |
tdf#112207: Allow assigning macros to ui elements
* Adds "Macros" category to the categories list
* Search/filter feature now works also on the macros category
* Since macros category has multiple trees and subtrees, and many leaf
elements (macros). I chose to implement the behavior like this:
If there is no filter/search term, the trees will be presented as in the old
macro selector dialog (collapsed), but if user types a search term, then
filtering happens: non-matching elements and empty containers/(sub)trees
are removed and everything is expanded so that user easily sees what
(s)he is looking for.
Change-Id: I1a93f156a7293c7e61baac882a10ff631961e2af
Reviewed-on: https://gerrit.libreoffice.org/44938
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Heiko Tietze <tietze.heiko@googlemail.com>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'cui/inc/strings.hrc')
-rw-r--r-- | cui/inc/strings.hrc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cui/inc/strings.hrc b/cui/inc/strings.hrc index 18ea70bd6f4e..16db3c213f71 100644 --- a/cui/inc/strings.hrc +++ b/cui/inc/strings.hrc @@ -89,8 +89,10 @@ #define RID_SVXSTR_ERR_TEXTNOTFOUND NC_("RID_SVXSTR_ERR_TEXTNOTFOUND", "No alternatives found.") #define RID_SVXSTR_SELECT_FILE_IFRAME NC_("RID_SVXSTR_SELECT_FILE_IFRAME", "Select File for Floating Frame") #define RID_SVXSTR_ALLFUNCTIONS NC_("RID_SVXSTR_ALLFUNCTIONS", "All categories") +#define RID_SVXSTR_MACROS NC_("RID_SVXSTR_MACROS", "Macros") #define RID_SVXSTR_MYMACROS NC_("RID_SVXSTR_MYMACROS", "My Macros") #define RID_SVXSTR_PRODMACROS NC_("RID_SVXSTR_PRODMACROS", "%PRODUCTNAME Macros") +#define RID_SVXSTR_NOMACRODESC NC_("RID_SVXSTR_NOMACRODESC", "There is no description available for this macro.") #define RID_SVXSTR_SELECTOR_ADD_COMMANDS NC_("RID_SVXSTR_SELECTOR_ADD_COMMANDS", "Add Commands") #define RID_SVXSTR_SELECTOR_RUN NC_("RID_SVXSTR_SELECTOR_RUN", "Run") #define RID_SVXSTR_ROW NC_("RID_SVXSTR_ROW", "Insert Rows") |