KEY1ContentElement.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 KEY1CONTENTELEMENT_H_INCLUDED
11 #define KEY1CONTENTELEMENT_H_INCLUDED
12 
13 #include <boost/shared_ptr.hpp>
14 
15 #include "KEY1XMLContextBase.h"
16 
17 #include "IWORKEnum.h"
18 #include "IWORKStyle.h"
19 
20 #include "KEY1SpanElement.h"
21 #include "KEY1DivElement.h"
22 
23 namespace libetonyek
24 {
25 class IWORKText;
26 class KEY1ParserState;
27 
29 {
30 public:
31  explicit KEY1ContentElement(KEY1ParserState &state);
32 
33 protected:
34  void attribute(int name, const char *value) override;
35  IWORKXMLContextPtr_t element(int name) override;
36  void CDATA(const char *value) override;
37  void text(const char *value) override;
38 
39 private:
43 };
44 
45 }
46 
47 #endif // KEY1CONTENTELEMENT_H_INCLUDED
48 
49 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
std::shared_ptr< IWORKXMLContext > IWORKXMLContextPtr_t
Definition: IWORKXMLContext.h:18
Definition: KEY1ParserState.h:44
Definition: KEY1DivElement.h:23
Definition: IWORKToken.h:631
Definition: KEY1SpanElement.h:23
bool m_delayedLineBreak
Definition: KEY1ContentElement.h:42
IWORKXMLContextPtr_t element(int name) override
Definition: KEY1ContentElement.cpp:47
void text(const char *value) override
Definition: KEY1ContentElement.cpp:70
KEY1ContentElement(KEY1ParserState &state)
Definition: KEY1ContentElement.cpp:24
void attribute(int name, const char *value) override
Definition: KEY1ContentElement.cpp:32
void CDATA(const char *value) override
Definition: KEY1ContentElement.cpp:61
const char * name
Definition: IWORKToken.cpp:43
Definition: KEY1XMLContextBase.h:22
Definition: KEY1ContentElement.h:28
KEY1DivStyle m_divStyle
Definition: KEY1ContentElement.h:40
KEY1SpanStyle m_spanStyle
Definition: KEY1ContentElement.h:41

Generated for libetonyek by doxygen 1.8.6