Thank you. -----Исходное сообщение----- От: Jeremias Maerki [mailto:[EMAIL PROTECTED] Отправлено: Вт 27.09.2005 12:12 Кому: fop-dev@xmlgraphics.apache.org Копия: Тема: Re: question
On 27.09.2005 09:25:15 Jeremias Maerki wrote: > > On 26.09.2005 19:09:59 Sergey Simonchik wrote: > > Hi, > > > > Letters "A" and "B" have same indent from the left edge of page in this > > example: > > > > ... > > <fo:block border-style="solid" border-width="20pt" border-color="red">A > > <fo:block border-style="solid" border-width="20pt" border-color="black">B > > </fo:block> > > </fo:block> > > ... > > > > Here behaviors of block-progression and inline-progression are different. > > Is it correct? > > Yes, that's right. In your example the start-indent and end-indent trait > is the same for both blocks. This has to do with the rules established > in 5.3.2 in XSL 1.0. I may need to add something to that. You can modify the behaviour to that which I assume you expect: Just add margin="0pt" to your example. <fo:block margin="0pt" border-style="solid" border-width="20pt" border-color="red">A <fo:block margin="0pt" border-style="solid" border-width="20pt" border-color="black">B </fo:block> </fo:block> Extensive documentation about indents can be found here: http://wiki.apache.org/xmlgraphics-fop/IndentInheritance Jeremias Maerki
<<winmail.dat>>