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

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

[Octave-bug-tracker] [bug #50200] ods2oct() truncates cell text at first


From: ralf
Subject: [Octave-bug-tracker] [bug #50200] ods2oct() truncates cell text at first linefeed within the cell
Date: Wed, 1 Feb 2017 01:15:23 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0

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

                 Summary: ods2oct() truncates cell text at first linefeed
within the cell
                 Project: GNU Octave
            Submitted by: rapete
            Submitted on: Wed 01 Feb 2017 01:15:22 AM GMT
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: rapete
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.0
        Operating System: GNU/Linux

    _______________________________________________________

Details:

If there is one or more linefeeds within spreadsheet cells, then ods2oct() in
package io-2.4.5 returns the content of these cells incompletely, i.e.
truncated at the first linefeed.


fid=odsopen('abc.ods',0,'OCT'); 
T=ods2oct(fid,1);
fid=odsclose(fid);


The above code will yield T = { 'a' }, when in fact 'abs.ods' contains one
cell with content "a\nb\nc". See attached abs.ods.

Operating System is Ubuntu 16.04. Octave version is 4.0.0.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 01 Feb 2017 01:15:22 AM GMT  Name: abc.ods  Size: 7kB   By: rapete
simple file that ods2oct() fails to read properly
<http://savannah.gnu.org/bugs/download.php?file_id=39636>

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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