Yes, that was plan B.

What I really need is the usable width, 
i.e. page-width - left-margin - right-margin.

If FOP could cough that up it would be cool,
otherwise as you said, I could define some variable(s)
at the top and reference them.

Thanks,  Mike


--- Clay Leeds <[EMAIL PROTECTED]> wrote:
> On Jun 17, 2004, at 8:25 AM, Mike Kellstrand wrote:
> > As I create a table and specify the column widths,
> it
> > would be nice to know the width of the region-body
> to
> > use in column width calculations.
> >
> > Is there any function that will return this value?
> >
> > Or do you have to set some layout variables at the
> top
> > of the stylesheet and build off of those?
> >
> > Thanks,  Mike
> 
> I doubt that FOP can do it per se, but you could
> define it using a 
> variable in the simple-page-master:
> 
> <fo:simple-page-master master-name="repeating"
> page-height="28cm" 
> page-width="{$varRepeatingPageWidth}cm"
> margin-top="1cm" 
> margin-bottom="1cm" margin-left="1cm"
> margin-right="0cm">
> 
> Then, you could check against the variable for the
> page-width variable:
> 
> $varRepeatingPageWidth
> 
> I hope this helps!
> 
> Web Maestro Clay



                
__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail

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

Reply via email to