Bug 12546

Summary: No constants for paper size provided in HSSFPrintSetup
Product: POI Reporter: Jon Svede <jsvede>
Component: HSSFAssignee: POI Developers List <dev>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: P3    
Version: 2.0-dev   
Target Milestone: ---   
Hardware: Sun   
OS: Solaris   

Description Jon Svede 2002-09-11 18:43:59 UTC
There is a method called setPaperSize( short size ) in HSSFPrintSetup that one 
would think to use for setting the paper size.  Rather than stick random shorts 
in the argument to find out which ones correspond to various paper sizes, does 
anyone know if there is a class that has constants defined for various paper 
sizes?
Comment 1 Shawn Laubach 2002-10-24 15:10:01 UTC
Update HSSFPrintSetup with paper sizes that my version of excel has.  These are
Letter
Legal
Executive
A4
A5
Envelope #10
and three other envelopes.
If there are any other people want, add them to the code.