1
0
Fork
You've already forked liborigin
0
Unofficial fixes for liborigin for use with the Ropj package
  • C++ 97.6%
  • CMake 1.6%
  • C 0.8%
Ivan Krylov 084c12e9e9 getLayerProperties: follow Excel sheet pointer
In many cases, the Excel window layers came out in the same order as the
spreadsheet data. In some files, the windows and the spreadsheet layers
are positioned in a different order (and sometimes there's more layers
than sheets), so follow the newly discovered sheet pointer when parsing
window layer information.
2026年05月12日 14:14:38 +03:00
doc docs white space cleanup 2018年09月29日 18:59:02 +02:00
.gitignore git ignore build directory 2022年04月30日 06:04:42 +01:00
_clang-format add files for code formatting 2022年04月27日 11:46:30 +02:00
clang-format.sh add files for code formatting 2022年04月27日 11:46:30 +02:00
CMakeLists.txt 3.0.3 release 2024年07月03日 21:58:00 +02:00
config.h.in Improve versioning 2021年05月11日 14:00:36 +02:00
COPYING Capitalize names of documentation files 2010年11月07日 11:28:42 +01:00
endianfstream.hh Support building shared library on Windows 2022年04月29日 12:09:56 +01:00
FORMAT Convert file 'FORMAT' to utf-8 2017年09月20日 19:03:27 +02:00
liborigin.pc.in Improve versioning 2021年05月11日 14:00:36 +02:00
opj2dat.cpp update copyright 2024年04月14日 23:43:23 +02:00
OriginAnyParser.cpp getLayerProperties: follow Excel sheet pointer 2026年05月12日 14:14:38 +03:00
OriginAnyParser.h Support building shared library on Windows 2022年04月29日 12:09:56 +01:00
OriginFile.cpp update opj project version 2023年07月28日 23:53:51 +02:00
OriginFile.h update opj project version 2023年07月28日 23:53:51 +02:00
OriginObj.h update copyright 2024年04月14日 23:43:23 +02:00
OriginParser.cpp Remove "using namespace std" from header files. 2022年04月29日 10:26:47 +01:00
OriginParser.h update copyright 2024年04月14日 23:43:23 +02:00
README update README 2024年04月05日 22:58:16 +02:00
tree.hh use const& for sibling iterators 2024年04月05日 22:57:06 +02:00

liborigin, standalone version
-----------------------------
This code is a standalone library for reading OriginLab project files.
It is based on the code at
	http://sourceforge.net/projects/liborigin (upstream)
	https://github.com/SciDAVis/liborigin
	http://soft.proindependent.com/liborigin2 (not available anymore)
Additionally, some fixes were applied to silence UBSan warnings caused by
uninitialised POD struct members.
AUTHORS: 
	Stefan Gerlach	2005-2024
	Miquel Garriga	2014-2018
	Knut Franke	2010
	Ion Vasilief	2006-2010
	Alex Kargovsky	2007-2009
	Russell Standish
DEPENDENCIES: tree.hh (included) http://tree.phi-sci.com/
---------------------------------------------------------------------------
COMPILING: liborigin uses CMake for the building process.
		CMake is available at http://www.cmake.org/
After installing CMake on your system, issue the following commands:
	$ mkdir build
	$ cd build
	$ cmake ..
	$ make
	$ make install
This will compile and install:
	a shared and a static version of liborigin library
	opj2dat, a program to extract data tables of an origin project into ASCII .dat files
	liborigin.pc a pkg-config metadata file to get compiler and linker flags
	c++ devel headers
To disable shared or static libraries you can also specify the cmake options
-DBUILD_SHARED_LIBS=off or -DBUILD_STATIC_LIBS=off. opj2dat will be build if one of them is enabled.
Doc generation requires doxygen (http://doxygen.org)
To include liborigin in a project using cmake add
	find_package(PkgConfig)
	pkg_check_modules(liborigin liborigin>=3.0.0)
	target_link_libraries( my_target ${liborigin_LIBRARIES} )
	target_include_directories( my_target PUBLIC ${liborigin_INCLUDE_DIRS} )
to the project CMakeLists.txt file.
To include liborigin in a project using qmake add
	CONFIG += link_pkgconfig
	PKGCONFIG += liborigin
to the project.pro file.
Logging of origin file parsing process is deactivated by default.
To enable it define a GENERATE_CODE_FOR_LOG variable at the cmake command:
 $ cmake -DGENERATE_CODE_FOR_LOG=1 ..
---------------------------------------------------------------------------
FEATURES:
	* supports the import of any OPJ project from version 3.5 to latest (2022b)
	* includes a pkg-config metadata file
---------------------------------------------------------------------------
EXAMPLES:
	* opj2dat (included) extracts the data tables of an origin project file into dat files
---------------------------------------------------------------------------
RELATED PROJECTS:
	* Ropj (https://github.com/aitap/Ropj)
	* openopj (https://github.com/jgonera/openopj)