octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #38756] xlswrite always truncates arrays to 25


From: anonymous
Subject: [Octave-bug-tracker] [bug #38756] xlswrite always truncates arrays to 256 columns because check on .xlsx extension is wrong
Date: Wed, 17 Apr 2013 09:53:20 +0000
User-agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.64 Safari/537.31

URL:
  <http://savannah.gnu.org/bugs/?38756>

                 Summary: xlswrite always truncates arrays to 256 columns
because check on .xlsx extension is wrong
                 Project: GNU Octave
            Submitted by: None
            Submitted on: mer. 17 avril 2013 09:53:19 UTC
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Vermylen
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.6.2
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

Hi,

I am using the handy io package, and noticed that the checks on line  123 and
line 133 are wrong. This causes the code to default to range "A1:IV65536"
always instead of using range "A1:XFD1048576" for .xlsx files. I replaced both
lines 123 and 133 with:

    if (strcmp (tolower (filename(end-3:end)), 'xlsx'))

and seem to be getting the desired behaviour for writing xlsx files with POI
and java.

Kind Regards.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?38756>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]