diff options
author | Eike Rathke <erack@redhat.com> | 2015-09-01 15:39:41 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2015-09-01 15:41:58 +0200 |
commit | f565867dfdc3a320e25522122f58491ebcbd0fb5 (patch) | |
tree | bb049b6d715351a828f6fde2b3b5177b2e65f360 /formula | |
parent | c1e066fda260d9ae8edfe789ce531a894d1ef134 (diff) |
TableRef: activate structured references export to OOXML
Change-Id: I737b0c28a9b337af62e1a33bbce15049a0d854a4
Diffstat (limited to 'formula')
-rw-r--r-- | formula/source/core/api/FormulaCompiler.cxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/formula/source/core/api/FormulaCompiler.cxx b/formula/source/core/api/FormulaCompiler.cxx index bed66336c825..4ee0f7268d82 100644 --- a/formula/source/core/api/FormulaCompiler.cxx +++ b/formula/source/core/api/FormulaCompiler.cxx @@ -1994,14 +1994,11 @@ void FormulaCompiler::AppendString( OUStringBuffer& rBuffer, const OUString & rS bool FormulaCompiler::NeedsTableRefTransformation() const { - /* TODO: currently only UI representations use Table structured - * references. Not defined in ODFF, and not implemented yet for OOXML - * export. Change this once OOXML export is implemented, until then write - * A1 style references also for OOXML to not lose functionality. */ + // Currently only UI representations and OOXML export use Table structured + // references. Not defined in ODFF. // Unnecessary to explicitly check for ODFF grammar as the ocTableRefOpen // symbol is not defined there. - return mxSymbols->getSymbol( ocTableRefOpen).isEmpty() || FormulaGrammar::isPODF( meGrammar) - || FormulaGrammar::isOOXML( meGrammar); + return mxSymbols->getSymbol( ocTableRefOpen).isEmpty() || FormulaGrammar::isPODF( meGrammar); } void FormulaCompiler::UpdateSeparatorsNative( |