×
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.
You have to add a few prototypes to your source code, either directly, or
in the copy book that brings in all the other HSSF prototypes. Here are
the pertinent entries I added to our code. The dispose function is
necessary to get rid of the temporary files that are built in '/tmp' after
you have created the spreadshseet. Following the D specs, I pasted in some
code demonstrating its use.
D SXSSF_Workbook_Class...
D C 'org.apache.poi.xssf.streaming-
D .SXSSFWorkbook'
D SXSSFWorkbook S O CLASS(*JAVA:
SXSSF_WORKBOOK_CLASS)
D SXSSF_dispose PR n
D EXTPROC(*JAVA
D : SXSSF_Workbook_Class
D :'dispose')
D new_SXSSFWorkbook...
D PR O class(*java
D : SXSSF_WORKBOOK_CLASS )
D ExtProc(*java
D : SXSSF_WORKBOOK_CLASS
D : *CONSTRUCTOR)
// Create a workbook.
Book = New_SXSSFWorkbook();
// Save the file to disk.
SS_save(Book:%trim(Stmf:apos));
SXSSF_dispose(Book);
Darren,
I hadn't heard that. Thanks.
Does this happen automatically if you are using poi3.8 or are there
special steps you need to take?
(after i read your reply i googled sxssf [below])
John
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.