EPUBBodyStyleManager.h
Go to the documentation of this file.
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 
19 {
20 
21 public:
23  EPUBBodyStyleManager(std::string classNamePrefix) : EPUBSpanStyleManager(classNamePrefix) {}
25  virtual ~EPUBBodyStyleManager() {}
26 protected:
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: */
Small class to manage the span style.
Definition: EPUBSpanStyleManager.h:30
Definition: EPUBBinaryContent.cpp:14
EPUBBodyStyleManager(std::string classNamePrefix)
constructor
Definition: EPUBBodyStyleManager.h:23
virtual void extractProperties(librevenge::RVNGPropertyList const &pList, EPUBCSSProperties &cssProps) const override
convert the properties of the page span into a CSS property map. Currently only style:writing-mode is...
Definition: EPUBBodyStyleManager.cpp:17
std::map< std::string, std::string > EPUBCSSProperties
Definition: EPUBCSSProperties.h:21
virtual ~EPUBBodyStyleManager()
destructor
Definition: EPUBBodyStyleManager.h:25
EPUBBodyStyleManager manages the body style converted from properties of the page span...
Definition: EPUBBodyStyleManager.h:18

Generated for libepubgen by doxygen 1.8.14