RE: Little problems with absolute positioning

2003-06-26 Thread Roland Neilands
Roberto,

> I had a very little problem creating a PDF from fo with a very
> intensive use
> of positioning="absolute". I put more than a block-container, each with a
> string, on "on the same line" (the same attribute top="..."); if
> I declare a
> node BC2 before a node BC1 and BC1 should be on the left of BC2
> (BC1.left at BC2 position.

Not sure I understand you completely, but you might just need to change the
width attribute so the block-containers don't overlap. Adding borders for
testing only can help to show what is happening too.

Cheers,
Roland



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Little problems with absolute positioning

2003-06-26 Thread Roberto Calanca
Hi,

I had a very little problem creating a PDF from fo with a very intensive use
of positioning="absolute". I put more than a block-container, each with a
string, on "on the same line" (the same attribute top="..."); if I declare a
node BC2 before a node BC1 and BC1 should be on the left of BC2
(BC1.left

RE: block-containers and absolute positioning

2003-04-25 Thread David Neary


De : J.Pietschmann [mailto:[EMAIL PROTECTED]
> David Neary wrote:
> >   
> >  >   position="absolute">
> 
> Specifying position on fo:block has no effect in FOP, it only works on
> fo:block-container. You have to use two containers:

Thanks a lot - that works great, and has given bme a much better idea of
what's happening.

Dave Neary.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: block-containers and absolute positioning

2003-04-24 Thread J.Pietschmann
David Neary wrote:
I'm using fop 0.20.4 on Win32. I would like to lay out a 
letterhead type thing which looks something like this...

++
|| Name
|| Address 1
|  Logo  | Address 2
|| Phone
|| Fax
++
I think that this should be a block container with two blocks 
in it - one containing the external-graphic and one 
containing the rest of the letterhead (I guess I could do it 
with a table too).
A table would indeed be the more recommended solution.
  

Specifying position on fo:block has no effect in FOP, it only works on
fo:block-container. You have to use two containers:
 
   
 http://www.linux.ie/images/tux.gif)"/>
   
   
 Tom Jones
 17 Rugby Street
 Cardiff CA12 14GC
   
 
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


block-containers and absolute positioning

2003-04-24 Thread David Neary
Hi,

I have a feeling this is probably very easy, but I have had 
some trouble doing it. I'm pretty hopeful that one of ye can 
point out the obvious mistake I'm making :)

I'm using fop 0.20.4 on Win32. I would like to lay out a 
letterhead type thing which looks something like this...

++
|| Name
|| Address 1
|  Logo  | Address 2
|| Phone
|| Fax
++


I think that this should be a block container with two blocks 
in it - one containing the external-graphic and one 
containing the rest of the letterhead (I guess I could do it 
with a table too). Then the right-hand block would contain 
one block each for each of the different data items in the letterhead.

So what I ended up with is 


  

http://www.linux.ie/images/tux.gif)"/>


  Tom Jones
  17 Rugby Street
  Cardiff CA12 14GC

  


The only problem is it doesn't work :) Either I put the two 
blocks in a block, and I get classic block behaviour (logo 
first, then text beneath) or I put them in a block-container, 
and noting gets displayed.

For information, in the page-master, the extent of the before 
is set to 4cm (for testing purposes).

Can anyone help me lay out the header?

Cheers, and thanks for the help,
Dave.

--
David Neary
Phenix Engineering
110 ave Jean Jaures, 69007 Lyon 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Absolute positioning

2002-05-02 Thread Ramesh Suribhatla
Hi,

Try this site for online reference:
http://zvon.org/xxl/xslfoReference/Output/index.html
It has got some good documentation.

Ramesh

__
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.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-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
>
>




Absolute positioning

2002-04-30 Thread Ricardo Coutinho
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-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

Any ideas ? Is this a FOP problem or is my FO wrong ?




 



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 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
			

flow-name="xsl-region-before">


left="0mm"
text-align="center" position="absolute" border="solid 1px white">

Test

Test2

Test3



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.


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


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
> >
> >  flow-name="xsl-region-before">
> >
> > left="0mm"
> >text-align="center" position="absolute" border="solid 1px white">
> >
> > 
> > Test
> > 
> > Test2
> > 
> >     Test3
> > 
> > 
> > 
> >
> >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.
> >>
> >> >>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
> >>> 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



Test

Test2

Test3



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.


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

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






Test

Test2

Test3




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.
> 
>  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
> >>> >>>
> >>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.


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


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
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
> >  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.
>