LibreOffice Module svx (master)
1
svx
source
styles
CommonStyleManager.cxx
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/*
3
* This file is part of the LibreOffice project.
4
*
5
* This Source Code Form is subject to the terms of the Mozilla Public
6
* License, v. 2.0. If a copy of the MPL was not distributed with this
7
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
*
9
*/
10
11
#include <
svx/CommonStyleManager.hxx
>
12
#include <
CommonStylePreviewRenderer.hxx
>
13
14
namespace
svx
15
{
16
17
std::unique_ptr<sfx2::StylePreviewRenderer>
CommonStyleManager::CreateStylePreviewRenderer
(
18
OutputDevice
& rOutputDev,
SfxStyleSheetBase
* pStyle,
19
tools::Long
nMaxHeight)
20
{
21
return
std::unique_ptr<sfx2::StylePreviewRenderer>(
new
CommonStylePreviewRenderer
(
mrShell
, rOutputDev, pStyle, nMaxHeight));
22
}
23
24
}
// end svx namespace
25
26
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
CommonStyleManager.hxx
CommonStylePreviewRenderer.hxx
SfxStyleSheetBase
sfx2::StyleManager::mrShell
SfxObjectShell & mrShell
svx::CommonStyleManager::CreateStylePreviewRenderer
virtual std::unique_ptr< sfx2::StylePreviewRenderer > CreateStylePreviewRenderer(OutputDevice &rOutputDev, SfxStyleSheetBase *pStyle, tools::Long nMaxHeight) override
Definition:
CommonStyleManager.cxx:17
svx::CommonStylePreviewRenderer
Definition:
CommonStylePreviewRenderer.hxx:31
svx
tools::Long
long Long
OutputDevice
Generated on Sun Jul 30 2023 04:28:17 for LibreOffice Module svx (master) by
1.9.3