Subject: Re: [xsl] Trouble positioning "fo:block" at the bottom of the page From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Mon, 07 Feb 2011 07:58:29 -0500 |
First of all, I must 'warn' you; I'm very new to XSL-FO.
...
I want a piece of text (sort of final notes in a brochure) to appear at the bottom of the last page if that page has room for it. If there is no room for it, I want it to appear at the next page, but also at the bottom of it. This means that when the regular content of the brochure has reached the end, I add the 'final notes'.
...
By the way, I don't know how much content goes in the regular content and how much goes in the 'extrainfo' or 'final notes'. So I cannot work with strict mathematics.
Any help on my question would be greatly appreciated. And if someone needs to see more code or whatever, please let me know.
<?xml version="1.0" encoding="US-ASCII"?><!--toon.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"/> </simple-page-master> </layout-master-set>
<page-sequence master-reference="frame"> <flow flow-name="frame-body"> <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> <footnote> <inline/> <footnote-body> <block keep-together.within-column="always"> This is the text of the extra notes. It is indeterminate in length and can cover a number of lines. This is the text of the extra notes. It is indeterminate in length and can cover a number of lines. This is the text of the extra notes. It is indeterminate in length and can cover a number of lines. </block> </footnote-body> </footnote> </block> </flow> </page-sequence> </root>
-- Contact us for world-wide XML consulting & instructor-led training Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Legal business disclaimers: http://www.CraneSoftwrights.com/legal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Trouble positioning "fo:b, Tony Graham | Thread | [xsl] [XSL 1.0] How to use apply-te, Keith Gilbert |
Re: [xsl] Trouble positioning "fo:b, Tony Graham | Date | [xsl] [XSL 1.0] How to use apply-te, Keith Gilbert |
Month |