IWORKFormula.h Source File documentation

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