summaryrefslogtreecommitdiff
path: root/include/sfx2
diff options
context:
space:
mode:
authorAkshay Deep <akshaydeepiitr@gmail.com>2017-07-10 16:27:57 +0530
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2017-07-19 10:15:47 +0200
commitf9efee1f87262b0088c249b2c306fb53ca729b53 (patch)
treea7cfddf1a3a3f3681633310c5767f0bb00a05c7b /include/sfx2
parent30f7ce30c92e1add033cdea0a78cea5563758513 (diff)
Favourites feature in Special characters
Change-Id: I8273b95132d48a51e841ec3792139007b4e7b55a Reviewed-on: https://gerrit.libreoffice.org/39752 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'include/sfx2')
-rw-r--r--include/sfx2/charmapcontrol.hxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/sfx2/charmapcontrol.hxx b/include/sfx2/charmapcontrol.hxx
index 643978dc13eb..4855c972bba6 100644
--- a/include/sfx2/charmapcontrol.hxx
+++ b/include/sfx2/charmapcontrol.hxx
@@ -40,14 +40,20 @@ public:
private:
VclPtr<SvxCharView> m_pRecentCharView[16];
+ VclPtr<SvxCharView> m_pFavCharView[16];
std::deque<OUString> maRecentCharList;
std::deque<OUString> maRecentCharFontList;
+ std::deque<OUString> maFavCharList;
+ std::deque<OUString> maFavCharFontList;
VclPtr<Button> maDlgBtn;
- DECL_LINK(RecentClickHdl, SvxCharView*, void);
+ DECL_LINK(CharClickHdl, SvxCharView*, void);
DECL_STATIC_LINK(SfxCharmapCtrl, LoseFocusHdl, Control&, void);
DECL_LINK(OpenDlgHdl, Button*, void);
+ void getFavCharacterList();
+ void updateFavCharControl();
+
void getRecentCharacterList(); //gets both recent char and recent char font list
void updateRecentCharacterList(const OUString& rChar, const OUString& rFont);
void updateRecentCharControl();