You can use start-indent, end-indent, space-before and space-after to achieve similar effects. As Joerg said, padding is illegal on regions.
On 18.08.2006 07:18:44 Debasish Jana wrote: > Many thanks, Jeremias. If we don't use block-container, how can we supply > the padding parameters? Can we supply that in the region too? > > Regards, > > Debasish > > -----Original Message----- > From: Jeremias Maerki [mailto:[EMAIL PROTECTED] > Sent: Friday, August 18, 2006 1:58 AM > To: [email protected] > Subject: Re: Help required for margin in simple-page-master and padding in > Start > > Two problems: > - You don't specify the extent property for Header and LeftSide. > - You use fixed positioned block-containers which actually makes FOP > ignore the whole region setup, because fixed positions block-containers > are absolutely positioned relatively to the upper left corner of the > page. So, remove the block-containers. If you need a background-color > I'd first try to set it on fo:region-start before playing with > block-containers. > > On 17.08.2006 12:01:30 Debasish Jana wrote: > > Hi: > > > > I am facing a problem with margin and padding. > > > > The associated xsl-fo file is enclosed below. > > > > I have a section (simple-page-master) that has margins on all four sides > as > > 10.0pt. The section's start (flow name = LeftSide) has left-padding as > 10.0 > > pt and top-padding as 10.0 pt. The start part has a child component as a > > text showing HELLO. With the padding on for start, the text is appearing > ok, > > but the section is not showing the margin gap in generated PDF. > > > > I am using FOP 0.92 > > > > Please help. > > > > Regards, > > > > Debasish Jana > <snip/> Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
