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
23namespace libetonyek
24{
25class IWORKText;
26class KEY1ParserState;
27
29{
30public:
31 explicit KEY1ContentElement(KEY1ParserState &state);
32
33protected:
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
39private:
43};
44
45}
46
47#endif // KEY1CONTENTELEMENT_H_INCLUDED
48
49/* vim:set shiftwidth=2 softtabstop=2 expandtab: */
Definition: KEY1ContentElement.h:29
void CDATA(const char *value) override
Definition: KEY1ContentElement.cpp:61
void text(const char *value) override
Definition: KEY1ContentElement.cpp:70
KEY1DivStyle m_divStyle
Definition: KEY1ContentElement.h:40
bool m_delayedLineBreak
Definition: KEY1ContentElement.h:42
KEY1ContentElement(KEY1ParserState &state)
Definition: KEY1ContentElement.cpp:24
void attribute(int name, const char *value) override
Definition: KEY1ContentElement.cpp:32
KEY1SpanStyle m_spanStyle
Definition: KEY1ContentElement.h:41
IWORKXMLContextPtr_t element(int name) override
Definition: KEY1ContentElement.cpp:47
Definition: KEY1DivElement.h:24
Definition: KEY1ParserState.h:45
Definition: KEY1SpanElement.h:24
Definition: KEY1XMLContextBase.h:23
@ value
Definition: IWORKToken.h:624
@ name
Definition: IWORKToken.h:578
Definition: IWORKBezierElement.cpp:21
std::shared_ptr< IWORKXMLContext > IWORKXMLContextPtr_t
Definition: IWORKXMLContext.h:18

Generated for libetonyek by doxygen 1.9.3