10 #ifndef IWORKFORMULAELEMENT_H_INCLUDED
11 #define IWORKFORMULAELEMENT_H_INCLUDED
13 #include <boost/optional.hpp>
30 const boost::optional<ID_t> &
getId()
const;
33 boost::optional<ID_t>
m_id;
35 boost::optional<unsigned>
m_hc;
48 const boost::optional<ID_t> &
getId()
const;
51 boost::optional<ID_t>
m_id;
53 boost::optional<unsigned>
m_hc;
66 const boost::optional<ID_t> &
getId()
const;
69 boost::optional<ID_t>
m_id;
86 boost::optional<unsigned>
m_hc;
90 #endif // IWORKFORMULAELEMENT_H_INCLUDED
std::shared_ptr< IWORKXMLContext > IWORKXMLContextPtr_t
Definition: IWORKXMLContext.h:18
void attribute(int name, const char *value) override
Definition: IWORKFormulaElement.cpp:161
boost::optional< ID_t > m_ref
Definition: IWORKFormulaElement.h:85
IWORKOfElement(IWORKXMLParserState &state)
Definition: IWORKFormulaElement.cpp:211
Definition: IWORKToken.h:631
class to parse the sf:of element, ie formula offset element
Definition: IWORKFormulaElement.h:75
const boost::optional< ID_t > & getId() const
Definition: IWORKFormulaElement.cpp:156
void endOfElement() override
Definition: IWORKFormulaElement.cpp:197
void attribute(int name, const char *value) override
Definition: IWORKFormulaElement.cpp:218
boost::optional< unsigned > m_hc
Definition: IWORKFormulaElement.h:86
IWORKXMLContextPtr_t element(int name) override
Definition: IWORKFormulaElement.cpp:182
const char * name
Definition: IWORKToken.cpp:43
void endOfElement() override
Definition: IWORKFormulaElement.cpp:248
IWORKXMLContextPtr_t element(int name) override
Definition: IWORKFormulaElement.cpp:231
boost::optional< ID_t > m_id
Definition: IWORKFormulaElement.h:33
Definition: IWORKXMLContextBase.h:27
Definition: IWORKXMLParserState.h:31
IWORKFoElement(IWORKXMLParserState &state)
Definition: IWORKFormulaElement.cpp:148
boost::optional< unsigned > m_hc
Definition: IWORKFormulaElement.h:35
class to parse the sf:fo element, ie. formula element
Definition: IWORKFormulaElement.h:21
boost::optional< std::string > m_formula
Definition: IWORKFormulaElement.h:34