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

- File List
- File Members

IWORKListstyleElement.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 IWORKLISTSTYLEELEMENT_H_INCLUDED
11 #define IWORKLISTSTYLEELEMENT_H_INCLUDED
12
13 #include <deque>
14
15 #include "IWORKPropertyHandler.h"
16 #include "IWORKTypes.h"
17 #include "IWORKXMLContextBase.h"
18
19 namespace libetonyek
20 {
21
22 class IWORKListstyleElement : public IWORKXMLElementContextBase, public IWORKPropertyHandler
23 {
24 public:
25 IWORKListstyleElement(IWORKXMLParserState &state, IWORKListStyle_t &style);
26
27 private:
28 virtual IWORKXMLContextPtr_t element(int name);
29 virtual void endOfElement();
30
31 virtual IWORKXMLContextPtr_t handle(int name);
32
33 private:
34 IWORKListStyle_t &m_style;
35 std::deque<IWORKListLabelGeometry> m_labelGeometries;
36 std::deque<IWORKListLabelTypeInfo_t> m_typeInfos;
37 std::deque<double> m_labelIndents;
38 std::deque<double> m_textIndents;
39 };
40
41 }
42
43 #endif // IWORKLISTSTYLEELEMENT_H_INCLUDED
44
45 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libetonyek
Definition: IWORKBezierElement.cpp:18
IWORKXMLContextBase.h
libetonyek::IWORKListStyle_t
std::map< unsigned, IWORKStylePtr_t > IWORKListStyle_t
Definition: IWORKTypes.h:358
libetonyek::IWORKListstyleElement::m_labelGeometries
std::deque< IWORKListLabelGeometry > m_labelGeometries
Definition: IWORKListstyleElement.h:35
libetonyek::IWORKXMLContextPtr_t
boost::shared_ptr< IWORKXMLContext > IWORKXMLContextPtr_t
Definition: IWORKXMLContext.h:18
libetonyek::IWORKListstyleElement::endOfElement
virtual void endOfElement()
Definition: IWORKListstyleElement.cpp:44
libetonyek::IWORKListstyleElement::m_labelIndents
std::deque< double > m_labelIndents
Definition: IWORKListstyleElement.h:37
libetonyek::IWORKListstyleElement::m_style
IWORKListStyle_t & m_style
Definition: IWORKListstyleElement.h:34
libetonyek::IWORKToken::style
Definition: IWORKToken.h:254
libetonyek::IWORKListstyleElement
Definition: IWORKListstyleElement.h:22
libetonyek::IWORKListstyleElement::m_typeInfos
std::deque< IWORKListLabelTypeInfo_t > m_typeInfos
Definition: IWORKListstyleElement.h:36
libetonyek::IWORKListstyleElement::IWORKListstyleElement
IWORKListstyleElement(IWORKXMLParserState &state, IWORKListStyle_t &style)
Definition: IWORKListstyleElement.cpp:31
name
const char * name
Definition: IWORKToken.cpp:43
libetonyek::IWORKListstyleElement::m_textIndents
std::deque< double > m_textIndents
Definition: IWORKListstyleElement.h:38
libetonyek::IWORKListstyleElement::element
virtual IWORKXMLContextPtr_t element(int name)
Definition: IWORKListstyleElement.cpp:37
libetonyek::IWORKXMLContextBase
Definition: IWORKXMLContextBase.h:27
libetonyek::IWORKXMLParserState
Definition: IWORKXMLParserState.h:30
IWORKPropertyHandler.h
IWORKTypes.h
libetonyek::IWORKListstyleElement::handle
virtual IWORKXMLContextPtr_t handle(int name)
Definition: IWORKListstyleElement.cpp:70
libetonyek::IWORKPropertyHandler
Definition: IWORKPropertyHandler.h:18