Good News Everybody!
The new search engine is LIVE!
Please report any problems to david (at) midrange.com.
|
This works for us:
*------------------------------------------------------------------
* HSSF Data Types
*------------------------------------------------------------------
D HSSFSheet S O CLASS(*JAVA
D :'org.apache.poi.hssf.usermodel-
D .HSSFSheet')
D HSSFPrintSetup S O Class(*JAVA
D :'org.apache.poi.hssf.usermodel-
D .HSSFPrintSetup')
*------------------------------------------------------------------
* HSSF objects
*------------------------------------------------------------------
D thisSheet S like(HSSFSheet)
D thisPrintSetup S like(HSSFPrintSetup)
D HSSFSheet_getPrintSetup...
D PR like(HSSFPrintSetup)
D EXTPROC(*JAVA
D :'org.apache.poi.hssf.usermodel-
D .HSSFSheet'
D :'getPrintSetup')
D HSSFPrintSetup_setLandscape...
D PR EXTPROC(*JAVA
D :'org.apache.poi.hssf.usermodel-
D .HSSFPrintSetup'
D :'setLandscape')
D landscape n value
// Create the "Print Setup" and set to landscape.
thisPrintSetup = HSSFSheet_getPrintSetup(thisSheet);
HSSFPrintSetup_setLandscape(thisPrintSetup: *on);
JK
Morning all; Anybody generating excel out there using rpgle. I need to be able to set the print orientation to landscape. I have the print area defined, but can't seem to work out how to setup landscape. Appreciate any help. Darrell Lee
This mailing list archive is Copyright 1997-2026 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.