> -----Original Message-----
> From: Finn Bock [mailto:[EMAIL PROTECTED]
>
> I was looking at some of the border issues and would like to ask for a
> little clarification of which of area rectangle that is described by
> Block.getHeight and Block.getWidth.
>
>     http://www.w3.org/TR/2001/REC-xsl-20011015/slice4.html#area-geo
>
>  From looking at the layout managers it seems to specify the content
> rectangle but the border code in PDFRendere interprets the values as the
> allocation rectangle.
>
> I would guess that that values should be the size of content rectangle.
>

Having had a first look, I wouldn't be too sure... If you want to draw a
border, you want it to take into account the padding (if present), no? At
the time the PDFRenderer renders the borders it should draw these along the
large-allocation-rectangle, not the content rectangle. So, I would
definitely go check if Block.getHeight and Block.getWidth already take into
account the specified or inherited padding...

Perhaps someone else can clarify this further?

Cheers,

Andreas

Reply via email to