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:
27 
28 private:
29  IWORKXMLContextPtr_t element(int name) override;
30  void endOfElement() override;
31 
32  IWORKXMLContextPtr_t handle(int name) override;
33 
34 private:
37  std::deque<IWORKListLabelGeometry> m_labelGeometries;
38  std::deque<IWORKListLabelTypeInfo_t> m_typeInfos;
39  std::deque<double> m_labelIndents;
40  std::deque<double> m_textIndents;
41 };
42 
43 }
44 
45 #endif // IWORKLISTSTYLEELEMENT_H_INCLUDED
46 
47 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
Definition: IWORKBezierElement.cpp:18
IWORKXMLContextPtr_t handle(int name) override
Definition: IWORKListstyleElement.cpp:77
std::shared_ptr< IWORKXMLContext > IWORKXMLContextPtr_t
Definition: IWORKXMLContext.h:18
std::map< unsigned, IWORKStylePtr_t > IWORKListStyle_t
Definition: IWORKTypes.h:358
std::deque< IWORKListLabelGeometry > m_labelGeometries
Definition: IWORKListstyleElement.h:37
std::deque< double > m_labelIndents
Definition: IWORKListstyleElement.h:39
void endOfElement() override
Definition: IWORKListstyleElement.cpp:51
IWORKListStyle_t & m_style
Definition: IWORKListstyleElement.h:36
Definition: IWORKToken.h:268
Definition: IWORKListstyleElement.h:22
std::deque< IWORKListLabelTypeInfo_t > m_typeInfos
Definition: IWORKListstyleElement.h:38
IWORKListstyleElement(IWORKXMLParserState &state, IWORKListStyle_t &style)
Definition: IWORKListstyleElement.cpp:30
const char * name
Definition: IWORKToken.cpp:43
std::deque< double > m_textIndents
Definition: IWORKListstyleElement.h:40
IWORKXMLContextPtr_t element(int name) override
Definition: IWORKListstyleElement.cpp:44
Definition: IWORKXMLContextBase.h:27
Definition: IWORKXMLParserState.h:30
IWORKListStyle_t m_localStyle
Definition: IWORKListstyleElement.h:35
Definition: IWORKPropertyHandler.h:18

Generated for libetonyek by doxygen 1.8.13