summaryrefslogtreecommitdiffstats
path: root/filters/kword/latex/export/texlauncher.cc
blob: 17c00b7d9071e4153c8bb82b91f307889cebc027 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

#include "xml2latexparser.h"
//#include "texgraphexport.h"
#include <kdebug.h>
#include <tdeglobal.h>
#include <tdelocale.h>
#include <KoFilter.h>
#include <KoStore.h>
#include<tqtextstream.h>


int main(int argc, char* argv[])
{
	kdDebug(30522) << argv[1] << endl;
	kdDebug(30522) << argv[2] << endl;

	TQString fileIn = argv[1];
	TQString fileOut = argv[2];
	
	kdDebug(30522) << "TEXGRAPH FILTER --> BEGIN" << endl;
	Xml2LatexParser parser(fileIn, fileOut);
	parser.analyse();
	kdDebug(30522) << "---------- generate file -------------" << endl;
	parser.generate();
	kdDebug(30522) << "TEXGRAPH FILTER --> END" << endl;
}