VSDOutputElementList.h Source File documentation

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

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 addOpenParagraph(const librevenge::RVNGPropertyList &propList);
37 void addOpenSpan(const librevenge::RVNGPropertyList &propList);
38 void addInsertText(const librevenge::RVNGString &text);
39 void addCloseSpan();
40 void addCloseParagraph();
41 void addEndTextObject();
42 void addStartLayer(const librevenge::RVNGPropertyList &propList);
43 void addEndLayer();
44 bool empty() const
45 {
46 return m_elements.empty();
47 }
48 private:
49 std::vector<VSDOutputElement *> m_elements;
50 };
51
52
53 } // namespace libvisio
54
55 #endif // __VSDOUTPUTELEMENTLIST_H__
56 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libvisio::VSDOutputElementList::empty
bool empty() const
Definition: VSDOutputElementList.h:44
libvisio::VSDOutputElementList::~VSDOutputElementList
virtual ~VSDOutputElementList()
Definition: VSDOutputElementList.cpp:428
libvisio::VSDOutputElementList::VSDOutputElementList
VSDOutputElementList()
Definition: VSDOutputElementList.cpp:396
libvisio::VSDOutputElementList::addCloseParagraph
void addCloseParagraph()
Definition: VSDOutputElementList.cpp:481
libvisio::VSDOutputElementList::addStyle
void addStyle(const librevenge::RVNGPropertyList &propList)
Definition: VSDOutputElementList.cpp:441
libvisio::VSDOutputElementList
Definition: VSDOutputElementList.h:23
libvisio::VSDOutputElementList::m_elements
std::vector< VSDOutputElement * > m_elements
Definition: VSDOutputElementList.h:49
libvisio::VSDOutputElementList::addStartLayer
void addStartLayer(const librevenge::RVNGPropertyList &propList)
Definition: VSDOutputElementList.cpp:491
libvisio::VSDOutputElementList::addStartTextObject
void addStartTextObject(const librevenge::RVNGPropertyList &propList)
Definition: VSDOutputElementList.cpp:456
libvisio::VSDOutputElementList::addGraphicObject
void addGraphicObject(const librevenge::RVNGPropertyList &propList)
Definition: VSDOutputElementList.cpp:451
libvisio::VSDOutputElementList::addEndLayer
void addEndLayer()
Definition: VSDOutputElementList.cpp:496
libvisio::VSDOutputElementList::addOpenParagraph
void addOpenParagraph(const librevenge::RVNGPropertyList &propList)
Definition: VSDOutputElementList.cpp:461
libvisio
Definition: libvisio_utils.h:70
libvisio::VSDOutputElementList::addPath
void addPath(const librevenge::RVNGPropertyList &propList)
Definition: VSDOutputElementList.cpp:446
libvisio::VSDOutputElementList::addOpenSpan
void addOpenSpan(const librevenge::RVNGPropertyList &propList)
Definition: VSDOutputElementList.cpp:466
libvisio::VSDOutputElementList::addInsertText
void addInsertText(const librevenge::RVNGString &text)
Definition: VSDOutputElementList.cpp:471
libvisio::VSDOutputElementList::append
void append(const VSDOutputElementList &elementList)
Definition: VSDOutputElementList.cpp:422
libvisio::VSDOutputElementList::addEndTextObject
void addEndTextObject()
Definition: VSDOutputElementList.cpp:486
libvisio::VSDOutputElementList::operator=
VSDOutputElementList & operator=(const VSDOutputElementList &elementList)
Definition: VSDOutputElementList.cpp:409
libvisio::VSDOutputElementList::addCloseSpan
void addCloseSpan()
Definition: VSDOutputElementList.cpp:476
libvisio::VSDOutputElementList::draw
void draw(librevenge::RVNGDrawingInterface *painter) const
Definition: VSDOutputElementList.cpp:435