Patrick,
Sounds good to me. Try it and see if it works. (Then write to the list to tell us if it does.) The "bottom" attribute is definately part of the spec.
Chuck
Chaumette, Patrick wrote:
Hi Chuck,
sure I can set the "top" attribute, but then I will have to take care that
the table in the block container will have to fit 100% with the start of
the table of the xsl-region-body. I hoped with using "bottom" I was always sure to get the bottom of the last
block element in xsl-region-before attached correctly to the first block of
xsl-region-body.
What do you think ?
-----Ursprüngliche Nachricht----- Von: Chuck Paussa [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 16. April 2002 18:38 An: [EMAIL PROTECTED] Betreff: Re: Absolute positioning?
Patrick,
The block container size needs to be big enough to fit the contents. Any contents that don't fit in the height and width get cut off. Make the height 24mm. The border attribute needs all 3 components, "solid 1px black"
I'm not sure if "bottom" is implemented. You can calculate the top by using (region-before-height - block-container-height) I haven't gotten to the position elements in my testing.
Chuck
Chaumette, Patrick wrote:
Hi Chuck,
I tried like below your tipp but did do nothing.
It only shows the first "Test" on the top of the page.
Doesnt "bottom" refer to the distance between the bottom of
the xsl-region
and the bottom of the block-container ? Any ideas ?
Greetings, Patrick
<fo:static-content
flow-name="xsl-region-before">
<fo:block-container height="8mm" width="190mm" bottom="0mm"
left="0mm"
text-align="center" position="absolute" border="solid 1px white">
<fo:block border="solid" > Test </fo:block> <fo:block border="solid">Test2 </fo:block> <fo:block border="solid">Test3 </fo:block> </fo:block-container> </fo:static-content>
Dipl. Inform. Patrick Chaumette
T-Systems ITS GmbH
-----Ursprüngliche Nachricht----- Von: Chuck Paussa [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 16. April 2002 18:11 An: [EMAIL PROTECTED] Betreff: Re: Absolute positioning?
Patrick,
Try this or something like it.
<fo:block-container height="8mm" width="190mm" top="0mm" left="0mm" text-align="center" position="absolute" border="solid 1px white">
Chuck
Chaumette, Patrick wrote:
Hello Jerome,
do you put the "position" attribute on a block-container
or a block ?
bottom of a static xsl-region-before so that it glues with the start of the xsl-region-body.In fact I would like to be able to put a block in the
I thought of using a block-container with absolute-position="fixed"
bottom="0cm" and thus get my block at the bottom of the
xsl-region-before
and fitting right above the beginning of the region-body.
The body contains a table whose header should be tight to
the bottom of a table in the region-before.
Someone has a solution for this with FOP ?
Patrick
-----Ursprüngliche Nachricht----- Von: Jerome Siour [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 16. April 2002 16:46 Cc: Esteban Gonzalez Betreff: RE: Absolute positioning?
[INFO]: FOP 0.20.3
<fo:block-container absolute-position="fixed" top="240mm"
left="100mm">
FOP web site indicates that this attribute
(absolute-position) is not supported
(http://xml.apache.org/fop/implemented.html, but is the
list up to date?)
However, the "position" attribute seams to be allowed (for
value "fixed").
May be should you try it...
Hope this helps...
Jerome.