Editing IO package
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 223: | Line 223: | ||
For ODS access, you'll need to choose at least one of the following java class files collections: | For ODS access, you'll need to choose at least one of the following java class files collections: | ||
* (currently the preferred option) odfdom.jar (only versions 0.7.5 | * (currently the preferred option) odfdom.jar (only versions 0.7.5 and 0.8.6+ work OK!) & xercesImpl.jar (NOTE: only version 2.9.1 dated 14 Sep 2007 has been confirmed to work with odfdom 0.8.7 and earlier. odfdom-0.8.8 hasn't been tested with other xercesImpl.jar releases yet). Get them here: | ||
** http://incubator.apache.org/odftoolkit/downloads.html (contains odfdom-0.8.8) | ** http://incubator.apache.org/odftoolkit/downloads.html (contains odfdom-0.8.8) | ||
** http://www.google.com/search?ie=UTF-8&oe=utf-8&q=xerces-2.9.1+download | ** http://www.google.com/search?ie=UTF-8&oe=utf-8&q=xerces-2.9.1+download | ||
* jopendocument<version>.jar. Get it from http://www.jopendocument.org (jOpenDocument 1. | * jopendocument<version>.jar. Get it from http://www.jopendocument.org (jOpenDocument 1.2 (final) is the most recent one and recommended for Octave). jOpenDocument 1.3 beta 1 is supported in io-1.0.19 and is much faster with reading. | ||
* OpenOffice.org (or clones like LibreOffice, Go-Office, ...). Get it from http://www.openoffice | * OpenOffice.org (or clones like LibreOffice, Go-Office, ...). Get it from http://www.openoffice.org. The relevant Java class libs are unoil.jar, unoloader.jar, jurt.jar, juh.jar and ridl.jar (which are scattered around the OOo installation directory), while also the <OOo>/program/ directory needs to be in the classpath. | ||
These must be referenced with full pathnames in your javaclasspath. | These must be referenced with full pathnames in your javaclasspath. | ||
Hint: add it in ./share/octave/<version>/m/startup/octaverc using appropriate javaaddpath statements. | Hint: add it in ./share/octave/<version>/m/startup/octaverc using appropriate javaaddpath statements. | ||
Alternatively, the io package contains a function script file "chk_spreadsheet_support.m" which can set up the | Alternatively, the io package contains a function script file "chk_spreadsheet_support.m" which can set up the java classpath. | ||
==== Usage ==== | ==== Usage ==== |