diff options
author | Akshay Deep <akshaydeepiitr@gmail.com> | 2016-06-05 05:38:13 +0530 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2016-06-06 09:52:33 +0000 |
commit | ecece54942a8e5f20ae6dc69f25a2499d38c78bd (patch) | |
tree | fd7854f40c81cf0d0a2f51c2e3a64ae54ef22bb0 /include | |
parent | 1efbab1eb4e01ae3116301df861067a2e488c717 (diff) |
Improve Impress Template Selection Dialog
1. Hide controls: export, move, action menu, repository menu, Online Button
2. Checkbox to easily hide the dialog
Change-Id: Id2899edb9ba280c9a714d09fa534f975600b05af
Reviewed-on: https://gerrit.libreoffice.org/25913
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/templatedlg.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sfx2/templatedlg.hxx b/include/sfx2/templatedlg.hxx index 9dadcf837fa4..3affc1b79b93 100644 --- a/include/sfx2/templatedlg.hxx +++ b/include/sfx2/templatedlg.hxx @@ -149,6 +149,7 @@ protected: VclPtr<PushButton> mpExportButton; VclPtr<PushButton> mpImportButton; VclPtr<PushButton> mpLinkButton; + VclPtr<CheckBox> mpCBXHideDlg; VclPtr<ToolBox> mpActionBar; VclPtr<TemplateSearchView> mpSearchView; VclPtr<TemplateAbstractView> mpCurView; @@ -222,9 +223,11 @@ public: virtual short Execute() override; inline OUString const & getTemplatePath() const { return msTemplatePath; }; + inline bool IsStartWithTemplate() const { return mpCBXHideDlg->IsChecked(); }; private: DECL_LINK_TYPED(OpenTemplateHdl, ThumbnailViewItem*, void); + DECL_LINK_TYPED(OkClickHdl, Button*, void); OUString msTemplatePath; }; |