1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
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/.
12 #include <cppuhelper/implbase.hxx>
14 #include <com/sun/star/util/XTheme.hpp>
16 #include <docmodel/dllapi.h>
23 class DOCMODEL_DLLPUBLIC UnoTheme final
: public cppu::WeakImplHelper
<css::util::XTheme
>
26 std::shared_ptr
<model::Theme
> mpTheme
;
29 UnoTheme(std::shared_ptr
<model::Theme
> const& pTheme
)
34 std::shared_ptr
<model::Theme
> const& getTheme() const { return mpTheme
; }
37 OUString SAL_CALL
getName() override
;
38 css::uno::Sequence
<sal_Int32
> SAL_CALL
getColorSet() override
;
41 namespace model::theme
43 DOCMODEL_DLLPUBLIC
css::uno::Reference
<css::util::XTheme
>
44 createXTheme(std::shared_ptr
<model::Theme
> const& pTheme
);
46 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */