Re: [xsl] XSL-FO Question: fo:region-start, align text at bottom of region

Subject: Re: [xsl] 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
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