Bug 12546 - No constants for paper size provided in HSSFPrintSetup
Summary: No constants for paper size provided in HSSFPrintSetup
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: 2.0-dev
Hardware: Sun Solaris
: P3 enhancement (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-11 18:43 UTC by Jon Svede
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.