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



Sorry - that was me. I had XSSF on the brain. HSSF were introduced well
before 3.6. It's the XSSF that were introduced in 3.8. I'm in the
process of cataloging all of the reporting we do for clients and part of
that was looking at converting the existing .xls spreadsheets we create
to .xlsx




Kevin Bucknum
Senior Programmer Analyst
MEDDATA/MEDTRON
Tel: 985-893-2550

-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of
Roche, Bob
Sent: Friday, July 08, 2016 8:33 AM
To: RPG programming on the IBM i (AS/400 and iSeries)
Subject: RE: hssf poi conditional formatting.

Yes, that is what I'm trying to use. My samples were all still HSSF not
XSSF, but the same idea. Why can't users just like reports?

Someone else posted about version 3.6 version 3.8. We have 3.6 on the
system to match Scott's wrapper. And it does have the conditional
formatting classes under the org.apache.poi.hssf.usermodel class.

-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Buck
Calabro
Sent: Thursday, July 07, 2016 3:54 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: Re: hssf poi conditional formatting.

On 7/7/2016 3:46 PM, Roche, Bob wrote:
Does anyone have sample of using conditional formatting in RPG when
building a spreadsheet using HSSF POI?

No, I haven't needed that yet.

I have a sheet with calculations. If the value is negative make it red
and bold. Sounds easy I thought.

Well, it's easy if you cheat. Instead of writing a conditional
formatting rule, I actually format each of the cells. Doesn't much help
the user with 'what-if' scenarios, but it works for the snapshot sort of
things we've been doing to date.

For those following along, I think we're talking about
XSSFConditionalFormatting and XSSFConditionalFormattingRule

--
--buck

Visit wiki.midrange.com and register for an account. Edit a page that
helps you, and because it's public, you'll help someone else, too!

--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To
subscribe, unsubscribe, or change list options,
visit:
https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.midrange.com_m
ailman_listinfo_rpg400-2Dl&d=CwICAg&c=S6jE3hMA0s16gx2_CUBBn4vjc1odLunI6M
Svd_AfdV8&r=Ub_YbVSedaHB7-0yGANN94iTrfkU2nCKT1D5-5Jv01Y&m=ncJppWqpYnsufW
zFVlsz6Q9Mmz325hc5x91FxvdOfEY&s=E_g5kUpMzOHKKtKJqH0C8rP3vncOT5-NdPKQvDKn
PLk&e=
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://urldefense.proofpoint.com/v2/url?u=http-3A__archive.midrange.com
_rpg400-2Dl&d=CwICAg&c=S6jE3hMA0s16gx2_CUBBn4vjc1odLunI6MSvd_AfdV8&r=Ub_
YbVSedaHB7-0yGANN94iTrfkU2nCKT1D5-5Jv01Y&m=ncJppWqpYnsufWzFVlsz6Q9Mmz325
hc5x91FxvdOfEY&s=hwdrl0OKHPPabKCgp9RTD6WPdFF0oOJQdbvTFehJnEs&e= .

Please contact support@xxxxxxxxxxxx for any subscription related
questions.
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To
subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

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.