Files
core/Test/Applications/x2tTester
2022-10-19 00:09:53 +03:00
..
2022-10-15 22:04:51 +03:00
2022-10-17 17:37:42 +03:00
2022-10-19 00:09:53 +03:00
2022-10-18 22:00:01 +03:00
2022-10-04 20:41:40 +03:00

CONFIGURATION

You need to create an xml configuration file. It must contain:

# root of xml
<settings> </settings>

# report (.csv) path
<reportPath> </reportPath>

# directory with test documents
<inputDirectory> </inputDirectory>

# results directory
<outputDirectory> </outputDirectory>

# path to x2t
<x2tPath> </x2tPath>

# num cores to use
<cores> </cores>

# (non-required) reports only errors (default - 0)
<errorsOnly> </errorsOnly>

# (non-required) timestamp in report file name (default - 1)
<timestamp> </timestamp>

# (non-required) fonts settings (default - "1")
# you can set "system" param to "0" or "1",
# if "0", set additional directory for fonts
<fonts system="">
	<directory> </directory>
</fonts>

# (non-required) input extensions of files (default - all possible input extensions)
<input> </input>

# (non-required) output extensions of files (default - all possible output extensions)
<output> </output>

# input & output values example:
<input> docx txt pptx xlsx<input>
<output> txt doc pdf</output>

You can use the following template:

<?xml version="1.0" encoding="utf-8"?>
<settings>
	<reportPath> </reportPath>
	<inputDirectory> </inputDirectory>
	<outputDirectory> </outputDirectory>
	<x2tPath> </x2tPath>
	<cores> </cores>
	<errorsOnly> </errorsOnly>
	<timestamp> </timestamp>
	<fonts system="">
		<directory> </directory>
	</fonts>
	<input> </input>
	<output> </output>
</settings>

USAGE

Run a program with 1 argument - path to xml configuration file.