summaryrefslogtreecommitdiff
path: root/include/svx/CommonStyleManager.hxx
blob: a7f2a7ae3ce26d0be44bcefc198dfe783d3398c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */

#ifndef INCLUDED_SVX_COMMONSTYLEMANAGER_HXX
#define INCLUDED_SVX_COMMONSTYLEMANAGER_HXX

#include <sfx2/StyleManager.hxx>
#include <svx/svxdllapi.h>

namespace sfx2 { class StylePreviewRenderer; }

class OutputDevice;
class SfxObjectShell;
class SfxStyleSheetBase;

namespace svx
{

class SVXCORE_DLLPUBLIC CommonStyleManager final : public sfx2::StyleManager
{
public:
    CommonStyleManager(SfxObjectShell& rShell)
        : StyleManager(rShell)
    {}

    virtual std::unique_ptr<sfx2::StylePreviewRenderer> CreateStylePreviewRenderer(
                                            OutputDevice& rOutputDev, SfxStyleSheetBase* pStyle,
                                            tools::Long nMaxHeight) override;
};

} // end namespace svx

#endif // INCLUDED_SVX_COMMONSTYLEMANAGER_HXX

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
mmit/vcl/inc/sft.hxx?id=dacd0e94199f154cac5875ec06430df6947e251b'>Unused codeKhaled Hosny 2016-11-30More dead codeKhaled Hosny 2016-11-22Fix my windows build.Kohei Yoshida 2016-11-22tdf#55469 Consistent line spacing across platformsKhaled Hosny 2016-11-21MinorKhaled Hosny 2016-05-25vcl: replace boost::dynamic_bitset with boost::optional<std::bitset>Michael Stahl 2016-03-10Remove unnecessary typedef (that introduced a reserved identifier)Stephan Bergmann 2016-02-17use consistent #define checks for the Windows platformNoel Grandin 2016-02-16use consistent #define checks for the Windows platformNoel Grandin 2016-01-27vcl: readd include of <vector> into vcl/inc/sft.hxxChris Sherlock 2016-01-27vcl: remove unnecessary includes in sft.hxxChris Sherlock 2016-01-10Fix typosAndrea Gelmini 2016-01-08vcl: document parameter in vertical font functionsChris Sherlock 2016-01-08vcl: document parameters in vcl/inc/sft.hxxChris Sherlock 2015-11-24loplugin:unusedfields in vcl/Noel Grandin 2015-11-17Don't assume sal_Unicode is unsigned shortStephan Bergmann 2015-11-12Windows header sanitizationAshod Nakashian 2015-10-07Make this compile for iOS againTor Lillqvist 2015-10-02loplugin:unusedmethods in vclNoel Grandin 2015-08-21No NO_MAPPERS, NO_TYPE3, NO_TYPE42 or NO_TTCR anywhereTor Lillqvist 2015-06-07Remove include stdio (part8)Julien Nabet 2014-12-20TyposJulien Nabet 2014-11-03coverity#1242806 untrusted pointer readDavid Tardon 2014-04-02Kill superfluous vertical whitespaceTor Lillqvist 2014-02-21Adapt vcl to various loplugin warnings on Mac OS XStephan Bergmann 2014-02-21vcl: sal_Bool -> boolStephan Bergmann 2014-02-05Doxygen warnings correctedChris Sherlock 2014-02-04Revert "Doxygen warnings corrected"Caolán McNamara 2014-02-04Doxygen warnings correctedChris Sherlock 2014-01-17bool improvementsStephan Bergmann 2013-11-01remove nonsense FOLD commentsThomas Arnhold 2013-10-28fixincludeguards.sh: vclThomas Arnhold 2013-03-06check whether font files allow being embedded in documentsLuboš Luňák 2012-11-12re-base on ALv2 code. Includes:Michael Meeks