EPUBBodyStyleManager.h Source File documentation

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
18 class EPUBBodyStyleManager: public EPUBSpanStyleManager
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: */
libepubgen
Definition: EPUBBinaryContent.cpp:15
libepubgen::EPUBBodyStyleManager
EPUBBodyStyleManager manages the body style converted from properties of the page span.
Definition: EPUBBodyStyleManager.h:19
libepubgen::EPUBCSSProperties
std::map< std::string, std::string > EPUBCSSProperties
Definition: EPUBCSSProperties.h:21
libepubgen::EPUBBodyStyleManager::~EPUBBodyStyleManager
virtual ~EPUBBodyStyleManager()
destructor
Definition: EPUBBodyStyleManager.h:25
libepubgen::EPUBSpanStyleManager
Small class to manage the span style.
Definition: EPUBSpanStyleManager.h:31
EPUBBodyStyleManager.h
EPUBSpanStyleManager.h
libepubgen::EPUBBodyStyleManager::EPUBBodyStyleManager
EPUBBodyStyleManager(std::string classNamePrefix)
constructor
Definition: EPUBBodyStyleManager.h:23
libepubgen::EPUBBodyStyleManager::extractProperties
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