Debasish Jana wrote:
<snip/>
We specify the following for the Header block
<fo:static-content flow-name="Header">
<fo:block-container height="20pt" width="539pt" top="10pt" left="18pt"
position="absolute" background-color="#2E35FF" border-top-width="8.0pt"
border-top-style="solid" border-top-color="#FF0000"
border-bottom-width="8.0pt" border-bottom-style="solid"
border-bottom-color="#FF0000" border-left-width="8.0pt"
border-left-style="solid" border-left-color="#FF0000"
border-right-width="8.0pt" border-right-style="solid"
border-right-color="#FF0000">
<fo:block padding-top="0.0pt" padding-bottom="10.0pt" padding-left="10.0pt"
padding-right="10.0pt">
</fo:block>
</fo:block-container></fo:static-content>
I am confused about the computation of the top and left for the footer,
start (left section) and end (right section).
From FOP 0.92 point of view, for header, footer, start and end, a (0,0)
co-odinates means which point? Suppose, we have margin, border, padding as
specified above?
Depends on the position attribute of block container. IIRC
position="fixed" means (0,0) is the top left of the page ignoring all
region boundaries. IIRC position="absolute" means (0,0) is top left of
containing region.
Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]