fdo#74697 Add Bluez 5 support for impress remote.
[LibreOffice.git] / writerfilter / source / dmapper / ThemeTable.hxx
blob2f1d83ecb024bebab254e8fa925c4cf97d7ef493
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #ifndef INCLUDED_THEMETABLE_HXX
21 #define INCLUDED_THEMETABLE_HXX
23 #include <WriterFilterDllApi.hxx>
24 #include <resourcemodel/LoggedResources.hxx>
25 #include <com/sun/star/lang/XComponent.hpp>
26 #include <map>
28 namespace writerfilter {
29 namespace dmapper
32 struct ThemeTable_Impl;
34 class WRITERFILTER_DLLPRIVATE ThemeTable : public LoggedProperties, public LoggedTable
36 ThemeTable_Impl *m_pImpl;
38 public:
39 ThemeTable();
40 virtual ~ThemeTable();
42 const OUString getFontNameForTheme(const Id id) const;
44 private:
45 // Properties
46 virtual void lcl_attribute(Id Name, Value & val);
47 virtual void lcl_sprm(Sprm & sprm);
49 // Table
50 virtual void lcl_entry(int pos, writerfilter::Reference<Properties>::Pointer_t ref);
52 typedef boost::shared_ptr< ThemeTable > ThemeTablePtr;
55 #endif //
57 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */