- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

ABWOutputElements.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 libabw 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 ABWOUTPUTELEMENTS_H
11 #define ABWOUTPUTELEMENTS_H
12
13 #include <list>
14 #include <map>
15 #include <librevenge/librevenge.h>
16
17 namespace libabw
18 {
19
20 class ABWOutputElement;
21
22 class ABWOutputElements
23 {
24 public:
25 ABWOutputElements();
26 virtual ~ABWOutputElements();
27 void append(const ABWOutputElements &elements);
28 void write(librevenge::RVNGTextInterface *iface) const;
29 void addCloseEndnote();
30 void addCloseFooter();
31 void addCloseFootnote();
32 void addCloseFrame();
33 void addCloseHeader();
34 void addCloseLink();
35 void addCloseListElement();
36 void addCloseOrderedListLevel();
37 void addClosePageSpan();
38 void addCloseParagraph();
39 void addCloseSection();
40 void addCloseSpan();
41 void addCloseTable();
42 void addCloseTableCell();
43 void addCloseTableRow();
44 void addCloseUnorderedListLevel();
45 void addInsertBinaryObject(const librevenge::RVNGPropertyList &propList);
46 void addInsertCoveredTableCell(const librevenge::RVNGPropertyList &propList);
47 void addInsertLineBreak();
48 void addInsertSpace();
49 void addInsertTab();
50 void addInsertText(const librevenge::RVNGString &text);
51 void addOpenEndnote(const librevenge::RVNGPropertyList &propList);
52 void addOpenFooter(const librevenge::RVNGPropertyList &propList, int id);
53 void addOpenFootnote(const librevenge::RVNGPropertyList &propList);
54 void addOpenFrame(const librevenge::RVNGPropertyList &propList);
55 void addOpenHeader(const librevenge::RVNGPropertyList &propList, int id);
56 void addOpenLink(const librevenge::RVNGPropertyList &propList);
57 void addOpenListElement(const librevenge::RVNGPropertyList &propList);
58 void addOpenOrderedListLevel(const librevenge::RVNGPropertyList &propList);
59 void addOpenPageSpan(const librevenge::RVNGPropertyList &propList,
60 int footer, int footerLeft, int footerFirst, int footerLast,
61 int header, int headerLeft, int headerFirst, int headerLast);
62 void addOpenParagraph(const librevenge::RVNGPropertyList &propList);
63 void addOpenSection(const librevenge::RVNGPropertyList &propList);
64 void addOpenSpan(const librevenge::RVNGPropertyList &propList);
65 void addOpenTable(const librevenge::RVNGPropertyList &propList);
66 void addOpenTableCell(const librevenge::RVNGPropertyList &propList);
67 void addOpenTableRow(const librevenge::RVNGPropertyList &propList);
68 void addOpenUnorderedListLevel(const librevenge::RVNGPropertyList &propList);
69 void addStartDocument(const librevenge::RVNGPropertyList &propList);
70 bool empty() const
71 {
72 return m_bodyElements.empty();
73 }
74 private:
75 ABWOutputElements(const ABWOutputElements &);
76 ABWOutputElements &operator=(const ABWOutputElements &);
77 std::list<ABWOutputElement *> m_bodyElements;
78 std::map<int, std::list<ABWOutputElement *> > m_headerElements;
79 std::map<int, std::list<ABWOutputElement *> > m_footerElements;
80 std::list<ABWOutputElement *> *m_elements;
81 };
82
83
84 } // namespace libabw
85
86 #endif /* ABWOUTPUTELEMENTS_H */
87 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libabw::ABWOutputElements::addOpenHeader
void addOpenHeader(const librevenge::RVNGPropertyList &propList, int id)
Definition: ABWOutputElements.cpp:1104
libabw::ABWOutputElements::addInsertBinaryObject
void addInsertBinaryObject(const librevenge::RVNGPropertyList &propList)
Definition: ABWOutputElements.cpp:1039
libabw::ABWOutputElements::addOpenTableRow
void addOpenTableRow(const librevenge::RVNGPropertyList &propList)
Definition: ABWOutputElements.cpp:1169
libabw::ABWOutputElements::addInsertSpace
void addInsertSpace()
Definition: ABWOutputElements.cpp:1057
libabw::ABWOutputElements::addCloseFootnote
void addCloseFootnote()
Definition: ABWOutputElements.cpp:954
libabw::ABWOutputElements::addCloseEndnote
void addCloseEndnote()
Definition: ABWOutputElements.cpp:941
libabw::ABWOutputElements::m_bodyElements
std::list< ABWOutputElement * > m_bodyElements
Definition: ABWOutputElements.h:77
libabw::ABWOutputElements::addCloseTableRow
void addCloseTableRow()
Definition: ABWOutputElements.cpp:1027
libabw::ABWOutputElements::addInsertLineBreak
void addInsertLineBreak()
Definition: ABWOutputElements.cpp:1051
libabw::ABWOutputElements::addOpenSpan
void addOpenSpan(const librevenge::RVNGPropertyList &propList)
Definition: ABWOutputElements.cpp:1151
libabw::ABWOutputElements::addOpenFooter
void addOpenFooter(const librevenge::RVNGPropertyList &propList, int id)
Definition: ABWOutputElements.cpp:1081
libabw::ABWOutputElements::addCloseHeader
void addCloseHeader()
Definition: ABWOutputElements.cpp:966
libabw::ABWOutputElements::addOpenTableCell
void addOpenTableCell(const librevenge::RVNGPropertyList &propList)
Definition: ABWOutputElements.cpp:1163
libabw::ABWOutputElements::addCloseTable
void addCloseTable()
Definition: ABWOutputElements.cpp:1015
libabw::ABWOutputElements::addOpenOrderedListLevel
void addOpenOrderedListLevel(const librevenge::RVNGPropertyList &propList)
Definition: ABWOutputElements.cpp:1124
libabw::ABWOutputElements::operator=
ABWOutputElements & operator=(const ABWOutputElements &)
libabw::ABWOutputElements::addOpenParagraph
void addOpenParagraph(const librevenge::RVNGPropertyList &propList)
Definition: ABWOutputElements.cpp:1139
libabw::ABWOutputElements::addOpenLink
void addOpenLink(const librevenge::RVNGPropertyList &propList)
Definition: ABWOutputElements.cpp:1118
libabw::ABWOutputElements::addCloseSection
void addCloseSection()
Definition: ABWOutputElements.cpp:1003
libabw::ABWOutputElements::addInsertCoveredTableCell
void addInsertCoveredTableCell(const librevenge::RVNGPropertyList &propList)
Definition: ABWOutputElements.cpp:1045
libabw
Definition: ABWCollector.h:17
libabw::ABWOutputElements::addOpenSection
void addOpenSection(const librevenge::RVNGPropertyList &propList)
Definition: ABWOutputElements.cpp:1145
libabw::ABWOutputElements::~ABWOutputElements
virtual ~ABWOutputElements()
Definition: ABWOutputElements.cpp:915
libabw::ABWOutputElements::addCloseParagraph
void addCloseParagraph()
Definition: ABWOutputElements.cpp:997
libabw::ABWOutputElements
Definition: ABWOutputElements.h:22
libabw::ABWOutputElements::addCloseOrderedListLevel
void addCloseOrderedListLevel()
Definition: ABWOutputElements.cpp:985
libabw::ABWOutputElements::m_footerElements
std::map< int, std::list< ABWOutputElement * > > m_footerElements
Definition: ABWOutputElements.h:79
libabw::ABWOutputElements::addOpenPageSpan
void addOpenPageSpan(const librevenge::RVNGPropertyList &propList, int footer, int footerLeft, int footerFirst, int footerLast, int header, int headerLeft, int headerFirst, int headerLast)
Definition: ABWOutputElements.cpp:1130
libabw::ABWOutputElements::m_headerElements
std::map< int, std::list< ABWOutputElement * > > m_headerElements
Definition: ABWOutputElements.h:78
libabw::ABWOutputElements::addCloseLink
void addCloseLink()
Definition: ABWOutputElements.cpp:973
libabw::ABWOutputElements::addCloseFrame
void addCloseFrame()
Definition: ABWOutputElements.cpp:960
libabw::ABWOutputElements::addInsertText
void addInsertText(const librevenge::RVNGString &text)
Definition: ABWOutputElements.cpp:1069
libabw::ABWOutputElements::addOpenFrame
void addOpenFrame(const librevenge::RVNGPropertyList &propList)
Definition: ABWOutputElements.cpp:1098
libabw::ABWOutputElements::addCloseFooter
void addCloseFooter()
Definition: ABWOutputElements.cpp:947
libabw::ABWOutputElements::addCloseTableCell
void addCloseTableCell()
Definition: ABWOutputElements.cpp:1021
libabw::ABWOutputElements::addCloseUnorderedListLevel
void addCloseUnorderedListLevel()
Definition: ABWOutputElements.cpp:1033
libabw::ABWOutputElements::addOpenFootnote
void addOpenFootnote(const librevenge::RVNGPropertyList &propList)
Definition: ABWOutputElements.cpp:1092
libabw::ABWOutputElements::addOpenEndnote
void addOpenEndnote(const librevenge::RVNGPropertyList &propList)
Definition: ABWOutputElements.cpp:1075
libabw::ABWOutputElements::addOpenTable
void addOpenTable(const librevenge::RVNGPropertyList &propList)
Definition: ABWOutputElements.cpp:1157
libabw::ABWOutputElements::addCloseSpan
void addCloseSpan()
Definition: ABWOutputElements.cpp:1009
libabw::ABWOutputElements::addClosePageSpan
void addClosePageSpan()
Definition: ABWOutputElements.cpp:991
libabw::ABWOutputElements::addStartDocument
void addStartDocument(const librevenge::RVNGPropertyList &propList)
libabw::ABWOutputElements::write
void write(librevenge::RVNGTextInterface *iface) const
Definition: ABWOutputElements.cpp:934
libabw::ABWOutputElements::addOpenUnorderedListLevel
void addOpenUnorderedListLevel(const librevenge::RVNGPropertyList &propList)
Definition: ABWOutputElements.cpp:1175
libabw::ABWOutputElements::addInsertTab
void addInsertTab()
Definition: ABWOutputElements.cpp:1063
libabw::ABWOutputElements::addOpenListElement
void addOpenListElement(const librevenge::RVNGPropertyList &propList)
Definition: ABWOutputElements.cpp:1112
libabw::ABWOutputElements::empty
bool empty() const
Definition: ABWOutputElements.h:70
libabw::ABWOutputElements::ABWOutputElements
ABWOutputElements()
Definition: ABWOutputElements.cpp:909
libabw::ABWOutputElements::append
void append(const ABWOutputElements &elements)
libabw::ABWOutputElements::m_elements
std::list< ABWOutputElement * > * m_elements
Definition: ABWOutputElements.h:80
libabw::ABWOutputElements::addCloseListElement
void addCloseListElement()
Definition: ABWOutputElements.cpp:979