EPUBCSSContent.h Source File documentation

EPUBCSSContent.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_EPUBCSSCONTENT_H
11#define INCLUDED_EPUBCSSCONTENT_H
12
13#include <utility>
14#include <vector>
15
16#include <librevenge/librevenge.h>
17
18namespace libepubgen
19{
20
21class EPUBPackage;
22
23 class EPUBCSSContent
24{
25 typedef std::vector<std::pair<librevenge::RVNGString, librevenge::RVNGPropertyList> > Rules_t;
26
27public:
28 EPUBCSSContent();
29
30 void insertRule(const librevenge::RVNGString &selector, const librevenge::RVNGPropertyList &properties);
31
32 void writeTo(EPUBPackage &package, const char *name);
33
34private:
35 Rules_t m_rules;
36};
37
38}
39
40#endif // INCLUDED_EPUBCSSCONTENT_H
41
42/* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libepubgen::EPUBCSSContent
Definition: EPUBCSSContent.h:24
libepubgen::EPUBCSSContent::insertRule
void insertRule(const librevenge::RVNGString &selector, const librevenge::RVNGPropertyList &properties)
Definition: EPUBCSSContent.cpp:22
libepubgen::EPUBCSSContent::writeTo
void writeTo(EPUBPackage &package, const char *name)
Definition: EPUBCSSContent.cpp:27
libepubgen::EPUBCSSContent::m_rules
Rules_t m_rules
Definition: EPUBCSSContent.h:35
libepubgen::EPUBCSSContent::EPUBCSSContent
EPUBCSSContent()
Definition: EPUBCSSContent.cpp:17
libepubgen::EPUBCSSContent::Rules_t
std::vector< std::pair< librevenge::RVNGString, librevenge::RVNGPropertyList > > Rules_t
Definition: EPUBCSSContent.h:25
libepubgen
Definition: EPUBBinaryContent.cpp:15