Debian Codegraph @

src/lib/EPUBBodyStyleManager.h

raw
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /*
3 * This file is part of the libepubgen 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 #ifndef INCLUDED_EPUBBODYSTYLEMANAGER_H
11 #define INCLUDED_EPUBBODYSTYLEMANAGER_H
12 #include "EPUBSpanStyleManager.h"
13
14 namespace libepubgen
15 {
16
17 /** EPUBBodyStyleManager manages the body style converted from properties of the page span. */
18 class EPUBBodyStyleManager: public EPUBSpanStyleManager
19 {
20
21 public:
22 //! constructor
23 EPUBBodyStyleManager(std::string classNamePrefix) : EPUBSpanStyleManager(classNamePrefix) {}
24 //! destructor
25 virtual ~EPUBBodyStyleManager() {}
26 protected:
27 //! convert the properties of the page span into a CSS property map. Currently only style:writing-mode is supported.
28 virtual void extractProperties(librevenge::RVNGPropertyList const &pList, EPUBCSSProperties &cssProps) const override;
29 };
30
31 }
32 #endif
33
34 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */