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

Re: XSL-FO Question: fo:region-start, align text at b

Subject: Re: XSL-FO Question: fo:region-start, align text at bottom of region
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 16 Mar 2006 13:12:58 -0500
fo region start
At 2006-03-16 13:20 +0000, Johannes Becker wrote:
I have a <fo:region-start> area. My aim is to always place my text at the bottom of this region.

Then use display-align="after" for your region.


something like this:

I hope the example below helps. It works just fine in Antenna House, RenderX XEP, and Ibex.


. . . . . . . . . . . Ken

<?xml version="1.0" encoding="iso-8859-1"?><!--becker.fo-->
<root xmlns="http://www.w3.org/1999/XSL/Format"
      font-family="Times" font-size="20pt">

  <layout-master-set>
    <simple-page-master master-name="frame"
                        page-height="297mm" page-width="210mm"
                        margin-top="15mm" margin-bottom="15mm"
                        margin-left="15mm" margin-right="15mm">
      <region-body region-name="frame-body" margin-left="25mm"/>
      <region-start region-name="edge-stuff" extent="25mm"
                    display-align="after"/>
    </simple-page-master>
  </layout-master-set>

  <page-sequence master-reference="frame">
    <static-content flow-name="edge-stuff">
      <block>My text here on bottom</block>
    </static-content>
    <flow flow-name="frame-body" xmlns="http://www.w3.org/1999/XSL/Format">
      <block>This is a test</block>
      <block>This is a test</block>
      <block>This is a test</block>
      <block>This is a test</block>
      <block>This is a test</block>
      <block>This is a test</block>
      <block>This is a test</block>
      <block>This is a test</block>
      <block>This is a test</block>
      <block>This is a test</block>
      <block>This is a test</block>
      <block>This is a test</block>
      <block>This is a test</block>
      <block>This is a test</block>
      <block>This is a test</block>
      <block>This is a test</block>
      <block>This is a test</block>
      <block>This is a test</block>
      <block>This is a test</block>
      <block>This is a test</block>
      <block>This is a test</block>
      <block>This is a test</block>
      <block>This is a test</block>
      <block>This is a test</block>
      <block>This is a test</block>
      <block>This is a test</block>
      <block>This is a test</block>
      <block>This is a test</block>
      <block>This is a test</block>
      <block>This is a test</block>
      <block>This is a test</block>
      <block>This is a test</block>
      <block>This is a test</block>
      <block>This is a test</block>
      <block>This is a test</block>
      <block>This is a test</block>
      <block>This is a test</block>
      <block>This is a test</block>
      <block>This is a test</block>
      <block>This is a test</block>
      <block>This is a test</block>
      <block>This is a test</block>
      <block>This is a test</block>
      <block>This is a test</block>
      <block>This is a test</block>
      <block>This is a test</block>
      <block>This is a test</block>
      <block>This is a test</block>
    </flow>
  </page-sequence>
</root>

--
World-wide on-site corporate, govt. & user group XML/XSL training.
G. Ken Holman                 mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
Male Cancer Awareness Aug'05  http://www.CraneSoftwrights.com/s/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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-2011 All Rights Reserved.