Re: Absolute positioning

2002-04-30 Thread Matthew Huggett
Hi Ricardo:

Regarding references for FO elements and attributes.  I guess you have
already checked the W3C recommendation?  The pdf version has an easy
bookmark to a FO properties summary.  If you check the xml cover pages site
http://xml.coverpages.org/ there might be something else.  I know theres a
company selling quick references for xml,xsl, ecma script, etc. ($5 US each)
but I can't remember the URL.

Matthew
- Original Message -
From: Ricardo Coutinho [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, April 30, 2002 10:08 PM
Subject: Absolute positioning


 Hi all,

 Firstly I want to apologise in advance for asking many questions. :) It
has
 been some time since I used fop and fo (I think the last version i used
was
 0.17..)

 1. Is there another way to use absolute positioning without using the
 fo:block-container tag. With the text I have I don't have any
width/height
 variables available. It does work with the fo:block tag.
 2. Is there a way to specify the orientation for each individual page.

 Lastly I would appreciate any online references regarding fo
 elements/attributes.

 Thanks in advance.


 Regards,

 Ricardo Coutinho
 Odyssey Group
 Software Engineer
 52 Avenue de la gare Luxembourg
 Tel : +352 26 29 77 33
 Email : [EMAIL PROTECTED]
 Internet : http://www.odyssey-group.com






Re: Absolute positioning

2002-04-30 Thread J.Pietschmann
Ricardo Coutinho wrote:
1. Is there another way to use absolute positioning without using the
fo:block-container tag.
Not yet.
2. Is there a way to specify the orientation for each individual page.
No yet.
J.Pietschmann



RE: Absolute positioning?

2002-04-17 Thread Chaumette, Patrick
Hello,

I tried using the bottom attribute in a block-container with
position=absolute but doesnt work like I wished.
This snippet puts a red box at the top of the page, I expected it to come
aligned with the bottom of the region-before which I defined with
fo:region-before extent=113.51mm/
Any ideas ? Is this a FOP problem or is my FO wrong ?

fo:static-content flow-name=xsl-region-before
fo:block-container height=25mm width=190mm bottom=0mm left=0mm
text-align=center position=absolute border=solid 1px red

/fo:block-container 
/fo:static-content


Dipl. Inform. Patrick Chaumette

T-Systems ITS GmbH

Service Prozesse Retail
Hausanschrift: Fasanenweg 9, 70771 Leinfelden-Echterdingen
Postanschrift: Postfach 100258, 70746 Leinfelden-Echterdingen
Telefon: (0711)972-2437
Telefax: (0711)972-1949
E-Mail: [EMAIL PROTECTED]
Internet: http://www.t-systems.de



 -Ursprüngliche Nachricht-
 Von: Chuck Paussa [mailto:[EMAIL PROTECTED]
 Gesendet: Dienstag, 16. April 2002 19:41
 An: [EMAIL PROTECTED]
 Betreff: Re: Absolute positioning?
 
 
 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
 


RE: Absolute positioning?

2002-04-16 Thread Chaumette, Patrick
Hello Jerome,
 
do you put the position attribute on a block-container or a block ?

In fact I would like to be able to put a block in the bottom of a static
xsl-region-before so that it glues with the start of the xsl-region-body.
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 ?

Thanks,

greetings,
Patrick



Dipl. Inform. Patrick Chaumette

T-Systems ITS GmbH

Service Prozesse Retail
Hausanschrift: Fasanenweg 9, 70771 Leinfelden-Echterdingen
Postanschrift: Postfach 100258, 70746 Leinfelden-Echterdingen
Telefon: (0711)972-2437
Telefax: (0711)972-1949
E-Mail: [EMAIL PROTECTED]
Internet: http://www.t-systems.de



 -Ursprüngliche Nachricht-
 Von: Jerome Siour [mailto:[EMAIL PROTECTED]
 Gesendet: Dienstag, 16. April 2002 16:46
 An: FO
 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.
 


Re: Absolute positioning?

2002-04-16 Thread Chuck Paussa
Patrick,
First. Don't cross post to the dev and user list! This is a user list 
question and the user list is a great resource for your answers. Don't 
annoy the developers.

Next. 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 ?
In fact I would like to be able to put a block in the bottom of a static
xsl-region-before so that it glues with the start of the xsl-region-body.
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 ?
Thanks,
greetings,
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.





RE: Absolute positioning?

2002-04-16 Thread Chaumette, Patrick
Hi Chuck,

thanks for the information, I thought it was some FOP implementation
specific problem so I posted it into dev.
Will try to do better next time, sorry.

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=solidTest2
/fo:block
fo:block border=solidTest3
/fo:block
/fo:block-container
/fo:static-content

Dipl. Inform. Patrick Chaumette

T-Systems ITS GmbH

Service Prozesse Retail
Hausanschrift: Fasanenweg 9, 70771 Leinfelden-Echterdingen
Postanschrift: Postfach 100258, 70746 Leinfelden-Echterdingen
Telefon: (0711)972-2437
Telefax: (0711)972-1949
E-Mail: [EMAIL PROTECTED]
Internet: http://www.t-systems.de



 -Ursprüngliche Nachricht-
 Von: Chuck Paussa [mailto:[EMAIL PROTECTED]
 Gesendet: Dienstag, 16. April 2002 18:11
 An: [EMAIL PROTECTED]
 Betreff: Re: Absolute positioning?
 
 
 Patrick,
 
 First. Don't cross post to the dev and user list! This is a user list 
 question and the user list is a great resource for your 
 answers. Don't 
 annoy the developers.
 
 Next. 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 ?
 
 In fact I would like to be able to put a block in the bottom 
 of a static
 xsl-region-before so that it glues with the start of the 
 xsl-region-body.
 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 ?
 
 Thanks,
 
 greetings,
 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.
 
 
 
 
 


Re: Absolute positioning?

2002-04-16 Thread Chuck Paussa
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=solidTest2
/fo:block
fo:block border=solidTest3
/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 ?
In fact I would like to be able to put a block in the bottom of a static 
xsl-region-before so that it glues with the start of the xsl-region-body.
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.




RE: Absolute positioning?

2002-04-16 Thread Chaumette, Patrick
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 ?



Dipl. Inform. Patrick Chaumette

T-Systems ITS GmbH

Service Prozesse Retail
Hausanschrift: Fasanenweg 9, 70771 Leinfelden-Echterdingen
Postanschrift: Postfach 100258, 70746 Leinfelden-Echterdingen
Telefon: (0711)972-2437
Telefax: (0711)972-1949
E-Mail: [EMAIL PROTECTED]
Internet: http://www.t-systems.de



 -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=solidTest2
  /fo:block
  fo:block border=solidTest3
  /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 ?
 
 In fact I would like to be able to put a block in the 
 bottom of a static xsl-region-before so that it glues with 
 the start of the xsl-region-body.
 
 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.
 
 
 
 


Re: Absolute positioning?

2002-04-16 Thread Chuck Paussa
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=solidTest2
/fo:block
fo:block border=solidTest3
/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 ?
In fact I would like to be able to put a block in the 

bottom of a static xsl-region-before so that it glues with 
the start of the xsl-region-body.

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.