summaryrefslogtreecommitdiffstats
path: root/include/svx/svdmodel.hxx
diff options
context:
space:
mode:
authorSarper Akdemir <sarper.akdemir@collabora.com>2021-07-28 02:03:12 +0300
committerMiklos Vajna <vmiklos@collabora.com>2021-11-17 13:26:45 +0100
commit3171d185f8c17799f0b85f5931aa59101cbc6b4e (patch)
tree76bdf97c13114991a08648cc81c02243f90bef0e /include/svx/svdmodel.hxx
parentretire loplugin:simplifybool (diff)
downloadcore-3171d185f8c17799f0b85f5931aa59101cbc6b4e.tar.gz
core-3171d185f8c17799f0b85f5931aa59101cbc6b4e.zip
make colorsets work outside of styles and with direct formatting
[ Miklos: picked only the document model bits, now in SdrModel, next to styles. ] (cherry picked from commit 1647d34d8573f4940c0cbb7fb6cd9c6b4e5a4a15, from the feature/themesupport2 branch) Change-Id: I80f9e0b205b8b4a6914f851bdc63e3e0ca6706e9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125313 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'include/svx/svdmodel.hxx')
-rw-r--r--include/svx/svdmodel.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/svx/svdmodel.hxx b/include/svx/svdmodel.hxx
index 73fc9f646f43..ab9578a7bc93 100644
--- a/include/svx/svdmodel.hxx
+++ b/include/svx/svdmodel.hxx
@@ -90,6 +90,10 @@ namespace com::sun::star::beans {
struct PropertyValue;
}
+namespace svx
+{
+class Theme;
+}
constexpr const sal_Unicode DEGREE_CHAR = u'\x00B0'; /* U+00B0 DEGREE SIGN */
@@ -536,6 +540,9 @@ public:
SfxStyleSheetBasePool* GetStyleSheetPool() const { return mxStyleSheetPool.get(); }
void SetStyleSheetPool(SfxStyleSheetBasePool* pPool) { mxStyleSheetPool=pPool; }
+ void SetTheme(std::unique_ptr<svx::Theme> pTheme);
+ svx::Theme* GetTheme();
+
void SetStarDrawPreviewMode(bool bPreview);
bool IsStarDrawPreviewMode() const { return m_bStarDrawPreviewMode; }