Enlighten me... What are HSSF routines? I never heard of it.


HSSF is a subproject of Apache's (open source) POI project, which aims to enable integration with Microsoft Office applications via Java classes. HSSF happens to be the subproject that deals with Excel spreadsheets.


Starting in V5R1, ILE RPG programs are capable of making calls to Java classes. This makes it possible for an ILE RPG program to generate a native Excel spreadsheet with most of the capabilities that Excel has. You can set the fonts used to display things, set background colors, insert formulas, insert string and numeric cells, and read existing spreadsheets, to name a few of the many capabilities. All on the iSeries, all without purchasing any additional software.

For information about Apache's POI project, you can visit their Web site at the following link:
http://jakarta.apache.org/poi/


I'm the editor of a weekly iSeries programming tips newsletter called "Club Tech iSeries Programming Tips" and published by the same people who publish iSeries NEWS magazine. In this newsletter, I've written several articles about calling the HSSF routines from an ILE RPG program. The following links to those newsletters require a membership to the iSeries Network -- but a free Associate membership will work:

"How to Excel with RPG and Java"
http://www.iseriesnetwork.com/provipcenter/index.cfm?fuseaction=ShowNewsletterIssue&ID=19277

"How to Excel with RPG and Java, Part 2"
http://www.iseriesnetwork.com/provipcenter/index.cfm?fuseaction=ShowNewsletterIssue&ID=19336

"How to Excel with RPG and Java, Part 3"
http://www.iseriesnetwork.com/provipcenter/index.cfm?fuseaction=ShowNewsletterIssue&ID=19591

"HSSF Fills and Colors"
http://www.iseriesnetwork.com/provipcenter/index.cfm?fuseaction=ShowNewsletterIssue&ID=19606

"How to Update an HSSF Spreadsheet"
http://www.iseriesnetwork.com/provipcenter/index.cfm?fuseaction=ShowNewsletterIssue&ID=19585

"Parsing an Excel Spreadsheet with RPG and Java"
http://www.iseriesnetwork.com/provipcenter/index.cfm?fuseaction=ShowNewsletterIssue&ID=17839

"Parsing an Excel Spreadsheet Part 2: Handling Dates"
http://www.iseriesnetwork.com/provipcenter/index.cfm?fuseaction=ShowNewsletterIssue&ID=18396


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.