IO package: Difference between revisions

191 bytes added ,  11 December 2011
(using <pre> blocks for code blocks in lists)
Line 33: Line 33:


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, 0.8.6, and 0.8.7 work OK!) & xercesImpl.jar. Get them here:
* (currently the preferred option) odfdom.jar (only versions 0.7.5, 0.8.6, and 0.8.7 work OK!) & xercesImpl.jar (NOTE: only version 2.9.1 dated 14 Sep 2007 works with odfdom). Get them here:
** http://odftoolkit.org/projects/odfdom/pages/Home
** http://odftoolkit.org/projects/odfdom/pages/Home
** http://odftoolkit.org/projects/odfdom/downloads/directory/current-version
** http://odftoolkit.org/projects/odfdom/downloads/directory/current-version
Line 40: Line 40:
* 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.
* 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. Hint: add it in ./share/octave/<version>/m/startup/octaverc using appropriate javaaddpath statements
These must be referenced with full pathnames in your javaclasspath.  
 
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 java classpath.


=== Usage ===
=== Usage ===
Anonymous user