You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Jeff Sese <js...@asiatype.com> on 2007/08/24 11:08:40 UTC
Positioning a Block In the Lower Corner of The 1st Column
Hi,
Is this possible in FOP? I have a two column layout and I want to place
a text block in the lower corner of the 1st column of the page.
+-------------------------+
+ ---------- --------- +
+ ---------- --------- +
+ ---------- --------- +
+ ---------- --------- +
+ ---------- --------- +
+ ****** --------- +
+ ****** --------- +
+ ****** --------- +
+-------------------------+
I was first thinking of floats but i guess it's not yet implemented. I
also tried using footnotes but FOP has problems when it involves more
then one column.
TIA
--
Jeff
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: Positioning a Block In the Lower Corner of The 1st Column
Posted by Jeff Sese <js...@asiatype.com>.
Heres an image attachment of what i want to achieve.
Jeff Sese wrote:
> Hi,
>
> Is this possible in FOP? I have a two column layout and I want to
> place a text block in the lower corner of the 1st column of the page.
>
> +-------------------------+
> + ---------- --------- +
> + ---------- --------- +
> + ---------- --------- +
> + ---------- --------- +
> + ---------- --------- +
> + ****** --------- +
> + ****** --------- +
> + ****** --------- +
> +-------------------------+
>
> I was first thinking of floats but i guess it's not yet implemented. I
> also tried using footnotes but FOP has problems when it involves more
> then one column.
>
> TIA
>
> --
> Jeff
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>
>
Re: Positioning a Block In the Lower Corner of The 1st Column
Posted by Chris Bowditch <bo...@hotmail.com>.
Jeff Sese wrote:
> Thanks, I have tried it, but the text from the other block overlaps the
> block-container. How can I avoid this?
You Can't. The only way to achieve what you need using XSL-FO 1.0 is
side-floats. But as you already discovered FOP doesn't support
side-floats :(
<snip/>
Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: Positioning a Block In the Lower Corner of The 1st Column
Posted by Jeff Sese <js...@asiatype.com>.
Thanks, I have tried it, but the text from the other block overlaps the
block-container. How can I avoid this?
--
Jeff
Martijn Laarman wrote:
> I am not sure wheter this is the best solution to your problem but
> this seems to work for me whenever i want to "dock" something on a page:
>
> you can use
> <fo:block-container position="absolute" bottom="0cm" left="0cm">
> <fo:block>This text box will appear at the bottom left of the page
> </fo:block>
> </fo:block-container>
>
> This method doesnt like docking to the right but i get around that by
> specifying left as [pagewidth - blockcontainerwidth]
>
> Hope it works for you too.
>
>
> On 8/24/07, *Jeff Sese* <jsese@asiatype.com
> <ma...@asiatype.com>> wrote:
>
> Hi,
>
> Is this possible in FOP? I have a two column layout and I want to
> place
> a text block in the lower corner of the 1st column of the page.
>
> +-------------------------+
> + ---------- --------- +
> + ---------- --------- +
> + ---------- --------- +
> + ---------- --------- +
> + ---------- --------- +
> + ****** --------- +
> + ****** --------- +
> + ****** --------- +
> +-------------------------+
>
> I was first thinking of floats but i guess it's not yet implemented. I
> also tried using footnotes but FOP has problems when it involves more
> then one column.
>
> TIA
>
> --
> Jeff
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> fop-users-unsubscribe@xmlgraphics.apache.org
> <ma...@xmlgraphics.apache.org>
> For additional commands, e-mail:
> fop-users-help@xmlgraphics.apache.org
> <ma...@xmlgraphics.apache.org>
>
>
> ------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.484 / Virus Database: 269.12.4/969 - Release Date: 8/23/2007 4:04 PM
>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: Positioning a Block In the Lower Corner of The 1st Column
Posted by Martijn Laarman <mp...@gmail.com>.
I am not sure wheter this is the best solution to your problem but this
seems to work for me whenever i want to "dock" something on a page:
you can use
<fo:block-container position="absolute" bottom="0cm" left="0cm">
<fo:block>This text box will appear at the bottom left of the page
</fo:block>
</fo:block-container>
This method doesnt like docking to the right but i get around that by
specifying left as [pagewidth - blockcontainerwidth]
Hope it works for you too.
On 8/24/07, Jeff Sese <js...@asiatype.com> wrote:
>
> Hi,
>
> Is this possible in FOP? I have a two column layout and I want to place
> a text block in the lower corner of the 1st column of the page.
>
> +-------------------------+
> + ---------- --------- +
> + ---------- --------- +
> + ---------- --------- +
> + ---------- --------- +
> + ---------- --------- +
> + ****** --------- +
> + ****** --------- +
> + ****** --------- +
> +-------------------------+
>
> I was first thinking of floats but i guess it's not yet implemented. I
> also tried using footnotes but FOP has problems when it involves more
> then one column.
>
> TIA
>
> --
> Jeff
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>