VSDOutputElementList.h Source File documentation

VSDOutputElementList.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 libvisio 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 __VSDOUTPUTELEMENTLIST_H__
11 #define __VSDOUTPUTELEMENTLIST_H__
12
13 #include <map>
14 #include <list>
15 #include <vector>
16 #include <librevenge/librevenge.h>
17
18 namespace libvisio
19 {
20
21 class VSDOutputElement;
22
23 class VSDOutputElementList
24 {
25 public:
26 VSDOutputElementList();
27 VSDOutputElementList(const VSDOutputElementList &elementList);
28 VSDOutputElementList &operator=(const VSDOutputElementList &elementList);
29 virtual ~VSDOutputElementList();
30 void append(const VSDOutputElementList &elementList);
31 void draw(librevenge::RVNGDrawingInterface *painter) const;
32 void addStyle(const librevenge::RVNGPropertyList &propList);
33 void addPath(const librevenge::RVNGPropertyList &propList);
34 void addGraphicObject(const librevenge::RVNGPropertyList &propList);
35 void addStartTextObject(const librevenge::RVNGPropertyList &propList);
36 void addEndTextObject();
37 void addOpenUnorderedListLevel(const librevenge::RVNGPropertyList &propList);
38 void addCloseUnorderedListLevel();
39 void addOpenListElement(const librevenge::RVNGPropertyList &propList);
40 void addCloseListElement();
41 void addOpenParagraph(const librevenge::RVNGPropertyList &propList);
42 void addCloseParagraph();
43 void addOpenSpan(const librevenge::RVNGPropertyList &propList);
44 void addCloseSpan();
45 void addInsertText(const librevenge::RVNGString &text);
46 void addInsertLineBreak();
47 void addInsertTab();
48 void addStartLayer(const librevenge::RVNGPropertyList &propList);
49 void addEndLayer();
50 bool empty() const
51 {
52 return m_elements.empty();
53 }
54 private:
55 std::vector<VSDOutputElement *> m_elements;
56 };
57
58
59 } // namespace libvisio
60
61 #endif // __VSDOUTPUTELEMENTLIST_H__
62 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libvisio::VSDOutputElementList::addOpenUnorderedListLevel
void addOpenUnorderedListLevel(const librevenge::RVNGPropertyList &propList)
Definition: VSDOutputElementList.cpp:611
libvisio::VSDOutputElementList::~VSDOutputElementList
virtual ~VSDOutputElementList()
Definition: VSDOutputElementList.cpp:523
libvisio::VSDOutputElementList::VSDOutputElementList
VSDOutputElementList()
Definition: VSDOutputElementList.cpp:491
libvisio::VSDOutputElementList::addCloseParagraph
void addCloseParagraph()
Definition: VSDOutputElementList.cpp:586
libvisio::VSDOutputElementList::addStyle
void addStyle(const librevenge::RVNGPropertyList &propList)
Definition: VSDOutputElementList.cpp:536
libvisio::VSDOutputElementList::empty
bool empty() const
Definition: VSDOutputElementList.h:50
libvisio::VSDOutputElementList
Definition: VSDOutputElementList.h:23
libvisio::VSDOutputElementList::m_elements
std::vector< VSDOutputElement * > m_elements
Definition: VSDOutputElementList.h:55
libvisio::VSDOutputElementList::addStartLayer
void addStartLayer(const librevenge::RVNGPropertyList &propList)
Definition: VSDOutputElementList.cpp:596
libvisio::VSDOutputElementList::addInsertTab
void addInsertTab()
Definition: VSDOutputElementList.cpp:576
libvisio::VSDOutputElementList::addInsertLineBreak
void addInsertLineBreak()
Definition: VSDOutputElementList.cpp:571
libvisio::VSDOutputElementList::addStartTextObject
void addStartTextObject(const librevenge::RVNGPropertyList &propList)
Definition: VSDOutputElementList.cpp:551
libvisio::VSDOutputElementList::addCloseListElement
void addCloseListElement()
Definition: VSDOutputElementList.cpp:616
libvisio::VSDOutputElementList::addGraphicObject
void addGraphicObject(const librevenge::RVNGPropertyList &propList)
Definition: VSDOutputElementList.cpp:546
libvisio::VSDOutputElementList::addEndLayer
void addEndLayer()
Definition: VSDOutputElementList.cpp:601
libvisio::VSDOutputElementList::addOpenParagraph
void addOpenParagraph(const librevenge::RVNGPropertyList &propList)
Definition: VSDOutputElementList.cpp:556
libvisio::VSDOutputElementList::addOpenListElement
void addOpenListElement(const librevenge::RVNGPropertyList &propList)
Definition: VSDOutputElementList.cpp:606
libvisio
Definition: libvisio_utils.h:73
libvisio::VSDOutputElementList::addPath
void addPath(const librevenge::RVNGPropertyList &propList)
Definition: VSDOutputElementList.cpp:541
libvisio::VSDOutputElementList::addOpenSpan
void addOpenSpan(const librevenge::RVNGPropertyList &propList)
Definition: VSDOutputElementList.cpp:561
libvisio::VSDOutputElementList::addInsertText
void addInsertText(const librevenge::RVNGString &text)
Definition: VSDOutputElementList.cpp:566
libvisio::VSDOutputElementList::addCloseUnorderedListLevel
void addCloseUnorderedListLevel()
Definition: VSDOutputElementList.cpp:621
libvisio::VSDOutputElementList::append
void append(const VSDOutputElementList &elementList)
Definition: VSDOutputElementList.cpp:517
libvisio::VSDOutputElementList::addEndTextObject
void addEndTextObject()
Definition: VSDOutputElementList.cpp:591
libvisio::VSDOutputElementList::operator=
VSDOutputElementList & operator=(const VSDOutputElementList &elementList)
Definition: VSDOutputElementList.cpp:504
libvisio::VSDOutputElementList::draw
void draw(librevenge::RVNGDrawingInterface *painter) const
Definition: VSDOutputElementList.cpp:530
libvisio::VSDOutputElementList::addCloseSpan
void addCloseSpan()
Definition: VSDOutputElementList.cpp:581