CDROutputElementList.h Source File documentation

CDROutputElementList.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 libcdr 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 __CDROUTPUTELEMENTLIST_H__
11 #define __CDROUTPUTELEMENTLIST_H__
12
13 #include <map>
14 #include <list>
15 #include <vector>
16 #include <librevenge/librevenge.h>
17 #include <librevenge/librevenge.h>
18
19 namespace libcdr
20 {
21
22 class CDROutputElement;
23
24 class CDROutputElementList
25 {
26 public:
27 CDROutputElementList();
28 CDROutputElementList(const CDROutputElementList &elementList);
29 CDROutputElementList &operator=(const CDROutputElementList &elementList);
30 virtual ~CDROutputElementList();
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 addStartGroup(const librevenge::RVNGPropertyList &propList);
43 void addEndGroup();
44 bool empty() const
45 {
46 return m_elements.empty();
47 }
48 private:
49 std::vector<CDROutputElement *> m_elements;
50 };
51
52
53 } // namespace libcdr
54
55 #endif // __CDROUTPUTELEMENTLIST_H__
56 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libcdr::CDROutputElementList::addStartGroup
void addStartGroup(const librevenge::RVNGPropertyList &propList)
Definition: CDROutputElementList.cpp:483
libcdr::CDROutputElementList::addEndGroup
void addEndGroup()
Definition: CDROutputElementList.cpp:488
libcdr::CDROutputElementList::m_elements
std::vector< CDROutputElement * > m_elements
Definition: CDROutputElementList.h:49
libcdr::CDROutputElementList::addCloseSpan
void addCloseSpan()
Definition: CDROutputElementList.cpp:468
libcdr::CDROutputElementList::~CDROutputElementList
virtual ~CDROutputElementList()
Definition: CDROutputElementList.cpp:420
libcdr::CDROutputElementList::draw
void draw(librevenge::RVNGDrawingInterface *painter) const
Definition: CDROutputElementList.cpp:427
libcdr::CDROutputElementList::addGraphicObject
void addGraphicObject(const librevenge::RVNGPropertyList &propList)
Definition: CDROutputElementList.cpp:443
libcdr::CDROutputElementList::CDROutputElementList
CDROutputElementList()
Definition: CDROutputElementList.cpp:394
libcdr::CDROutputElementList::addCloseParagraph
void addCloseParagraph()
Definition: CDROutputElementList.cpp:473
libcdr::CDROutputElementList::addStyle
void addStyle(const librevenge::RVNGPropertyList &propList)
Definition: CDROutputElementList.cpp:433
libcdr
Definition: CDRCollector.h:29
libcdr::CDROutputElementList::operator=
CDROutputElementList & operator=(const CDROutputElementList &elementList)
Definition: CDROutputElementList.cpp:407
libcdr::CDROutputElementList::addInsertText
void addInsertText(const librevenge::RVNGString &text)
Definition: CDROutputElementList.cpp:463
libcdr::CDROutputElementList::addStartTextObject
void addStartTextObject(const librevenge::RVNGPropertyList &propList)
Definition: CDROutputElementList.cpp:448
libcdr::CDROutputElementList::addOpenParagraph
void addOpenParagraph(const librevenge::RVNGPropertyList &propList)
Definition: CDROutputElementList.cpp:453
libcdr::CDROutputElementList
Definition: CDROutputElementList.h:24
libcdr::CDROutputElementList::addPath
void addPath(const librevenge::RVNGPropertyList &propList)
Definition: CDROutputElementList.cpp:438
libcdr::CDROutputElementList::empty
bool empty() const
Definition: CDROutputElementList.h:44
libcdr::CDROutputElementList::addEndTextObject
void addEndTextObject()
Definition: CDROutputElementList.cpp:478
libcdr::CDROutputElementList::addOpenSpan
void addOpenSpan(const librevenge::RVNGPropertyList &propList)
Definition: CDROutputElementList.cpp:458