summaryrefslogtreecommitdiff
path: root/sdext/source/presenter/PresenterTheme.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sdext/source/presenter/PresenterTheme.hxx')
-rw-r--r--sdext/source/presenter/PresenterTheme.hxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/sdext/source/presenter/PresenterTheme.hxx b/sdext/source/presenter/PresenterTheme.hxx
index 1d4e334db78d..cde59fe350ba 100644
--- a/sdext/source/presenter/PresenterTheme.hxx
+++ b/sdext/source/presenter/PresenterTheme.hxx
@@ -108,6 +108,14 @@ public:
css::uno::Reference<css::rendering::XCanvasFont> mxFont;
bool PrepareFont (const css::uno::Reference<css::rendering::XCanvas>& rxCanvas);
+
+ private:
+ css::uno::Reference<css::rendering::XCanvasFont> CreateFont (
+ const css::uno::Reference<css::rendering::XCanvas>& rxCanvas,
+ const double nCellSize) const;
+ double GetCellSizeForDesignSize (
+ const css::uno::Reference<css::rendering::XCanvas>& rxCanvas,
+ const double nDesignSize) const;
};
typedef ::boost::shared_ptr<FontDescriptor> SharedFontDescriptor;