PAG1ShapeContext.h Source File documentation

PAG1ShapeContext.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 PAG1SHAPECONTEXT_H_INCLUDED
11 #define PAG1SHAPECONTEXT_H_INCLUDED
12
13 #include "IWORKShapeContext.h"
14 #include "PAG1XMLContextBase.h"
15
16 namespace libetonyek
17 {
18
19 class PAG1ShapeContext : public PAG1XMLContextBase<IWORKShapeContext>
20 {
21 public:
22 explicit PAG1ShapeContext(PAG1ParserState &state);
23
24 private:
25 void attribute(int name, const char *value) override;
26 IWORKXMLContextPtr_t element(int name) override;
27 };
28
29 }
30
31 #endif // PAG1SHAPECONTEXT_H_INCLUDED
32
33 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libetonyek::PAG1Token::NS_URI_SL
@ NS_URI_SL
Definition: PAG1Token.h:77
IWORKDictionary.h
IWORKGeometryElement.h
libetonyek
Definition: IWORKBezierElement.cpp:20
libetonyek::PAG1ParserState
Definition: PAG1ParserState.h:23
libetonyek::IWORKXMLContextPtr_t
std::shared_ptr< IWORKXMLContext > IWORKXMLContextPtr_t
Definition: IWORKXMLContext.h:18
IWORKPathElement.h
PAG1ShapeContext.h
libetonyek::PAG1XMLContextBase
Definition: PAG1XMLContextBase.h:22
libetonyek::PAG1ShapeContext
Definition: PAG1ShapeContext.h:19
libetonyek::PAG_TEXTSTORAGE_KIND_TEXTBOX
@ PAG_TEXTSTORAGE_KIND_TEXTBOX
Definition: PAGEnum.h:27
libetonyek::try_int_cast
boost::optional< int > try_int_cast(const char *value)
Definition: libetonyek_xml.cpp:99
IWORKShapeContext.h
libetonyek::IWORKShapeContext::m_order
boost::optional< int > m_order
Definition: IWORKShapeContext.h:36
libetonyek::IWORKShapeContext
Definition: IWORKShapeContext.h:22
libetonyek::PAG1Token::order
@ order
Definition: PAG1Token.h:43
libetonyek::PAG1ShapeContext::element
IWORKXMLContextPtr_t element(int name) override
Definition: PAG1ShapeContext.cpp:82
PAG1Token.h
libetonyek::IWORKToken::element
@ element
Definition: IWORKToken.h:188
PAG1TextStorageElement.h
IWORKTextElement.h
libetonyek::IWORKToken::text_storage
@ text_storage
Definition: IWORKToken.h:471
libetonyek::PAG1ShapeContext::attribute
void attribute(int name, const char *value) override
Definition: PAG1ShapeContext.cpp:70
libetonyek::IWORKToken::NS_URI_SF
@ NS_URI_SF
Definition: IWORKToken.h:688
libetonyek::PAG1ShapeContext::PAG1ShapeContext
PAG1ShapeContext(PAG1ParserState &state)
Definition: PAG1ShapeContext.cpp:65
PAG1XMLContextBase.h
IWORKToken.h
IWORKRefContext.h
PAG1ParserState.h
libetonyek::IWORKToken::name
@ name
Definition: IWORKToken.h:578
libetonyek::IWORKToken::value
@ value
Definition: IWORKToken.h:624
PAGCollector.h
libetonyek_xml.h
libetonyek::IWORKToken::text
@ text
Definition: IWORKToken.h:465
m_stylesheet
const IWORKStylesheetPtr_t m_stylesheet
Definition: IWORKRecorder.cpp:127
libetonyek::IWORKXMLContextBase< IWORKShapeContext, PAG1ParserState, PAGCollector >::getState
PAG1ParserState & getState()
Definition: IWORKXMLContextBase.h:43