IWORKFormula.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 IWORKFORMULA_H_INCLUDED
11 #define IWORKFORMULA_H_INCLUDED
12 
13 #include <string>
14 
15 #include <boost/shared_ptr.hpp>
16 
17 #include "IWORKTypes_fwd.h"
18 #include "libetonyek_utils.h"
19 
20 namespace libetonyek
21 {
22 
24 {
25  struct Impl;
26 
27 public:
28  IWORKFormula();
29 
30  bool parse(const std::string &formula);
31 
32  const std::string str() const;
33 
34  void write(librevenge::RVNGPropertyListVector &formula, const IWORKTableNameMapPtr_t &tableNameMap) const;
35 
36 private:
37  boost::shared_ptr<Impl> m_impl;
38 };
39 
40 } // namespace libetonyek
41 
42 #endif // IWORKFORMULA_H_INCLUDED
43 
44 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
Definition: IWORKBezierElement.cpp:18
boost::shared_ptr< Impl > m_impl
Definition: IWORKFormula.h:37
bool parse(const std::string &formula)
const std::string str() const
Definition: IWORKFormula.h:23
boost::shared_ptr< IWORKTableNameMap_t > IWORKTableNameMapPtr_t
Definition: IWORKTypes_fwd.h:33
Definition: IWORKToken.h:252
void write(librevenge::RVNGPropertyListVector &formula, const IWORKTableNameMapPtr_t &tableNameMap) const

Generated for libetonyek by doxygen 1.8.10