summaryrefslogtreecommitdiffstats
path: root/lib/kformula
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kformula')
-rw-r--r--lib/kformula/Makefile.am34
-rw-r--r--lib/kformula/MatrixDialog.cpp (renamed from lib/kformula/MatrixDialog.cc)0
-rw-r--r--lib/kformula/actionelement.cpp (renamed from lib/kformula/actionelement.cc)0
-rw-r--r--lib/kformula/basicelement.cpp (renamed from lib/kformula/basicelement.cc)0
-rw-r--r--lib/kformula/bracketelement.cpp (renamed from lib/kformula/bracketelement.cc)0
-rw-r--r--lib/kformula/contextstyle.cpp (renamed from lib/kformula/contextstyle.cc)0
-rw-r--r--lib/kformula/creationstrategy.cpp (renamed from lib/kformula/creationstrategy.cc)0
-rw-r--r--lib/kformula/elementtype.cpp (renamed from lib/kformula/elementtype.cc)0
-rw-r--r--lib/kformula/encloseelement.cpp (renamed from lib/kformula/encloseelement.cc)0
-rw-r--r--lib/kformula/entities.cpp (renamed from lib/kformula/entities.cc)0
-rw-r--r--lib/kformula/errorelement.cpp (renamed from lib/kformula/errorelement.cc)0
-rw-r--r--lib/kformula/fontstyle.cpp (renamed from lib/kformula/fontstyle.cc)2
-rw-r--r--lib/kformula/formulacursor.cpp (renamed from lib/kformula/formulacursor.cc)0
-rw-r--r--lib/kformula/formulaelement.cpp (renamed from lib/kformula/formulaelement.cc)0
-rw-r--r--lib/kformula/fractionelement.cpp (renamed from lib/kformula/fractionelement.cc)0
-rw-r--r--lib/kformula/glyphelement.cpp (renamed from lib/kformula/glyphelement.cc)0
-rw-r--r--lib/kformula/identifierelement.cpp (renamed from lib/kformula/identifierelement.cc)0
-rw-r--r--lib/kformula/indexelement.cpp (renamed from lib/kformula/indexelement.cc)0
-rw-r--r--lib/kformula/kformulacommand.cpp (renamed from lib/kformula/kformulacommand.cc)0
-rw-r--r--lib/kformula/kformulacompatibility.cpp (renamed from lib/kformula/kformulacompatibility.cc)0
-rw-r--r--lib/kformula/kformulaconfigpage.cpp (renamed from lib/kformula/kformulaconfigpage.cc)0
-rw-r--r--lib/kformula/kformulacontainer.cpp (renamed from lib/kformula/kformulacontainer.cc)0
-rw-r--r--lib/kformula/kformuladocument.cpp (renamed from lib/kformula/kformuladocument.cc)0
-rw-r--r--lib/kformula/kformulainputfilter.cpp (renamed from lib/kformula/kformulainputfilter.cc)0
-rw-r--r--lib/kformula/kformulamathmlread.cpp (renamed from lib/kformula/kformulamathmlread.cc)0
-rw-r--r--lib/kformula/kformulamimesource.cpp (renamed from lib/kformula/kformulamimesource.cc)0
-rw-r--r--lib/kformula/kformulaview.cpp (renamed from lib/kformula/kformulaview.cc)0
-rw-r--r--lib/kformula/kformulawidget.cpp (renamed from lib/kformula/kformulawidget.cc)0
-rw-r--r--lib/kformula/main.cpp (renamed from lib/kformula/main.cc)0
-rw-r--r--lib/kformula/matrixelement.cpp (renamed from lib/kformula/matrixelement.cc)0
-rw-r--r--lib/kformula/numberelement.cpp (renamed from lib/kformula/numberelement.cc)0
-rw-r--r--lib/kformula/oasiscreationstrategy.cpp (renamed from lib/kformula/oasiscreationstrategy.cc)0
-rw-r--r--lib/kformula/operatordictionary.cpp (renamed from lib/kformula/operatordictionary.cc)0
-rw-r--r--lib/kformula/operatorelement.cpp (renamed from lib/kformula/operatorelement.cc)0
-rw-r--r--lib/kformula/paddedelement.cpp (renamed from lib/kformula/paddedelement.cc)0
-rw-r--r--lib/kformula/phantomelement.cpp (renamed from lib/kformula/phantomelement.cc)0
-rw-r--r--lib/kformula/prototype/gensymbolfontmap.py8
-rw-r--r--lib/kformula/rootelement.cpp (renamed from lib/kformula/rootelement.cc)0
-rwxr-xr-xlib/kformula/scripts/bynames.py2
-rwxr-xr-xlib/kformula/scripts/oper-dict.py2
-rw-r--r--lib/kformula/sequenceelement.cpp (renamed from lib/kformula/sequenceelement.cc)0
-rw-r--r--lib/kformula/sequenceparser.cpp (renamed from lib/kformula/sequenceparser.cc)0
-rw-r--r--lib/kformula/spaceelement.cpp (renamed from lib/kformula/spaceelement.cc)0
-rw-r--r--lib/kformula/stringelement.cpp (renamed from lib/kformula/stringelement.cc)0
-rw-r--r--lib/kformula/styleelement.cpp (renamed from lib/kformula/styleelement.cc)0
-rw-r--r--lib/kformula/symbolaction.cpp (renamed from lib/kformula/symbolaction.cc)0
-rw-r--r--lib/kformula/symbolelement.cpp (renamed from lib/kformula/symbolelement.cc)0
-rw-r--r--lib/kformula/symbolfontmapping.cpp (renamed from lib/kformula/symbolfontmapping.cc)0
-rw-r--r--lib/kformula/symboltable.cpp (renamed from lib/kformula/symboltable.cc)4
-rw-r--r--lib/kformula/textelement.cpp (renamed from lib/kformula/textelement.cc)0
-rw-r--r--lib/kformula/tokenelement.cpp (renamed from lib/kformula/tokenelement.cc)0
-rw-r--r--lib/kformula/tokenstyleelement.cpp (renamed from lib/kformula/tokenstyleelement.cc)0
-rw-r--r--lib/kformula/unicodetable.cpp (renamed from lib/kformula/unicodetable.cc)0
53 files changed, 26 insertions, 26 deletions
diff --git a/lib/kformula/Makefile.am b/lib/kformula/Makefile.am
index 4ad27bcc..e666bf48 100644
--- a/lib/kformula/Makefile.am
+++ b/lib/kformula/Makefile.am
@@ -7,20 +7,20 @@ SUBDIRS = pics fonts dtd
# We have to name it kformulalib, not just kformula, since that's the name of the tdeinit module for kformula.
lib_LTLIBRARIES = libkformulalib.la
-libkformulalib_la_SOURCES = basicelement.cc contextstyle.cc formulacursor.cc \
- formulaelement.cc indexelement.cc kformulacontainer.cc \
- sequenceelement.cc textelement.cc bracketelement.cc \
- matrixelement.cc fractionelement.cc rootelement.cc symbolelement.cc \
- kformulacommand.cc kformulamimesource.cc \
- MatrixDialog.cc sequenceparser.cc elementtype.cc kformuladocument.cc \
- symboltable.cc kformulainputfilter.cc kformulaview.cc \
- spaceelement.cc kformulaconfigpage.cc \
- symbolaction.cc fontstyle.cc creationstrategy.cc \
- oasiscreationstrategy.cc tokenstyleelement.cc tokenelement.cc \
- identifierelement.cc operatorelement.cc glyphelement.cc styleelement.cc \
- stringelement.cc paddedelement.cc errorelement.cc phantomelement.cc \
- actionelement.cc encloseelement.cc entities.cc operatordictionary.cc \
- numberelement.cc
+libkformulalib_la_SOURCES = basicelement.cpp contextstyle.cpp formulacursor.cpp \
+ formulaelement.cpp indexelement.cpp kformulacontainer.cpp \
+ sequenceelement.cpp textelement.cpp bracketelement.cpp \
+ matrixelement.cpp fractionelement.cpp rootelement.cpp symbolelement.cpp \
+ kformulacommand.cpp kformulamimesource.cpp \
+ MatrixDialog.cpp sequenceparser.cpp elementtype.cpp kformuladocument.cpp \
+ symboltable.cpp kformulainputfilter.cpp kformulaview.cpp \
+ spaceelement.cpp kformulaconfigpage.cpp \
+ symbolaction.cpp fontstyle.cpp creationstrategy.cpp \
+ oasiscreationstrategy.cpp tokenstyleelement.cpp tokenelement.cpp \
+ identifierelement.cpp operatorelement.cpp glyphelement.cpp styleelement.cpp \
+ stringelement.cpp paddedelement.cpp errorelement.cpp phantomelement.cpp \
+ actionelement.cpp encloseelement.cpp entities.cpp operatordictionary.cpp \
+ numberelement.cpp
#include_HEADERS = kformulacontainer.h kformuladocument.h kformulaview.h \
# kformuladefs.h kformulaconfigpage.h
@@ -32,8 +32,8 @@ libkformulalib_la_METASOURCES = AUTO
check_PROGRAMS = kformulatest
-kformulatest_SOURCES = main.cc kformulawidget.cc
+kformulatest_SOURCES = main.cpp kformulawidget.cpp
kformulatest_LDADD = libkformulalib.la
-#symbolnames.cc:
-# awk -F, '$$1 !~ "#" {if (split($$3,a," ")>0) print "i18n(\"" a[1] "\");"}' config/unicode.tbl > symbolnames.cc
+#symbolnames.cpp:
+# awk -F, '$$1 !~ "#" {if (split($$3,a," ")>0) print "i18n(\"" a[1] "\");"}' config/unicode.tbl > symbolnames.cpp
diff --git a/lib/kformula/MatrixDialog.cc b/lib/kformula/MatrixDialog.cpp
index feac37ce..feac37ce 100644
--- a/lib/kformula/MatrixDialog.cc
+++ b/lib/kformula/MatrixDialog.cpp
diff --git a/lib/kformula/actionelement.cc b/lib/kformula/actionelement.cpp
index e1dce937..e1dce937 100644
--- a/lib/kformula/actionelement.cc
+++ b/lib/kformula/actionelement.cpp
diff --git a/lib/kformula/basicelement.cc b/lib/kformula/basicelement.cpp
index 096814aa..096814aa 100644
--- a/lib/kformula/basicelement.cc
+++ b/lib/kformula/basicelement.cpp
diff --git a/lib/kformula/bracketelement.cc b/lib/kformula/bracketelement.cpp
index 45aa5469..45aa5469 100644
--- a/lib/kformula/bracketelement.cc
+++ b/lib/kformula/bracketelement.cpp
diff --git a/lib/kformula/contextstyle.cc b/lib/kformula/contextstyle.cpp
index a744e02d..a744e02d 100644
--- a/lib/kformula/contextstyle.cc
+++ b/lib/kformula/contextstyle.cpp
diff --git a/lib/kformula/creationstrategy.cc b/lib/kformula/creationstrategy.cpp
index 592c744b..592c744b 100644
--- a/lib/kformula/creationstrategy.cc
+++ b/lib/kformula/creationstrategy.cpp
diff --git a/lib/kformula/elementtype.cc b/lib/kformula/elementtype.cpp
index bd2c3373..bd2c3373 100644
--- a/lib/kformula/elementtype.cc
+++ b/lib/kformula/elementtype.cpp
diff --git a/lib/kformula/encloseelement.cc b/lib/kformula/encloseelement.cpp
index 846f6bb2..846f6bb2 100644
--- a/lib/kformula/encloseelement.cc
+++ b/lib/kformula/encloseelement.cpp
diff --git a/lib/kformula/entities.cc b/lib/kformula/entities.cpp
index c6696e1f..c6696e1f 100644
--- a/lib/kformula/entities.cc
+++ b/lib/kformula/entities.cpp
diff --git a/lib/kformula/errorelement.cc b/lib/kformula/errorelement.cpp
index cb1f6c54..cb1f6c54 100644
--- a/lib/kformula/errorelement.cc
+++ b/lib/kformula/errorelement.cpp
diff --git a/lib/kformula/fontstyle.cc b/lib/kformula/fontstyle.cpp
index 32479b0f..33f9e9f7 100644
--- a/lib/kformula/fontstyle.cc
+++ b/lib/kformula/fontstyle.cpp
@@ -35,7 +35,7 @@
KFORMULA_NAMESPACE_BEGIN
-#include "unicodetable.cc"
+#include "unicodetable.cpp"
bool FontStyle::m_installed = false;
diff --git a/lib/kformula/formulacursor.cc b/lib/kformula/formulacursor.cpp
index 53d02b1f..53d02b1f 100644
--- a/lib/kformula/formulacursor.cc
+++ b/lib/kformula/formulacursor.cpp
diff --git a/lib/kformula/formulaelement.cc b/lib/kformula/formulaelement.cpp
index 946e595d..946e595d 100644
--- a/lib/kformula/formulaelement.cc
+++ b/lib/kformula/formulaelement.cpp
diff --git a/lib/kformula/fractionelement.cc b/lib/kformula/fractionelement.cpp
index 9f1125e1..9f1125e1 100644
--- a/lib/kformula/fractionelement.cc
+++ b/lib/kformula/fractionelement.cpp
diff --git a/lib/kformula/glyphelement.cc b/lib/kformula/glyphelement.cpp
index 709609cf..709609cf 100644
--- a/lib/kformula/glyphelement.cc
+++ b/lib/kformula/glyphelement.cpp
diff --git a/lib/kformula/identifierelement.cc b/lib/kformula/identifierelement.cpp
index 63275e1c..63275e1c 100644
--- a/lib/kformula/identifierelement.cc
+++ b/lib/kformula/identifierelement.cpp
diff --git a/lib/kformula/indexelement.cc b/lib/kformula/indexelement.cpp
index 6f2f6d1d..6f2f6d1d 100644
--- a/lib/kformula/indexelement.cc
+++ b/lib/kformula/indexelement.cpp
diff --git a/lib/kformula/kformulacommand.cc b/lib/kformula/kformulacommand.cpp
index 4aa31161..4aa31161 100644
--- a/lib/kformula/kformulacommand.cc
+++ b/lib/kformula/kformulacommand.cpp
diff --git a/lib/kformula/kformulacompatibility.cc b/lib/kformula/kformulacompatibility.cpp
index f64bf9de..f64bf9de 100644
--- a/lib/kformula/kformulacompatibility.cc
+++ b/lib/kformula/kformulacompatibility.cpp
diff --git a/lib/kformula/kformulaconfigpage.cc b/lib/kformula/kformulaconfigpage.cpp
index ce95c40c..ce95c40c 100644
--- a/lib/kformula/kformulaconfigpage.cc
+++ b/lib/kformula/kformulaconfigpage.cpp
diff --git a/lib/kformula/kformulacontainer.cc b/lib/kformula/kformulacontainer.cpp
index a6123154..a6123154 100644
--- a/lib/kformula/kformulacontainer.cc
+++ b/lib/kformula/kformulacontainer.cpp
diff --git a/lib/kformula/kformuladocument.cc b/lib/kformula/kformuladocument.cpp
index c041232f..c041232f 100644
--- a/lib/kformula/kformuladocument.cc
+++ b/lib/kformula/kformuladocument.cpp
diff --git a/lib/kformula/kformulainputfilter.cc b/lib/kformula/kformulainputfilter.cpp
index a2675271..a2675271 100644
--- a/lib/kformula/kformulainputfilter.cc
+++ b/lib/kformula/kformulainputfilter.cpp
diff --git a/lib/kformula/kformulamathmlread.cc b/lib/kformula/kformulamathmlread.cpp
index ff941d6f..ff941d6f 100644
--- a/lib/kformula/kformulamathmlread.cc
+++ b/lib/kformula/kformulamathmlread.cpp
diff --git a/lib/kformula/kformulamimesource.cc b/lib/kformula/kformulamimesource.cpp
index 4c7df0c7..4c7df0c7 100644
--- a/lib/kformula/kformulamimesource.cc
+++ b/lib/kformula/kformulamimesource.cpp
diff --git a/lib/kformula/kformulaview.cc b/lib/kformula/kformulaview.cpp
index 1e50694d..1e50694d 100644
--- a/lib/kformula/kformulaview.cc
+++ b/lib/kformula/kformulaview.cpp
diff --git a/lib/kformula/kformulawidget.cc b/lib/kformula/kformulawidget.cpp
index 68f941d9..68f941d9 100644
--- a/lib/kformula/kformulawidget.cc
+++ b/lib/kformula/kformulawidget.cpp
diff --git a/lib/kformula/main.cc b/lib/kformula/main.cpp
index c92adfd7..c92adfd7 100644
--- a/lib/kformula/main.cc
+++ b/lib/kformula/main.cpp
diff --git a/lib/kformula/matrixelement.cc b/lib/kformula/matrixelement.cpp
index 6b878380..6b878380 100644
--- a/lib/kformula/matrixelement.cc
+++ b/lib/kformula/matrixelement.cpp
diff --git a/lib/kformula/numberelement.cc b/lib/kformula/numberelement.cpp
index 7705e3ab..7705e3ab 100644
--- a/lib/kformula/numberelement.cc
+++ b/lib/kformula/numberelement.cpp
diff --git a/lib/kformula/oasiscreationstrategy.cc b/lib/kformula/oasiscreationstrategy.cpp
index 7d7a65cc..7d7a65cc 100644
--- a/lib/kformula/oasiscreationstrategy.cc
+++ b/lib/kformula/oasiscreationstrategy.cpp
diff --git a/lib/kformula/operatordictionary.cc b/lib/kformula/operatordictionary.cpp
index 787a58b5..787a58b5 100644
--- a/lib/kformula/operatordictionary.cc
+++ b/lib/kformula/operatordictionary.cpp
diff --git a/lib/kformula/operatorelement.cc b/lib/kformula/operatorelement.cpp
index 882eed01..882eed01 100644
--- a/lib/kformula/operatorelement.cc
+++ b/lib/kformula/operatorelement.cpp
diff --git a/lib/kformula/paddedelement.cc b/lib/kformula/paddedelement.cpp
index e4f28ce7..e4f28ce7 100644
--- a/lib/kformula/paddedelement.cc
+++ b/lib/kformula/paddedelement.cpp
diff --git a/lib/kformula/phantomelement.cc b/lib/kformula/phantomelement.cpp
index 78b0a1cb..78b0a1cb 100644
--- a/lib/kformula/phantomelement.cc
+++ b/lib/kformula/phantomelement.cpp
diff --git a/lib/kformula/prototype/gensymbolfontmap.py b/lib/kformula/prototype/gensymbolfontmap.py
index a1373815..df06eeed 100644
--- a/lib/kformula/prototype/gensymbolfontmap.py
+++ b/lib/kformula/prototype/gensymbolfontmap.py
@@ -62,12 +62,12 @@ def write_header(f):
'''
def main():
- f = open('../symbolfontmapping.cc', 'w')
+ f = open('../symbolfontmapping.cpp', 'w')
write_header(f)
writeFontTable("symbol", f)
f.close()
- f = open('../esstixfontmapping.cc', 'w')
+ f = open('../esstixfontmapping.cpp', 'w')
write_header(f)
fontnames = [ "esstixnine",
"esstixthirteen",
@@ -90,7 +90,7 @@ def main():
writeFontTable(fn, f)
f.close()
- f = open('../cmmapping.cc', 'w')
+ f = open('../cmmapping.cpp', 'w')
write_header(f)
fontnames = [ "cmbx10",
"cmex10",
@@ -107,7 +107,7 @@ def main():
writeFontTable(fn, f)
f.close()
- f = open('../unicodenames.cc', 'w')
+ f = open('../unicodenames.cpp', 'w')
write_header(f)
print >>f, 'struct UnicodeNameTable { short unicode; const char* name; };'
print >>f, 'static UnicodeNameTable nameTable[] = {'
diff --git a/lib/kformula/rootelement.cc b/lib/kformula/rootelement.cpp
index 5e511cbe..5e511cbe 100644
--- a/lib/kformula/rootelement.cc
+++ b/lib/kformula/rootelement.cpp
diff --git a/lib/kformula/scripts/bynames.py b/lib/kformula/scripts/bynames.py
index afb9ece5..6b8c1d7a 100755
--- a/lib/kformula/scripts/bynames.py
+++ b/lib/kformula/scripts/bynames.py
@@ -144,7 +144,7 @@ if __name__ == '__main__':
write_header( fh )
write_h( fh )
fh.close()
- fcc = open( '../entities.cc', 'w' )
+ fcc = open( '../entities.cpp', 'w' )
write_header( fcc )
fr = open( sys.argv[1] )
write_cc( fr , fcc )
diff --git a/lib/kformula/scripts/oper-dict.py b/lib/kformula/scripts/oper-dict.py
index 49191ef6..e9e10550 100755
--- a/lib/kformula/scripts/oper-dict.py
+++ b/lib/kformula/scripts/oper-dict.py
@@ -247,7 +247,7 @@ if __name__ == '__main__':
write_header( fh )
write_h( fh )
fh.close()
- fcc = codecs.open( '../operatordictionary.cc', 'w', 'utf-8' )
+ fcc = codecs.open( '../operatordictionary.cpp', 'w', 'utf-8' )
write_header( fcc )
fr = open( sys.argv[1] )
write_cc( fr , fcc )
diff --git a/lib/kformula/sequenceelement.cc b/lib/kformula/sequenceelement.cpp
index 187bcd65..187bcd65 100644
--- a/lib/kformula/sequenceelement.cc
+++ b/lib/kformula/sequenceelement.cpp
diff --git a/lib/kformula/sequenceparser.cc b/lib/kformula/sequenceparser.cpp
index bbc2f0b1..bbc2f0b1 100644
--- a/lib/kformula/sequenceparser.cc
+++ b/lib/kformula/sequenceparser.cpp
diff --git a/lib/kformula/spaceelement.cc b/lib/kformula/spaceelement.cpp
index 7d372360..7d372360 100644
--- a/lib/kformula/spaceelement.cc
+++ b/lib/kformula/spaceelement.cpp
diff --git a/lib/kformula/stringelement.cc b/lib/kformula/stringelement.cpp
index e9851033..e9851033 100644
--- a/lib/kformula/stringelement.cc
+++ b/lib/kformula/stringelement.cpp
diff --git a/lib/kformula/styleelement.cc b/lib/kformula/styleelement.cpp
index de760453..de760453 100644
--- a/lib/kformula/styleelement.cc
+++ b/lib/kformula/styleelement.cpp
diff --git a/lib/kformula/symbolaction.cc b/lib/kformula/symbolaction.cpp
index 8fe3d8f8..8fe3d8f8 100644
--- a/lib/kformula/symbolaction.cc
+++ b/lib/kformula/symbolaction.cpp
diff --git a/lib/kformula/symbolelement.cc b/lib/kformula/symbolelement.cpp
index 31787b16..31787b16 100644
--- a/lib/kformula/symbolelement.cc
+++ b/lib/kformula/symbolelement.cpp
diff --git a/lib/kformula/symbolfontmapping.cc b/lib/kformula/symbolfontmapping.cpp
index 71fbfcb0..71fbfcb0 100644
--- a/lib/kformula/symbolfontmapping.cc
+++ b/lib/kformula/symbolfontmapping.cpp
diff --git a/lib/kformula/symboltable.cc b/lib/kformula/symboltable.cpp
index aca50b3a..a25e1b15 100644
--- a/lib/kformula/symboltable.cc
+++ b/lib/kformula/symboltable.cpp
@@ -34,12 +34,12 @@
#include "symboltable.h"
#include "contextstyle.h"
-#include "unicodetable.cc"
+#include "unicodetable.cpp"
KFORMULA_NAMESPACE_BEGIN
-#include "symbolfontmapping.cc"
+#include "symbolfontmapping.cpp"
SymbolFontHelper::SymbolFontHelper()
: greek("abgdezhqiklmnxpvrstufjcywGDTQLXPSUFYVW")
diff --git a/lib/kformula/textelement.cc b/lib/kformula/textelement.cpp
index 7f146b49..7f146b49 100644
--- a/lib/kformula/textelement.cc
+++ b/lib/kformula/textelement.cpp
diff --git a/lib/kformula/tokenelement.cc b/lib/kformula/tokenelement.cpp
index 9970ac45..9970ac45 100644
--- a/lib/kformula/tokenelement.cc
+++ b/lib/kformula/tokenelement.cpp
diff --git a/lib/kformula/tokenstyleelement.cc b/lib/kformula/tokenstyleelement.cpp
index fcce16e7..fcce16e7 100644
--- a/lib/kformula/tokenstyleelement.cc
+++ b/lib/kformula/tokenstyleelement.cpp
diff --git a/lib/kformula/unicodetable.cc b/lib/kformula/unicodetable.cpp
index 23dc8636..23dc8636 100644
--- a/lib/kformula/unicodetable.cc
+++ b/lib/kformula/unicodetable.cpp