On 12.03.2007 18:50:32 Andreas L Delmelle wrote: > On Mar 12, 2007, at 18:25, Miroslav Pukhalsky wrote: > > Hi Miroslav, > > > Andreas L Delmelle wrote: > >> Check the margin or indent on the parent (or ancestor) block. > > > > Parent (or ancestor) block has no any indents. > > > > But I tried resolve my in the another way: > <snip /> > > <fo:block margin-left="10mm"> > > <fo:block font-size="120%" font-weight="bold"> > > TEXT > > </fo:block> > > > > <fo:table table-layout="fixed" width="100%"> > > <!-- skip body --> > > </fo:table> > > </fo:block> > <snip /> > > > > And text from block has margin 10 mm but table has margin 20 mm. > > The indent-computation on that block seems to be correct, as it > inherits the 10mm specified on the parent block. > > The fact that the table is offset by double that amount, seems to be > a bug, though...
No bug. Miroslav, please set start-indent="0pt" and end-indent="0pt" on the table-body. That should get it right. Note, this is a weirdness of the FO spec, not in FOP (all described in the Wiki). If you want the behaviour you'd expect (without the above work-around) but can live with the fact that you're activating non-compliant behaviour you can enable the break-indent-inheritance setting to "true" in the configuration. > I'm going to have a closer look at this as soon as I find the time. No need. :-) Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
