[Top][All Lists]

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

[Octave-bug-tracker] [bug #51203] xlswrite(...'com') output results in a

From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #51203] xlswrite(...'com') output results in a corrupted .xlsx / unicode issues
Date: Mon, 10 Jul 2017 12:56:21 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0 SeaMonkey/2.46

Follow-up Comment #63, bug #51203 (project octave):

This is what I get, writing your script as 'test_cd_delay.m':

>> addpath (pwd)
>> somedirectory1 = 'c:\tmp'
somedirectory1 = c:\tmp
>> somedirectory2 = 'f:\tmp'
somedirectory2 = f:\tmp
>> test_cd_delay
Elapsed time is 0.0816691 seconds.
t_delay = 0
num_no_change =  7
>> test_cd_delay
Elapsed time is 0.086797 seconds.
t_delay = 0
num_no_change =  7
>> test_cd_delay
Elapsed time is 0.0738969 seconds.
t_delay = 0
num_no_change =  7

To run my suggestions in comment #61 you'd need at least Java (just a JRE),
plus the required Java .jar libraries for each interface. LibreOffice is an
extra. If you're on Windows and have Excel installed, you'd also need the
Windows package loaded.

I have the following:

>> dir ([getenv("USERPROFILE") filesep "java"])
.                                 odfdom-java-0.8.8-incubating.jar
..                                poi-3.15.jar
OpenXLS-10.jar                    poi-ooxml-3.15.jar
commons-collections4-4.1.jar      poi-ooxml-schemas-3.15.jar
dom4j-1.6.1.jar                   xercesImpl-2.11.0.jar
gwt-servlet-deps.jar              xercesImpl.jar
jOpenDocument-1.4rc2.jar          xml-apis-2.11.0.jar
jxl.jar                           xmlbeans-2.6.0.jar

and LibreOffice (64-bit) is in 'C:\Program Files\LibreOffice 5' (needing the
following .jars & other Java stuff), taken from chk_spreadsheet_support.m's

>> chk_spreadsheet_support ('', 3)
UNO/Java (.ods, .xls, .xlsx, .sxc) <OpenOffice.org>:  - program OK
  - unoil.jar OK
  - jurt.jar OK
  - juh.jar OK
  - unoloader.jar OK
  - ridl.jar OK
  => UNO (OOo) OK

If you don't want to install all of that (which I'd understand), maybe we can
wait for someone else who runs Windows and does have Java etc installed.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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