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 
23 {
24 public:
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:
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: */
Definition: IWORKBezierElement.cpp:18
std::map< unsigned, IWORKStylePtr_t > IWORKListStyle_t
Definition: IWORKTypes.h:358
std::deque< IWORKListLabelGeometry > m_labelGeometries
Definition: IWORKListstyleElement.h:35
boost::shared_ptr< IWORKXMLContext > IWORKXMLContextPtr_t
Definition: IWORKXMLContext.h:18
virtual void endOfElement()
Definition: IWORKListstyleElement.cpp:44
std::deque< double > m_labelIndents
Definition: IWORKListstyleElement.h:37
IWORKListStyle_t & m_style
Definition: IWORKListstyleElement.h:34
Definition: IWORKToken.h:254
Definition: IWORKListstyleElement.h:22
std::deque< IWORKListLabelTypeInfo_t > m_typeInfos
Definition: IWORKListstyleElement.h:36
IWORKListstyleElement(IWORKXMLParserState &state, IWORKListStyle_t &style)
Definition: IWORKListstyleElement.cpp:31
const char * name
Definition: IWORKToken.cpp:43
std::deque< double > m_textIndents
Definition: IWORKListstyleElement.h:38
virtual IWORKXMLContextPtr_t element(int name)
Definition: IWORKListstyleElement.cpp:37
Definition: IWORKXMLContextBase.h:27
Definition: IWORKXMLParserState.h:30
virtual IWORKXMLContextPtr_t handle(int name)
Definition: IWORKListstyleElement.cpp:70
Definition: IWORKPropertyHandler.h:18

Generated for libetonyek by doxygen 1.8.8