[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Block (container) - one line at the top and one at

Subject: Re: Block (container) - one line at the top and one at the bottom - how to achieve this ?
From: "Kerry, Richard richard.kerry@xxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 21 Jan 2015 11:52:48 -0000
Re:  Block (container) - one line at the top and one at
Thanks Ken, that's exactly what I wanted to know.

>Here you are talking about the page, later you are talking about a
>block container.

Indeed, both are right but I didn't give all the details.  I am working on a
page.  The page is divided into sections, one of which is the container in
question.  It covers roughly the top quarter of the page (noting
bottom="200mm" from my original attempt).

>> display-align="after" in a block-container.
>You've been misinformed if this is all that you've been told ... it
>is only part of the solution.

Indeed - correct but not complete.  It is the key to getting something to go
to the bottom of a box.  But there's the next bit in order to get the extra

>Lines are always stacked adjacent to each other, so nothing need be
>said about the first line ... it will be adjacently stacked to the last line.

Blocks (lines) becoming adjacent was the constraint I needed to know how to
(appear to) change.  I could see that something needed to expand but didn't
know how to get that to happen.  The extra container does this.  I've only
picked up FO through working with it a bit from DocBook so I don't necessarily
know these kinds of rules.

The example runs fine in FOP (probably to be expected as it's all standard
My file now has something like:

   right="2mm"    left="25mm"   top="30mm"   bottom="230mm"

 <fo:block-container  absolute-position="absolute" >
   <fo:block  border="1pt solid red" margin-left="4pt" margin-right="4pt"
margin-top="2pt" margin-bottom="2pt">
  line 1
 </fo:block-container >
 <fo:block  border="1pt solid red" margin-left="4pt" margin-right="4pt"
margin-top="2pt" margin-bottom="2pt">
  line 2

 </fo:block-container >

I've not used flows as these are guaranteed to be single line text so I don't
need anything to flow.
The framework (layout-masters, page-sequences, etc) is straight out of Docbook
so I've not mentioned it here.

Atos, Atos Consulting, Worldline and Canopy The Open Cloud Company are trading
names used by the Atos group. The following trading entities are registered in
England and Wales: Atos IT Services UK Limited (registered number 01245534),
Atos Consulting Limited (registered number 04312380), Atos Worldline UK
Limited (registered number 08514184) and Canopy The Open Cloud Company Limited
(registration number 08011902). The registered office for each is at 4 Triton
Square, Regentbs Place, London, NW1 3HG.The VAT No. for each is:

This e-mail and the documents attached are confidential and intended solely
for the addressee, and may contain confidential or privileged information. If
you receive this e-mail in error, you are not authorised to copy, disclose,
use or retain it. Please notify the sender immediately and delete this email
from your systems. As emails may be intercepted, amended or lost, they are not
secure. Atos therefore can accept no liability for any errors or their
content. Although Atos endeavours to maintain a virus-free network, we do not
warrant that this transmission is virus-free and can accept no liability for
any damages resulting from any virus transmitted. The risks are deemed to be
accepted by everyone who communicates with Atos by email.

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.