changeset 11315:e6a779e794c7 octave-forge

POI 3.9 support (w. either xbeans.jar or xmlbeans.jar), see chk_jar_entries.m
author prnienhuis
date Sat, 22 Dec 2012 15:02:52 +0000
parents 845a320c7142
children cee65711b8b3
files main/io/inst/private/getxlsinterfaces.m
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/main/io/inst/private/getxlsinterfaces.m	Sat Dec 22 15:00:49 2012 +0000
+++ b/main/io/inst/private/getxlsinterfaces.m	Sat Dec 22 15:02:52 2012 +0000
@@ -63,6 +63,7 @@
 ## 2012-09-03 Check for matching .jar names & javaclasspath was reversed (oops)
 ## 2012-10-07 Moved common classpath entry code to private function
 ## 2012-10-24 Style fixes
+## 2012-12-18 POI 3.9 support (either xbeans.jar or xmlbeans.jar), see chk_jar_entries.m
 
 function [xlsinterfaces] = getxlsinterfaces (xlsinterfaces)
 
@@ -158,7 +159,7 @@
       printf ("POI");
     endif
     ## Check OOXML support
-    entries = {"xbean", "poi-ooxml-schemas", "dom4j"};
+    entries = {{"xbean", "xmlbean"}, "poi-ooxml-schemas", "dom4j"};
     if (chk_jar_entries (jcp, entries) >= numel (entries)), printf (" (& OOXML)"); endif
     if (xlsinterfaces.POI)
       if (deflt), printf ("; "); else, printf ("*; "); deflt = 1; endif