Subject: RE: Problem with inheriting the indenting for <fo:list-block> element
From: Ryan Graham <Ryan.Graham@xxxxxxxxxxxxx>
Date: Mon, 6 Oct 2003 14:30:13 -0700
|
>I have set "margin-left=12pt" for section inside a
>section. And the start-indent for list-item-block to
>be 12points. Since the list-block is a child element
>of the <fo:block> elemet used for section inside a
>section I expect the list to be indented 12pt relative
>to the block for section thus total indenting should
>be 24pt. But it doesn't seem to be working that way.
>I am wondering if the list-block element is any
>different from regular <fo:block> elements. I use Epic
>with the same stylesheet and it formats it with
>correct indenting (24pt) so wondering if FOP treats
>this somewhat different or I am getting something
>wrong.
Yes, FOP doesn't produce the expected behavior here. I have had the same
problem before, and had to hard code the 24pt indent. I have since switched
to XEP, and it handles this situation properly.
Good Luck,
Ryan
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|