Re: Relative position elements
Hello, The following code works using the 0.20.2 release. The issue in the initial code comes from the fact that the from-parent function does not work on a block parent. Start Helo Thank's for your help Regards -- Sébastien Foucault Chuck Paussa <[EMAIL PROTECTED]> 06/03/2002 18:08 Please respond to fop-user To: [EMAIL PROTECTED] cc: Subject: Re: Relative position elements Sebastien, H. Here's a piece of code which should work but, it creates an invalid PDF and generates [error] org.apache.fop.layout.BlockArea. I don't know why. You should be able to get the parent block's positions using the from-parent() function. And, I thought I'd done it successfully once. Anyone with some clues? Chuck Paussa Sebastien Foucault wrote: >Thank's for that piece of advice but I'm rather looking for a solution >allowing to position elements in a relative way. > >The problem is that I want to design absolute-positionned blocks but, >because I don't know the number of times a block will be repeated and >hence it's Y position, I cannot use an absolute positionning. > >Regards >-- >Sébastien Foucault > >Chuck Paussa <[EMAIL PROTECTED]> > >Sebastien, > >They are on block-container. I don't know about block but here's some >code I use: > >top="{$calcRemitBoxTop}mm" left="0in" position="absolute"> > >Chuck Paussa > >Sebastien Foucault wrote: > >>Hello, >> >>Are relative position attributes implemented in fop (either on block >>element or on block-container element) ? >>If so how to make them work ? >> >>Thank's in advance >>-- >>Sébastien Foucault >> http://www.w3.org/1999/XSL/Format";> Region before Region body Region body Region body Region body Region body Region body Region body Region body Region body Region body Region body Region body Region body Region body Region HELLO body Region body Region body Region body Region body Region body Region body Region body Region body Region body Region body Region body Region body
Re: Relative position elements
Sebastien, H. Here's a piece of code which should work but, it creates an invalid PDF and generates [error] org.apache.fop.layout.BlockArea. I don't know why. You should be able to get the parent block's positions using the from-parent() function. And, I thought I'd done it successfully once. Anyone with some clues? Chuck Paussa Sebastien Foucault wrote: Thank's for that piece of advice but I'm rather looking for a solution allowing to position elements in a relative way. The problem is that I want to design absolute-positionned blocks but, because I don't know the number of times a block will be repeated and hence it's Y position, I cannot use an absolute positionning. Regards -- Sébastien Foucault Chuck Paussa <[EMAIL PROTECTED]> Sebastien, They are on block-container. I don't know about block but here's some code I use: Chuck Paussa Sebastien Foucault wrote: Hello, Are relative position attributes implemented in fop (either on block element or on block-container element) ? If so how to make them work ? Thank's in advance -- Sébastien Foucault http://www.w3.org/1999/XSL/Format";> Region before Region body Region body Region body Region body Region body Region body Region body Region body Region body Region body Region body Region body Region body Region body Region HELLO body Region body Region body Region body Region body Region body Region body Region body Region body Region body Region body Region body Region body
Re: Relative position elements
Thank's for that piece of advice but I'm rather looking for a solution allowing to position elements in a relative way. The problem is that I want to design absolute-positionned blocks but, because I don't know the number of times a block will be repeated and hence it's Y position, I cannot use an absolute positionning. Regards -- Sébastien Foucault Chuck Paussa <[EMAIL PROTECTED]> 01/03/2002 19:11 Please respond to fop-user To: [EMAIL PROTECTED] cc: Subject: Re: Relative position elements Sebastien, They are on block-container. I don't know about block but here's some code I use: Chuck Paussa Sebastien Foucault wrote: >Hello, > >Are relative position attributes implemented in fop (either on block >element or on block-container element) ? >If so how to make them work ? > > >Thank's in advance >-- >Sébastien Foucault >
Re: Relative position elements
Sebastien, They are on block-container. I don't know about block but here's some code I use: Chuck Paussa Sebastien Foucault wrote: Hello, Are relative position attributes implemented in fop (either on block element or on block-container element) ? If so how to make them work ? Thank's in advance -- Sébastien Foucault
Relative position elements
Hello, Are relative position attributes implemented in fop (either on block element or on block-container element) ? If so how to make them work ? Thank's in advance -- Sébastien Foucault