changeset 12405:8f8a0e518752 octave-forge

Add back in UNO interface (dropped by accident)
author prnienhuis
date Tue, 18 Mar 2014 22:33:24 +0000
parents a7500b0ccda0
children b93aabf83e77
files main/io/inst/oct2ods.m
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/main/io/inst/oct2ods.m	Tue Mar 18 22:32:42 2014 +0000
+++ b/main/io/inst/oct2ods.m	Tue Mar 18 22:33:24 2014 +0000
@@ -120,8 +120,8 @@
 ## 2012-10-12 Moved all interface-specific subfubcs into ./private
 ## 2012-10-24 Style fixes
 ## 2012-12-18 Improved error/warning messages
-## 2013-12-18 Copyright string updates, style fixes
-## 2014-01-24 Call __OCT_oct2spsh__ rather than _OCT_oct2ods__
+## 2013-12-18 Copyright string updates, style fixes
+## 2014-03-18 Add back in UNO interface (changed into by OCT - blush)
 ##
 ## Latest subfunc update: 2012-10-12
 
@@ -201,6 +201,10 @@
   elseif (strcmp (ods.xtype, "JOD"))
     ## Write ods file tru Java & jOpenDocument. API still leaves lots to be wished...
     [ ods, rstatus ] = __JOD_oct2spsh__ (c_arr, ods, wsh, crange);
+
+  elseif (strcmp (ods.xtype, "UNO"))
+    ## Write ods file tru UNO
+    [ ods, rstatus ] = __UNO_oct2spsh__ (c_arr, ods, wsh, crange, spsh_opts);
 
   elseif (strcmp (ods.xtype, "OCT"))
     ## Write ods or gnumeric file tru native Octave