IWORKOutputElements.h Source File documentation

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List
- File Members

IWORKOutputElements.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 libetonyek 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 IWORKOUTPUTELEMENTS_H_INCLUDED
11 #define IWORKOUTPUTELEMENTS_H_INCLUDED
12
13 #include <deque>
14
15 #include <boost/shared_ptr.hpp>
16 #include <boost/unordered_map.hpp>
17
18 #include <librevenge/librevenge.h>
19
20 #include "IWORKTypes_fwd.h"
21
22 namespace libetonyek
23 {
24
25 class IWORKDocumentInterface;
26 class IWORKFormula;
27 class IWORKOutputElement;
28
29
30 class IWORKOutputElements
31 {
32 typedef std::deque<boost::shared_ptr<IWORKOutputElement> > ElementList_t;
33
34 public:
35 IWORKOutputElements();
36
37 void append(const IWORKOutputElements &elements);
38 void write(IWORKDocumentInterface *iface) const;
39 void clear();
40 bool empty() const;
41
42 void addCloseComment();
43 void addCloseEndnote();
44 void addCloseFooter();
45 void addCloseFootnote();
46 void addCloseFrame();
47 void addCloseHeader();
48 void addCloseLink();
49 void addCloseListElement();
50 void addCloseOrderedListLevel();
51 void addCloseParagraph();
52 void addCloseSection();
53 void addCloseSpan();
54 void addCloseTable();
55 void addCloseTableCell();
56 void addCloseTableRow();
57 void addCloseUnorderedListLevel();
58 void addDrawGraphicObject(const librevenge::RVNGPropertyList &propList);
59 void addDrawPath(const librevenge::RVNGPropertyList &propList);
60 void addDrawPolyline(const librevenge::RVNGPropertyList &propList);
61 void addEndLayer();
62 void addEndNotes();
63 void addEndTextObject();
64 void addInsertBinaryObject(const librevenge::RVNGPropertyList &propList);
65 void addInsertCoveredTableCell(const librevenge::RVNGPropertyList &propList);
66 void addInsertLineBreak();
67 void addInsertSpace();
68 void addInsertTab();
69 void addInsertText(const librevenge::RVNGString &text);
70 void addOpenComment(const librevenge::RVNGPropertyList &propList);
71 void addOpenEndnote(const librevenge::RVNGPropertyList &propList);
72 void addOpenFormulaCell(const librevenge::RVNGPropertyList &propList, const IWORKFormula &formula, const IWORKTableNameMapPtr_t &tableNameMap);
73 void addOpenFooter(const librevenge::RVNGPropertyList &propList);
74 void addOpenFootnote(const librevenge::RVNGPropertyList &propList);
75 void addOpenFrame(const librevenge::RVNGPropertyList &propList);
76 void addOpenHeader(const librevenge::RVNGPropertyList &propList);
77 void addOpenLink(const librevenge::RVNGPropertyList &propList);
78 void addOpenListElement(const librevenge::RVNGPropertyList &propList);
79 void addOpenOrderedListLevel(const librevenge::RVNGPropertyList &propList);
80 void addOpenParagraph(const librevenge::RVNGPropertyList &propList);
81 void addOpenSection(const librevenge::RVNGPropertyList &propList);
82 void addOpenSpan(const librevenge::RVNGPropertyList &propList);
83 void addOpenTable(const librevenge::RVNGPropertyList &propList);
84 void addOpenTableCell(const librevenge::RVNGPropertyList &propList);
85 void addOpenTableRow(const librevenge::RVNGPropertyList &propList);
86 void addOpenUnorderedListLevel(const librevenge::RVNGPropertyList &propList);
87 void addSetStyle(const librevenge::RVNGPropertyList &propList);
88 void addStartLayer(const librevenge::RVNGPropertyList &propList);
89 void addStartNotes(const librevenge::RVNGPropertyList &propList);
90 void addStartTextObject(const librevenge::RVNGPropertyList &propList);
91
92 private:
93 ElementList_t m_elements;
94 };
95
96 }
97
98 #endif /* IWORKOUTPUTELEMENTS_H_INCLUDED */
99
100 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libetonyek::IWORKOutputElements::addOpenTable
void addOpenTable(const librevenge::RVNGPropertyList &propList)
Definition: IWORKOutputElements.cpp:1048
libetonyek
Definition: IWORKBezierElement.cpp:18
libetonyek::IWORKOutputElements::addCloseListElement
void addCloseListElement()
Definition: IWORKOutputElements.cpp:878
libetonyek::IWORKOutputElements::addOpenTableCell
void addOpenTableCell(const librevenge::RVNGPropertyList &propList)
Definition: IWORKOutputElements.cpp:1053
libetonyek::IWORKOutputElements::addInsertBinaryObject
void addInsertBinaryObject(const librevenge::RVNGPropertyList &propList)
Definition: IWORKOutputElements.cpp:953
libetonyek::IWORKOutputElements
Definition: IWORKOutputElements.h:30
libetonyek::IWORKOutputElements::addOpenParagraph
void addOpenParagraph(const librevenge::RVNGPropertyList &propList)
Definition: IWORKOutputElements.cpp:1033
libetonyek::IWORKOutputElements::addCloseUnorderedListLevel
void addCloseUnorderedListLevel()
Definition: IWORKOutputElements.cpp:918
libetonyek::IWORKOutputElements::addOpenSpan
void addOpenSpan(const librevenge::RVNGPropertyList &propList)
Definition: IWORKOutputElements.cpp:1043
libetonyek::IWORKOutputElements::addCloseEndnote
void addCloseEndnote()
Definition: IWORKOutputElements.cpp:848
libetonyek::IWORKOutputElements::addStartLayer
void addStartLayer(const librevenge::RVNGPropertyList &propList)
Definition: IWORKOutputElements.cpp:1073
libetonyek::IWORKOutputElements::addInsertTab
void addInsertTab()
Definition: IWORKOutputElements.cpp:973
libetonyek::IWORKOutputElements::addCloseFooter
void addCloseFooter()
Definition: IWORKOutputElements.cpp:853
libetonyek::IWORKOutputElements::addOpenFormulaCell
void addOpenFormulaCell(const librevenge::RVNGPropertyList &propList, const IWORKFormula &formula, const IWORKTableNameMapPtr_t &tableNameMap)
Definition: IWORKOutputElements.cpp:993
libetonyek::IWORKOutputElements::addCloseTable
void addCloseTable()
Definition: IWORKOutputElements.cpp:903
libetonyek::IWORKOutputElements::addSetStyle
void addSetStyle(const librevenge::RVNGPropertyList &propList)
Definition: IWORKOutputElements.cpp:1068
libetonyek::IWORKOutputElements::addCloseSection
void addCloseSection()
Definition: IWORKOutputElements.cpp:893
libetonyek::IWORKOutputElements::addCloseFootnote
void addCloseFootnote()
Definition: IWORKOutputElements.cpp:858
libetonyek::IWORKOutputElements::addOpenOrderedListLevel
void addOpenOrderedListLevel(const librevenge::RVNGPropertyList &propList)
Definition: IWORKOutputElements.cpp:1028
libetonyek::IWORKOutputElements::addOpenLink
void addOpenLink(const librevenge::RVNGPropertyList &propList)
Definition: IWORKOutputElements.cpp:1018
libetonyek::IWORKOutputElements::addCloseTableRow
void addCloseTableRow()
Definition: IWORKOutputElements.cpp:913
libetonyek::IWORKToken::text
Definition: IWORKToken.h:270
libetonyek::IWORKOutputElements::write
void write(IWORKDocumentInterface *iface) const
Definition: IWORKOutputElements.cpp:826
IWORKTypes_fwd.h
libetonyek::IWORKOutputElements::addOpenComment
void addOpenComment(const librevenge::RVNGPropertyList &propList)
Definition: IWORKOutputElements.cpp:983
libetonyek::IWORKDocumentInterface
Definition: IWORKDocumentInterface.h:18
libetonyek::IWORKOutputElements::addOpenEndnote
void addOpenEndnote(const librevenge::RVNGPropertyList &propList)
Definition: IWORKOutputElements.cpp:988
libetonyek::IWORKOutputElements::addDrawGraphicObject
void addDrawGraphicObject(const librevenge::RVNGPropertyList &propList)
Definition: IWORKOutputElements.cpp:923
libetonyek::IWORKOutputElements::addEndTextObject
void addEndTextObject()
Definition: IWORKOutputElements.cpp:948
libetonyek::IWORKFormula
Definition: IWORKFormula.h:23
libetonyek::IWORKOutputElements::addCloseLink
void addCloseLink()
Definition: IWORKOutputElements.cpp:873
libetonyek::IWORKOutputElements::addCloseSpan
void addCloseSpan()
Definition: IWORKOutputElements.cpp:898
libetonyek::IWORKOutputElements::addOpenFooter
void addOpenFooter(const librevenge::RVNGPropertyList &propList)
Definition: IWORKOutputElements.cpp:998
libetonyek::IWORKOutputElements::addInsertCoveredTableCell
void addInsertCoveredTableCell(const librevenge::RVNGPropertyList &propList)
Definition: IWORKOutputElements.cpp:958
libetonyek::IWORKOutputElements::addCloseComment
void addCloseComment()
Definition: IWORKOutputElements.cpp:843
libetonyek::IWORKOutputElements::addOpenListElement
void addOpenListElement(const librevenge::RVNGPropertyList &propList)
Definition: IWORKOutputElements.cpp:1023
libetonyek::IWORKOutputElements::addStartTextObject
void addStartTextObject(const librevenge::RVNGPropertyList &propList)
Definition: IWORKOutputElements.cpp:1083
libetonyek::IWORKOutputElements::addInsertLineBreak
void addInsertLineBreak()
Definition: IWORKOutputElements.cpp:963
libetonyek::IWORKOutputElements::ElementList_t
std::deque< boost::shared_ptr< IWORKOutputElement > > ElementList_t
Definition: IWORKOutputElements.h:32
libetonyek::IWORKOutputElements::addInsertSpace
void addInsertSpace()
Definition: IWORKOutputElements.cpp:968
libetonyek::IWORKTableNameMapPtr_t
boost::shared_ptr< IWORKTableNameMap_t > IWORKTableNameMapPtr_t
Definition: IWORKTypes_fwd.h:33
libetonyek::IWORKOutputElements::addInsertText
void addInsertText(const librevenge::RVNGString &text)
Definition: IWORKOutputElements.cpp:978
libetonyek::IWORKOutputElements::addOpenTableRow
void addOpenTableRow(const librevenge::RVNGPropertyList &propList)
Definition: IWORKOutputElements.cpp:1058
libetonyek::IWORKOutputElements::addDrawPolyline
void addDrawPolyline(const librevenge::RVNGPropertyList &propList)
Definition: IWORKOutputElements.cpp:933
libetonyek::IWORKOutputElements::addEndLayer
void addEndLayer()
Definition: IWORKOutputElements.cpp:938
libetonyek::IWORKOutputElements::addCloseFrame
void addCloseFrame()
Definition: IWORKOutputElements.cpp:863
libetonyek::IWORKOutputElements::addCloseOrderedListLevel
void addCloseOrderedListLevel()
Definition: IWORKOutputElements.cpp:883
libetonyek::IWORKOutputElements::empty
bool empty() const
Definition: IWORKOutputElements.cpp:838
libetonyek::IWORKOutputElements::addStartNotes
void addStartNotes(const librevenge::RVNGPropertyList &propList)
Definition: IWORKOutputElements.cpp:1078
libetonyek::IWORKOutputElements::addEndNotes
void addEndNotes()
Definition: IWORKOutputElements.cpp:943
libetonyek::IWORKOutputElements::addOpenFrame
void addOpenFrame(const librevenge::RVNGPropertyList &propList)
Definition: IWORKOutputElements.cpp:1008
libetonyek::IWORKOutputElements::m_elements
ElementList_t m_elements
Definition: IWORKOutputElements.h:93
libetonyek::IWORKOutputElements::append
void append(const IWORKOutputElements &elements)
Definition: IWORKOutputElements.cpp:821
libetonyek::IWORKOutputElements::addOpenHeader
void addOpenHeader(const librevenge::RVNGPropertyList &propList)
Definition: IWORKOutputElements.cpp:1013
libetonyek::IWORKOutputElements::addOpenUnorderedListLevel
void addOpenUnorderedListLevel(const librevenge::RVNGPropertyList &propList)
Definition: IWORKOutputElements.cpp:1063
libetonyek::IWORKOutputElements::clear
void clear()
Definition: IWORKOutputElements.cpp:833
libetonyek::IWORKOutputElements::addOpenSection
void addOpenSection(const librevenge::RVNGPropertyList &propList)
Definition: IWORKOutputElements.cpp:1038
libetonyek::IWORKOutputElements::addCloseHeader
void addCloseHeader()
Definition: IWORKOutputElements.cpp:868
libetonyek::IWORKOutputElements::addCloseTableCell
void addCloseTableCell()
Definition: IWORKOutputElements.cpp:908
libetonyek::IWORKOutputElements::addDrawPath
void addDrawPath(const librevenge::RVNGPropertyList &propList)
Definition: IWORKOutputElements.cpp:928
libetonyek::IWORKOutputElements::addOpenFootnote
void addOpenFootnote(const librevenge::RVNGPropertyList &propList)
Definition: IWORKOutputElements.cpp:1003
libetonyek::IWORKOutputElements::IWORKOutputElements
IWORKOutputElements()
Definition: IWORKOutputElements.cpp:816
libetonyek::IWORKOutputElements::addCloseParagraph
void addCloseParagraph()
Definition: IWORKOutputElements.cpp:888