changeset 6881:cfea4a3c3c10 octave-forge

Fixed texinfo on input argument readwrite (as writing ODS has been implemented already a while ago)
author prnienhuis
date Thu, 18 Mar 2010 23:09:15 +0000
parents 604e95e37fcb
children 53f02c56cdcd
files main/io/inst/odsopen.m
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/main/io/inst/odsopen.m	Wed Mar 17 13:06:55 2010 +0000
+++ b/main/io/inst/odsopen.m	Thu Mar 18 23:09:15 2010 +0000
@@ -33,7 +33,9 @@
 ## does not contain any directory path, the file is saved in the current
 ## directory.
 ##
-## @var{readwrite} is currently ignored until ODS writesupport is implemented.
+## @var{readwrite} must be set to 1 if writing to spreadsheet is desired
+## immediately after calling odsopen(). It merely serves proper handling
+## of file errors (e.g., "file not found" or "new file created").
 ##
 ## Optional input argument @var{reqintf} can be used to override the ODS
 ## interface automatically selected by odsopen. Currently implemented interfaces
@@ -62,6 +64,7 @@
 ## 2010-01-24 Added warning when trying to create a new spreadsheet using jOpenDocument
 ## 2010-03-01 Removed check for rt.jar in javaclasspath
 ## 2010-03-04 Slight texinfo adaptation (reqd. odfdom version = 0.7.5)
+## 2010-03-14 Updated help text (section on readwrite)
 
 function [ ods ] = odsopen (filename, rw=0, reqinterface=[])
 
@@ -100,7 +103,6 @@
 	if (rw) rw = 1; endif		# Be sure it's either 0 or 1 initially
 
 	# Check if ODS file exists
-	# Write statements experimentally enabled!
 	fid = fopen (filename, 'rb');
 	if (fid < 0)
 		if (~rw)