× 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.



In this case, I think you'd want to look at the RPG wrappers around the JAR
files. They have to stay in sync. It looks to me like the JAR files have
methods for what you want, but HSSF_H doesn't have wrappers for them. A
newer *SRVPGM might have those wrappers, or you could DIY your own (doable
if you really know RPG-Java integration).

HTH

date: Wed, 23 Oct 2024 07:32:27 -0500
from: Steve M via MIDRANGE-L <midrange-l@xxxxxxxxxxxxxxxxxx>
subject: HSSF/POI

Start with this, not a very experienced user with these. I usually "roll
my
own" for creating XLS (more control over the formatting and such), but
working for a client that likes this better. Sure is much faster this way
just need to see if it can do a couple of things for me. If this is asked
and answered before and I missed it, please point me that direction.

The POI jar files say 3.6, which based upon the date on them (12/14/09)
means there is newer, but not sure I would get them to upgrade/update.
What
is current, just out of curiosity? Maybe I'll let them know and see what
comes of it.

Three specific things I would like to do:
1. Worksheet A has some report headings and then column titles in the
first
five rows. I would like to freeze the top five rows and place the cursor
in
cell A6.
2. Worksheet B has column titles in just the first two rows but has row
titles in column A. So, I would like to freeze the top two rows and the
first column and place the cursor in cell 3B.
3. Within any worksheet I would like to pick a column and place a filter
on
the column to save the user having to add it each time upon first opening.

I know what the embedded coding looks like when I am writing the file
myself, but I can't find those specific functions inside the HSSF_H source
code base we have.

As always, thanks in advance for the great assistance these boards always
provide.

Steve M.



As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.