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

TableRef: activate structured references export to OOXML

Change-Id: I737b0c28a9b337af62e1a33bbce15049a0d854a4
üst c1e066fd
...@@ -1994,14 +1994,11 @@ void FormulaCompiler::AppendString( OUStringBuffer& rBuffer, const OUString & rS ...@@ -1994,14 +1994,11 @@ void FormulaCompiler::AppendString( OUStringBuffer& rBuffer, const OUString & rS
bool FormulaCompiler::NeedsTableRefTransformation() const bool FormulaCompiler::NeedsTableRefTransformation() const
{ {
/* TODO: currently only UI representations use Table structured // Currently only UI representations and OOXML export use Table structured
* references. Not defined in ODFF, and not implemented yet for OOXML // references. Not defined in ODFF.
* export. Change this once OOXML export is implemented, until then write
* A1 style references also for OOXML to not lose functionality. */
// Unnecessary to explicitly check for ODFF grammar as the ocTableRefOpen // Unnecessary to explicitly check for ODFF grammar as the ocTableRefOpen
// symbol is not defined there. // symbol is not defined there.
return mxSymbols->getSymbol( ocTableRefOpen).isEmpty() || FormulaGrammar::isPODF( meGrammar) return mxSymbols->getSymbol( ocTableRefOpen).isEmpty() || FormulaGrammar::isPODF( meGrammar);
|| FormulaGrammar::isOOXML( meGrammar);
} }
void FormulaCompiler::UpdateSeparatorsNative( void FormulaCompiler::UpdateSeparatorsNative(
......
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