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 IWORKText.h:34
void CDATA(const char *value) override
Definition KEY1ContentElement.cpp:61
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
Definition KEY1DivElement.h:24
Definition KEY1ParserState.h:45
Definition KEY1SpanElement.h:24
@ value
Definition IWORKToken.h:631
@ text
Definition IWORKToken.h:472
@ element
Definition IWORKToken.h:192
@ name
Definition IWORKToken.h:585
Definition IWORKBezierElement.cpp:21
KEY1XMLContextBase< IWORKXMLContextElement > KEY1XMLElementContextBase
Definition KEY1XMLContextBase.h:39
std::shared_ptr< IWORKXMLContext > IWORKXMLContextPtr_t
Definition IWORKXMLContext.h:20

Generated for libetonyek by doxygen 1.13.2