You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by Steve <st...@Basit.COM> on 2003/06/25 17:36:50 UTC

Re: HSSFPrintSetup.......more

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" <Sh...@tinker.af.mil>
To: "'POI Developers List'" <po...@jakarta.apache.org>
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:stephen@Basit.COM]
> 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: 
> slaubach@apache.org
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: poi-dev-help@jakarta.apache.org
>