Shawn,
Thanks for the prompt reply.
And, I guess that if my xls template has the "Fit To" option set, and 
I want to switch to use the setScale(), then
I have to do:     setAutobreaks(false)
Is that accurate?
--Steve

----- Original Message ----- 
From: "Laubach Shawn Contr OC-ALC/PSB" <[EMAIL PROTECTED]>
To: "'POI Developers List'" <[EMAIL PROTECTED]>
Sent: Wednesday, June 25, 2003 11:08 AM
Subject: RE: HSSFPrintSetup bugs????


> You need to set auto-breaks to true (reference 
> http://jakarta.apache.org/poi/hssf/quick-guide.html#PrintArea)
> 
> Shawn
> -----Original Message-----
> From: Steve [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 25, 2003 9:50 AM
> To: POI Developers List
> Subject: HSSFPrintSetup bugs????
> 
> 
> Hi,
> 
> With 1.10.0 dev  I'm trying to use HSSFPrintSetup
> and it doesn't seem to be working. It it in a later
> release or not yet debugged?
> 
> In my application, I have a template xls file with
> 6 sheets which I open and then add data to
> some of the sheets.
> 
> I've tried to use setFitWidth and setFitHeight.
> They do set the numbers in Print Setup window,
> but they do not change the selected option from
> "Adjust To"    to   "Fit To".
> 
> Also setScale() does set the number, but it
> does not set the option to "Adjust To", if it
> was not set there originally.
> 
> And, if I try to see the options:
> printSetupObject.getOptions()
> and print it, it prints as 0. I'm not sure how
> this works, as I have not seen the documentation.
> 
> --Steve
> 
> cc: 
> [EMAIL PROTECTED]
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to