× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



For all the good Scott's API is - and it's most excellent - I've wondered about reading the XLSX directly. It is, after all, just a ZIP'd file of a bunch of XML files.

jar or 7-Zip on i can extract it to a directory - then there's a tree to maybe walk down some - if created by Microsoft Excel, each sheet is in a directory /xl/worksheets - sheet1.xml, for example.

Strings are held often in something called sharedstrings.xml - this is in /xl - it's a zero-based array of each text used in the workbook - the <sheetdata> section of the xml will have the index.

Personally I don't think this would be all that hard to read with, and it'd be a lot faster than all those individual Java calls from RPG.

Just a thought
Vern

On 11/5/2015 11:11 AM, Darryl Freinkel wrote:
I need help. I have loaded the POI and other libraries onto the machine and
compiled. I am using Scott Klement's code and examples.


I am stuck with an error trying to open the spreadsheet with the
hssf_Open(path_and_filename). It errors out and the job log shows that the
file is not found.


1. The file name and path is long, over 100 characters. Is this a
problem?

2. The file name contains blanks. Is this a problem?

3. I cannot debug the HSSFR4 code. The compiler jumps over it and will
not allow me to put in a break point. I am using the Java/GUI debugger
included with iAccess.


Any suggestions would help.

TIA


Darryl Freinkel

Assignment 400 Group, Inc.

Tel: 770.321.8562 ext 111 | Fax 770.321.8562 | 2247 La Salle Dr, Marietta
GA, 30062, USA | PO Box 72556, Marietta, GA 30007-2556




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.