IWORKStyleRefContext.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 IWORKSTYLEREFCONTEXT_H_INCLUDED
11 #define IWORKSTYLEREFCONTEXT_H_INCLUDED
12 
13 #include "IWORKXMLContextBase.h"
14 
15 namespace libetonyek
16 {
17 
18 struct IWORKDictionary;
19 
21 {
22 public:
23  IWORKStyleRefContext(IWORKXMLParserState &state, int id, bool nested = false, bool anonymous = false);
24 
25  virtual void attribute(int name, const char *value);
26  virtual void endOfElement();
27 
28 private:
30 
31 private:
32  const int m_id;
33  const bool m_nested;
34  const bool m_anonymous;
35 };
36 
37 }
38 
39 #endif // IWORKSTYLEREFCONTEXT_H_INCLUDED
40 
41 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
virtual void attribute(int name, const char *value)
Definition: IWORKStyleRefContext.cpp:28
A dictionary of all referenceable entities in the presentation.
Definition: IWORKDictionary.h:35
IWORKStyleRefContext(IWORKXMLParserState &state, int id, bool nested=false, bool anonymous=false)
Definition: IWORKStyleRefContext.cpp:20
const char * name
Definition: IWORKToken.cpp:43
Definition: IWORKStyleRefContext.h:20
const int m_id
Definition: IWORKStyleRefContext.h:32
Definition: IWORKXMLContextBase.h:27
Definition: IWORKXMLParserState.h:21
const bool m_nested
Definition: IWORKStyleRefContext.h:33
const bool m_anonymous
Definition: IWORKStyleRefContext.h:34
IWORKDictionary & getDictionary()
Definition: IWORKStyleRefContext.cpp:79
virtual void endOfElement()
Definition: IWORKStyleRefContext.cpp:33

Generated for libetonyek by doxygen 1.8.5