diff options
author | Miklos Vajna <vmiklos@suse.cz> | 2013-07-01 11:13:40 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2013-07-01 11:16:25 +0200 |
commit | 7857d772f7f82a33de506cd10e4298aa092bfe8f (patch) | |
tree | 29bdb4717f0dad87c3647ec6d6f95605b04653fd /writerfilter | |
parent | 9ab800829b8a0e44824dc11276b54b1870bc5b2b (diff) |
SmOoxmlImport: update doc on how to extract handled token list
Change-Id: I7cea50e99a4ffd9eac357251ffe630921ec64795
Diffstat (limited to 'writerfilter')
-rw-r--r-- | writerfilter/source/rtftok/README | 2 | ||||
-rw-r--r-- | writerfilter/source/rtftok/rtfdocumentimpl.cxx | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/writerfilter/source/rtftok/README b/writerfilter/source/rtftok/README index e77c05f71847..4adbb7563b8b 100644 --- a/writerfilter/source/rtftok/README +++ b/writerfilter/source/rtftok/README @@ -6,7 +6,7 @@ At the time of writing, all control words understood by SmOoxmlImport are imported. To view the current status: ---- -grep M_TOKEN starmath/source/ooxmlimport.cxx |sed 's/.*\(M_TOKEN(\)/\1/;s/).*/)/'|sort -u > ~/math-import-list +grep M_TOKEN starmath/source/ooxmlimport.cxx |sed 's/.*\(M_TOKEN(\) /\1/;s/ ).*/)/'|sort -u > ~/math-import-list grep '[^_]M_TOKEN' writerfilter/source/rtftok/rtfdocumentimpl.cxx |sed 's/.*\(M_TOKEN(\)/\1/;s/).*/)/'|sort -u > ~/wf-export-list diff -u ~/math-import-list ~/wf-export-list |grep ^-M_TOKEN ---- diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx index f408346be01e..31cc365972de 100644 --- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx +++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx @@ -200,6 +200,7 @@ static void lcl_DestinationToMath(OUStringBuffer& rDestinationText, oox::formula if (rMathNor) { rMathBuffer.appendOpeningTag(M_TOKEN(rPr)); + // Same as M_TOKEN(lit) rMathBuffer.appendOpeningTag(M_TOKEN(nor)); rMathBuffer.appendClosingTag(M_TOKEN(nor)); rMathBuffer.appendClosingTag(M_TOKEN(rPr)); |