the main class to read the formula part of RagTime 56 file More...
#include <RagTime5Formula.hxx>
Public Member Functions | |
| RagTime5Formula (RagTime5Document &doc) | |
| constructor More... | |
| virtual | ~RagTime5Formula () |
| destructor More... | |
| int | version () const |
| returns the file version More... | |
| bool | readFormulaClusters (RagTime5ClusterManager::Link const &link, int sheetId) |
| try to read some formula cluster More... | |
| std::set< unsigned long > const & | getFunctionsId () const |
| returns the set of function id in fields More... | |
Static Public Member Functions | |
| static std::string | printType (unsigned long fileType) |
| debug: print a file type More... | |
Protected Member Functions | |
| bool | readFunctionNames (RagTime5ClusterManager::Link const &link) |
| try to read the functions name More... | |
| bool | readFormulaZones (RagTime5ClusterManager::Cluster &cluster, RagTime5ClusterManager::Link const &link, int sheetId, bool isDefinition) |
| try to read a list of formula definition More... | |
| bool | readFormulaDefinition (RagTime5Zone &zone, long endPos, int sheetId, int n, std::vector< MWAWCellContent::FormulaInstruction > &formula) |
| try to read a formula definition More... | |
| bool | readFormulaPosition (RagTime5Zone &zone, long endPos, int n) |
| try to read a formula position More... | |
| bool | readFormula (MWAWInputStreamPtr &input, std::vector< MWAWCellContent::FormulaInstruction > &formula, long const(&limitPos)[5], std::vector< std::string > const &functions, std::vector< MWAWCellContent::FormulaInstruction > const &cells, libmwaw::DebugStream &f) const |
| try to read a formula More... | |
| bool | readFormula2 (MWAWInputStreamPtr &input, long const(&limitPos)[5], std::vector< std::string > const &functions, std::vector< MWAWCellContent::FormulaInstruction > const &cells, libmwaw::DebugStream &f) const |
| try to read a formula (second zone) More... | |
Protected Attributes | |
| RagTime5Document & | m_document |
| the parser More... | |
| std::shared_ptr< RagTime5StructManager > | m_structManager |
| the structure manager More... | |
| MWAWParserStatePtr | m_parserState |
| the parser state More... | |
| std::shared_ptr< RagTime5FormulaInternal::State > | m_state |
| the state More... | |
Private Member Functions | |
| RagTime5Formula (RagTime5Formula const &orig)=delete | |
| RagTime5Formula & | operator= (RagTime5Formula const &orig)=delete |
Friends | |
| class | RagTime5Document |
the main class to read the formula part of RagTime 56 file
|
explicit |
constructor
|
virtual |
destructor
|
privatedelete |
| std::set< unsigned long > const & RagTime5Formula::getFunctionsId | ( | ) | const |
returns the set of function id in fields
|
privatedelete |
|
inlinestatic |
debug: print a file type
Referenced by readFormulaDefinition().
|
protected |
try to read a formula
Referenced by readFormulaDefinition().
|
protected |
try to read a formula (second zone)
Referenced by readFormulaDefinition().
| bool RagTime5Formula::readFormulaClusters | ( | RagTime5ClusterManager::Link const & | link, |
| int | sheetId | ||
| ) |
try to read some formula cluster
|
protected |
try to read a formula definition
Referenced by readFormulaZones().
|
protected |
try to read a formula position
Referenced by readFormulaZones().
|
protected |
try to read a list of formula definition
Referenced by readFormulaClusters().
|
protected |
try to read the functions name
| int RagTime5Formula::version | ( | ) | const |
returns the file version
|
friend |
|
protected |
the parser
Referenced by readFormulaClusters(), readFormulaDefinition(), readFormulaZones(), and readFunctionNames().
|
protected |
the parser state
Referenced by version().
|
protected |
the state
Referenced by getFunctionsId(), readFormulaDefinition(), and readFunctionNames().
|
protected |
the structure manager
Referenced by readFormulaDefinition(), and readFormulaPosition().