liborigin and opj2dat
---------------------

Author : Stefan Gerlach, Alex Kargovsky (fully support of 7.5 project files)

Thanks to :
Ion Vasilief	for Windows patches and testing

compiling :
	$ make -f Makefile.LINUX
	or for Darwin :
	$ make -f Makefile.DARWIN
	or for Windows :
	$ make -f Makefile.WINDOWS
	or with Solaris Compiler :
	$ make -f Makefile.Solaris
Usage :
	$ ./opj2dat <project.opj>

---------------------------------------------------------------------------
FEATURES :
	* reads any worksheets with all columns
	* supports 4.1, 5.0, 6.0, 6.1, 7.0, 7.5 projects
	* full support for 7.5 project files (worksheets,functions,matrix,graphs,notes)
		Thanks to Alex Kargovsky

---------------------------------------------------------------------------
TODO :
	U Crash on 1kW_Diode.OPJ 	-> works on Linux
	U Crash on fano.OPJ	 	-> works on Linux

	-------
X	V Crash on Fred2_....OPJ
	O check tachyone.OPJ, test.OPJ, CaFChargenvergleich.OPJ
	V crash on backup.opj
		-> cname==0 but no matrix !
	* read spreadsheet infos (LAYER section) with better method
		-> check out examples
	* support MATRIX tables
		* check older project versions (6.0,5.0,etc.)
			-> size always 0
		* get column/row numbers -> resize matrix
			* check ws+matrix.opj
			5x2 & 2x5	: 0x215 / 0x23D
		* check all matrix examples (also mixed)
	* fix reading of mixed columns in file
		-> SiGe example
	* support FUNCTION : drf_spin, tachyonen2.OPJ
	* read graphs
	* support extra graph (no link to data) : power_cdw
	* fix various problems (check ORIGIN/README)
	*  support for Origin's standalone file formats
		It would be cool if liborigin could recognize some of
		Origins's standdalone file formats:
		*.ogg (graphic), and perhaps *.otw (template) and *.ogs (LabTalk Scripts)

---------------------------------------------------------------------------
* hex dump opj files :
	hexdump -C file.opj > file.dump

* check all projects within LabPlot 1.X (to check that it doesn't crash)
	LabPlot import.qs
---------------------------------------------------------------------------
Changelog :

2008-02-25	* improvements from qtiplot
2007-08-21	* added build script and spec file
		* added tree.hh installation to Makefile.LINUX
2007-08-17	* clean up, Excel worksheets
2007-07-08	* fixed crash in 7.0 projects
2007-05-29	* full support of 7.5 projects (Alex Kargovsky)
2007-04-24	* almost full support of 7.5 projects (Thanks to Alex Kargovsky)
		* liborigin also supports Origins's standdalone file formats: *.ogw (worksheet) and *.ogm (matrix).
2006-12-01	* fixed crash when matrix size is incorrect
2006-11-26	* fixed crash of i943_iv.OPJ, companatonmy.opj (4.1)
		* fixed crash of companatomy_new.opj
06-07-06	* read size of matrix	
06-02-06	* replaced arrays with vectors and char* with strings
06-01-06	* fixed convertion of 4.1 projects
05-30-06	* read matrix tables (testing)
05-29-06	* read column type if names are not matching (seems to be ok)
05-26-06	* compare only 11 chars of col label in header section
05-24-06	* fixed byteorder on big endian systems
05-16-06	* better method for storing label data (Entry)
11-15-05	* read empty entries
		* read label columns
11-12-05	* read valuesize from file
		* get names with multiple '_' correct
11-10-05	* 4.1 projects : data reading
11-09-05	* completely redesigned (using '\n')
10-25-05	* fixed problems reading column types
		* general column names and spreadsheet sections
09-23-05	* read also 4.1 projects
09-22-05	* new spreadsheet name finding and corrected column names
09-21-05	* new version resolving 6.0SR4 vs 6.1 problems
		* Spreadsheet SECTION for 6.1,6.04,6.0,5.0
09-20-05	* SPREADSHEET section for all spreadsheets (7.5,7.0)
09-09-05	* import also 5.0 projects
09-03-05	* STARTED project liborigin from LabPlot import filter
