Mercurial > forge
changeset 8366:00a42c55fe88 octave-forge
Adapted to 1048576 row capacity supported by LibreOffice 3.4.+ Java-UNO
author | prnienhuis |
---|---|
date | Sun, 18 Sep 2011 16:22:25 +0000 |
parents | 0036046e8eb4 |
children | c2e094f5be8f |
files | main/io/inst/spsh_chkrange.m |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/main/io/inst/spsh_chkrange.m Sun Sep 18 16:12:45 2011 +0000 +++ b/main/io/inst/spsh_chkrange.m Sun Sep 18 16:22:25 2011 +0000 @@ -35,6 +35,7 @@ ## (but this can be wasteful if the file ptr is copied) ## 2011-03-29 Bug fix - unrecognized pointer struct & wrong type error msg ## 2011-05-15 Experimental UNO support added (OpenOffice.org & clones) +## 2011-09-18 Updated UNO data row capacity for LibreOffice 3.4+ (now 1,048,576 rows) function [ topleft, nrows, ncols, trow, lcol ] = spsh_chkrange (crange, nr, nc, intf, filename=[]) @@ -71,7 +72,7 @@ # ODS; LibreOffice has a higher row capacity # FIXME - use UNO calls to check physical row capacity # FIXME - LibreOffice has higher row capacity but it's Java classes haven't been updated - ROW_CAP = 65536; COL_CAP = 1024; + ROW_CAP = 1048576; COL_CAP = 1024; otherwise error (sprintf ("Unknown interface type - %s\n", xtype)); endswitch