diff options
author | Akshay Deep <akshaydeepiitr@gmail.com> | 2016-05-27 17:13:27 +0530 |
---|---|---|
committer | Akshay Deep <akshaydeepiitr@gmail.com> | 2016-05-30 17:36:37 +0000 |
commit | 9386b652f1cb0d5ab696ac81d1e9a01eafce96aa (patch) | |
tree | 21fc152cb8ed2f21328d566909b8a1809d0e79ae /include | |
parent | 800920a7b0600b1677d231c514345fe9f6687d82 (diff) |
Template Manager: Option to rename category
Change-Id: I7a9a0a42afbf5f8a293a130a0b84e72a54540579
Reviewed-on: https://gerrit.libreoffice.org/25539
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
(cherry picked from commit 37b4163ce16a6171bd25653494e58bc03daedc2b)
Reviewed-on: https://gerrit.libreoffice.org/25544
Reviewed-by: Akshay Deep <akshaydeepiitr@gmail.com>
Tested-by: Akshay Deep <akshaydeepiitr@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/templatedlg.hxx | 1 | ||||
-rw-r--r-- | include/sfx2/templatelocalview.hxx | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/sfx2/templatedlg.hxx b/include/sfx2/templatedlg.hxx index bdae55693f76..440c15392828 100644 --- a/include/sfx2/templatedlg.hxx +++ b/include/sfx2/templatedlg.hxx @@ -97,6 +97,7 @@ private: void OnTemplateState (const ThumbnailViewItem *pItem); void OnCategoryNew (); + void OnCategoryRename(); void OnCategoryDelete(); void OnRegionState (const ThumbnailViewItem *pItem); diff --git a/include/sfx2/templatelocalview.hxx b/include/sfx2/templatelocalview.hxx index 1cfc8d86f285..304102ef73bd 100644 --- a/include/sfx2/templatelocalview.hxx +++ b/include/sfx2/templatelocalview.hxx @@ -70,6 +70,8 @@ public: virtual sal_uInt16 createRegion (const OUString &rName) override; + bool renameRegion(const OUString &rTitle, const OUString &rNewTitle); + bool removeRegion (const sal_uInt16 nItemId); bool removeTemplate (const sal_uInt16 nItemId, const sal_uInt16 nSrcItemId); |