EPUBPageElements.h Source File documentation

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

EPUBPageElements.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_EPUBPAGEELEMENTS_H
11 #define INCLUDED_EPUBPAGEELEMENTS_H
12
13 #include <vector>
14
15 #include <librevenge/librevenge.h>
16
17 namespace libepubgen
18 {
19
20 class EPUBPageElement;
21
22 class EPUBPageElements
23 {
24 public:
25 EPUBPageElements();
26 EPUBPageElements(const EPUBPageElements &elementList);
27 EPUBPageElements &operator=(const EPUBPageElements &elementList);
28 ~EPUBPageElements();
29
30 void draw(librevenge::RVNGDrawingInterface *painter) const;
31 void addStyle(const librevenge::RVNGPropertyList &propList);
32 void addPath(const librevenge::RVNGPropertyList &propList);
33 void addGraphicObject(const librevenge::RVNGPropertyList &propList);
34 void addStartTextObject(const librevenge::RVNGPropertyList &propList);
35 void addOpenParagraph(const librevenge::RVNGPropertyList &propList);
36 void addOpenSpan(const librevenge::RVNGPropertyList &propList);
37 void addInsertText(const librevenge::RVNGString &text);
38 void addCloseSpan();
39 void addCloseParagraph();
40 void addEndTextObject();
41 void addStartGroup(const librevenge::RVNGPropertyList &propList);
42 void addEndGroup();
43
44 bool empty() const
45 {
46 return m_elements.empty();
47 }
48
49 private:
50 std::vector<EPUBPageElement *> m_elements;
51 };
52
53 }
54
55 #endif // INCLUDED_EPUBPAGEELEMENTS_H
56
57 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libepubgen::EPUBPageElements::addCloseParagraph
void addCloseParagraph()
Definition: EPUBPageElements.cpp:474
libepubgen::EPUBPageElements::draw
void draw(librevenge::RVNGDrawingInterface *painter) const
Definition: EPUBPageElements.cpp:428
libepubgen
Definition: EPUBBinarySink.cpp:12
libepubgen::EPUBPageElements::EPUBPageElements
EPUBPageElements()
Definition: EPUBPageElements.cpp:395
libepubgen::EPUBPageElements::addOpenParagraph
void addOpenParagraph(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPageElements.cpp:454
libepubgen::EPUBPageElements::addPath
void addPath(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPageElements.cpp:439
libepubgen::EPUBPageElements::addOpenSpan
void addOpenSpan(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPageElements.cpp:459
libepubgen::EPUBPageElements::addEndGroup
void addEndGroup()
Definition: EPUBPageElements.cpp:489
libepubgen::EPUBPageElements::addInsertText
void addInsertText(const librevenge::RVNGString &text)
Definition: EPUBPageElements.cpp:464
libepubgen::EPUBPageElements::operator=
EPUBPageElements & operator=(const EPUBPageElements &elementList)
Definition: EPUBPageElements.cpp:408
libepubgen::EPUBPageElements::m_elements
std::vector< EPUBPageElement * > m_elements
Definition: EPUBPageElements.h:50
libepubgen::EPUBPageElements::addStyle
void addStyle(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPageElements.cpp:434
libepubgen::EPUBPageElements
Definition: EPUBPageElements.h:22
libepubgen::EPUBPageElements::addCloseSpan
void addCloseSpan()
Definition: EPUBPageElements.cpp:469
libepubgen::EPUBPageElements::addEndTextObject
void addEndTextObject()
Definition: EPUBPageElements.cpp:479
libepubgen::EPUBPageElements::~EPUBPageElements
~EPUBPageElements()
Definition: EPUBPageElements.cpp:421
libepubgen::EPUBPageElements::addGraphicObject
void addGraphicObject(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPageElements.cpp:444
libepubgen::EPUBPageElements::addStartTextObject
void addStartTextObject(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPageElements.cpp:449
libepubgen::EPUBPageElements::addStartGroup
void addStartGroup(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPageElements.cpp:484
libepubgen::EPUBPageElements::empty
bool empty() const
Definition: EPUBPageElements.h:44