summaryrefslogtreecommitdiff
path: root/writerfilter/source/rtftok/README
blob: 0a554bbd299cb07ed7585aae6d6b8471fba2e16c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
= Writerfilter-based RTF tokenizer

== Mathematics

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' 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
----

== Coding style

This directory uses mostly the same coding style like the rest of Fridrich's
libraries. Please run

----
astyle --options=astyle.options \*.cxx \*.hxx
----

before committing.