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

Generated for libepubgen by doxygen 1.8.14