Kaydet (Commit) 5a5b35c9 authored tarafından Eike Rathke's avatar Eike Rathke

added isOOXML()

Change-Id: I9e088e1d6679297884d71604b03537b73ee3387c
üst 2dcee42f
......@@ -156,6 +156,9 @@ public:
/// Is it an ODFF / ODF 1.2 mapping?
inline bool isODFF() const { return FormulaGrammar::isODFF( meGrammar); }
/// Is it an OOXML mapping?
inline bool isOOXML() const { return FormulaGrammar::isOOXML( meGrammar); }
/// Does it have external symbol/name mappings?
inline bool hasExternals() const { return !mpExternalHashMap->empty(); }
......
......@@ -244,6 +244,13 @@ public:
::com::sun::star::sheet::FormulaLanguage::ODFF;
}
/// If grammar is of OOXML
static inline bool isOOXML( const Grammar eGrammar )
{
return extractFormulaLanguage( eGrammar) ==
::com::sun::star::sheet::FormulaLanguage::OOXML;
}
};
// =============================================================================
} // formula
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment