summaryrefslogtreecommitdiff
path: root/cui/source/factory
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2021-12-14 09:55:45 +0100
committerMiklos Vajna <vmiklos@collabora.com>2021-12-14 11:13:45 +0100
commit64fcf278830a33114f0fa5884767f24edf32cb12 (patch)
treee67b70dadd02ee0b63bd60c29613a916d87f7e2d /cui/source/factory
parentaed4c2d80c2f11b82631c097ed0b15a5cb52283d (diff)
sd: add initial theme UI for master slides
Click Sidebar -> properties -> slide -> master view, then launch the Slide -> Slide properties menu item, this adds a new Theme tab page there. This is just an initial UI, only the theme name can be edited as a start. Change-Id: Ia2faa828c57a0e858881fb8640431f046b5739a8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126798 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'cui/source/factory')
-rw-r--r--cui/source/factory/dlgfact.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/cui/source/factory/dlgfact.cxx b/cui/source/factory/dlgfact.cxx
index bd3130fd0fc7..560548e8066b 100644
--- a/cui/source/factory/dlgfact.cxx
+++ b/cui/source/factory/dlgfact.cxx
@@ -92,6 +92,7 @@
#include <DiagramDialog.hxx>
#include <fileextcheckdlg.hxx>
#include <TextColumnsPage.hxx>
+#include <themepage.hxx>
using namespace ::com::sun::star;
using namespace ::com::sun::star::frame;
@@ -1289,6 +1290,8 @@ CreateTabPage AbstractDialogFactory_Impl::GetTabPageCreatorFunc( sal_uInt16 nId
return SfxMacroTabPage::Create;
case RID_SVXPAGE_TEXTCOLUMNS:
return SvxTextColumnsPage::Create;
+ case RID_SVXPAGE_THEME:
+ return SvxThemePage::Create;
default:
break;
}
@@ -1354,6 +1357,8 @@ GetTabPageRanges AbstractDialogFactory_Impl::GetTabPageRangesFunc( sal_uInt16 nI
return SvxAsianLayoutPage::GetRanges;
case RID_SVXPAGE_TEXTCOLUMNS:
return SvxTextColumnsPage::GetRanges;
+ case RID_SVXPAGE_THEME:
+ return SvxThemePage::GetRanges;
default:
break;
}