summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-06-08 14:26:49 +0900
committerTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-07-17 08:50:39 +0900
commit76360c8de7bf6f0baef9c0440a2f721f15cc1564 (patch)
tree0e519559e7c01cb2e0dc742cb879e0c30e724435 /include
parent210f42a318cbac62de835ccacbc1fc0e36f713f6 (diff)
create the stlye preview renderer with style as parameter
Change-Id: Ie191467305279253f165f13980c125f6b7b9fdde
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/StyleManager.hxx4
-rw-r--r--include/svx/CommonStyleManager.hxx4
2 files changed, 8 insertions, 0 deletions
diff --git a/include/sfx2/StyleManager.hxx b/include/sfx2/StyleManager.hxx
index 962fbb967e47..badc39caea3c 100644
--- a/include/sfx2/StyleManager.hxx
+++ b/include/sfx2/StyleManager.hxx
@@ -38,6 +38,10 @@ public:
virtual StylePreviewRenderer* CreateStylePreviewRenderer(
OutputDevice& rOutputDev, OUString const & rName,
SfxStyleFamily eFamily, long nMaxHeight = 32) = 0;
+
+ virtual StylePreviewRenderer* CreateStylePreviewRenderer(
+ OutputDevice& rOutputDev, SfxStyleSheetBase* pStyle,
+ long nMaxHeight = 32) = 0;
};
} // end namespace sfx2
diff --git a/include/svx/CommonStyleManager.hxx b/include/svx/CommonStyleManager.hxx
index 0ce0a3de21fc..1fc22a60d1e8 100644
--- a/include/svx/CommonStyleManager.hxx
+++ b/include/svx/CommonStyleManager.hxx
@@ -32,6 +32,10 @@ public:
virtual sfx2::StylePreviewRenderer* CreateStylePreviewRenderer(
OutputDevice& rOutputDev, OUString const & rName,
SfxStyleFamily eFamily, long nMaxHeight = 32) SAL_OVERRIDE;
+
+ virtual sfx2::StylePreviewRenderer* CreateStylePreviewRenderer(
+ OutputDevice& rOutputDev, SfxStyleSheetBase* pStyle,
+ long nMaxHeight = 32) SAL_OVERRIDE;
};
} // end namespace svx