-
Notifications
You must be signed in to change notification settings - Fork 9
Developers
libstaroffice sources are stored in git. To get them, you can use:
git clone https://github.com/fosnola/libstaroffice.git
or you can browse the source at https://github.com/fosnola/libstaroffice
#Building it
##Dependencies You will need these applications in order to compile libstaroffice:
- librevenge ( https://sourceforge.net/p/libwpd/wiki/librevenge/)
Once the source has been checked out, libstaroffice can be built in usual manner:
cd libstaroffice
./autogen.sh
./configure
make
make install
Finally(1), if you want also to create ODF documents, you will need:
- libodfgen ( https://sourceforge.net/p/libwpd/wiki/libodfgen/ )
- writerperfect (git clone git://git.code.sf.net/p/libwpd/writerperfect).
(1) at least, when writerperfect will be updated.
#Debug Tools (low level) In general, I add --enable-full-debug to the configure's options. Then when parsing a file, libstaroffice creates some *.ascii files(1) in the current directory which looked like:
000000
000000 [Entries(SCCalcDocument):]2d42b01a0000
000006 [SCCalcDocument[4221]:docFlags,vers=9,pageStyle=Standard,protected=0,language=1031,autoCalc=1,]214212000000090008005374616e64617264000000070401
00001e [SCCalcDocument[422c]:charset,set=2,]2c42020000000302
000026 [SCCalcDocument[4224]:rangeName,index[sharedMax]=1;]24423200000001000100
....
where each line begins with the file position's, then between [] the data which have been recognized and finally the hexadecimal code of the data.
BEWARE: this can create a big list of files