IWORKXMLParserState.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 IWORKXMLPARSERSTATE_H_INCLUDED
11 #define IWORKXMLPARSERSTATE_H_INCLUDED
12 
13 #include <boost/shared_ptr.hpp>
14 
15 #include "IWORKStylesheet.h"
16 #include "IWORKTypes.h"
17 #include "IWORKTypes_fwd.h"
18 
19 namespace libetonyek
20 {
21 
22 class IWORKCollector;
23 struct IWORKDictionary;
24 class IWORKParser;
25 class IWORKTable;
26 class IWORKText;
27 class IWORKTokenizer;
28 
30 {
31  // not copyable
34 
35 public:
37 
41  const IWORKTokenizer &getTokenizer() const;
42 
43 public:
46  // When false, nothing should be sent to collector. This is used to
47  // gather referenceable entities in skipped parts of the file.
50  boost::shared_ptr<IWORKTable> m_currentTable;
51  boost::shared_ptr<IWORKText> m_currentText;
52 
53 private:
57 };
58 
59 }
60 
61 #endif // IWORKXMLPARSERSTATE_H_INCLUDED
62 
63 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
boost::shared_ptr< IWORKText > m_currentText
Definition: IWORKXMLParserState.h:51
boost::shared_ptr< IWORKStylesheet > IWORKStylesheetPtr_t
Definition: IWORKStylesheet.h:19
Definition: IWORKBezierElement.cpp:18
Definition: IWORKParser.h:23
bool m_enableCollector
Definition: IWORKXMLParserState.h:48
Definition: KEY1Token.h:49
boost::shared_ptr< IWORKTable > m_currentTable
Definition: IWORKXMLParserState.h:50
const IWORKTokenizer & getTokenizer() const
Definition: IWORKXMLParserState.cpp:52
IWORKXMLParserState & operator=(const IWORKXMLParserState &)
IWORKXMLParserState(const IWORKXMLParserState &)
IWORKParser & getParser()
Definition: IWORKXMLParserState.cpp:37
IWORKCollector & m_collector
Definition: IWORKXMLParserState.h:55
IWORKDictionary & getDictionary()
Definition: IWORKXMLParserState.cpp:42
A dictionary of all referenceable entities in the presentation.
Definition: IWORKDictionary.h:35
IWORKStylesheetPtr_t m_stylesheet
Definition: IWORKXMLParserState.h:45
IWORKTableDataPtr_t m_tableData
Definition: IWORKXMLParserState.h:44
IWORKCollector & getCollector() const
Definition: IWORKXMLParserState.cpp:47
Definition: IWORKCollector.h:40
IWORKTableNameMapPtr_t m_tableNameMap
Definition: IWORKXMLParserState.h:49
IWORKParser & m_parser
Definition: IWORKXMLParserState.h:54
Definition: IWORKXMLParserState.h:29
boost::shared_ptr< IWORKTableNameMap_t > IWORKTableNameMapPtr_t
Definition: IWORKTypes_fwd.h:33
boost::shared_ptr< IWORKTableData > IWORKTableDataPtr_t
Definition: IWORKTypes_fwd.h:75
IWORKDictionary & m_dict
Definition: IWORKXMLParserState.h:56
Definition: IWORKTokenizer.h:16

Generated for libetonyek by doxygen 1.8.10