[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Breaking the flow?
At 01/06/05 11:48 +0200, Gustaf Liljegren wrote:
The symptom is that the manager block appears at different places depending on how many items the agenda has. If there is just a few, the manager is near the middle of the page, and if there's plenty it may appear at a second page! How about using an absolute or fixed positioned block-container object? I've attached a three-page example below where the manager appears in the same position on each page regardless of the length of the flow. I've set the top edge of the container to the same position on each page. Note that I also used a single page page-sequence so that if the agenda flowed to the second page the rendering agent would report an overflow of the page-sequence. I tested it using the evaluation RenderX (my environment adds the fo: namespace prefix as an intermediate step to running RenderX (a temporary RenderX situation; not required for other tools)). I hope this helps. .......................... Ken
<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" border="dotted" margin-top="13mm" margin-bottom="13mm"/> </simple-page-master> <page-sequence-master master-name="frame-one-page-only"> <single-page-master-reference master-name="frame"/> </page-sequence-master> </layout-master-set> <page-sequence master-name="frame-one-page-only"> <flow flow-name="frame-body" text-align="center"> <block space-before="1cm">This is to certify:</block> <block font-style="italic" font-size="50pt" space-before="3cm">Gustaf</block> <block space-before="3cm" space-after="1cm">Has completed:</block> <block>Agenda 1</block> <block>Agenda 2</block> <block>Agenda 3</block> <block>Agenda 4</block> <block>Agenda 5</block> <block-container absolute-position="fixed" top="220mm"> <block>Manager: <inline font-style="italic">wife</inline> </block> </block-container> </flow> </page-sequence> <page-sequence master-name="frame-one-page-only"> <flow flow-name="frame-body" text-align="center"> <block space-before="1cm">This is to certify:</block> <block font-style="italic" font-size="50pt" space-before="3cm">Gustaf</block> <block space-before="3cm" space-after="1cm">Has completed:</block> <block>Agenda 1</block> <block>Agenda 2</block> <block-container absolute-position="fixed" top="220mm"> <block>Manager: <inline font-style="italic">wife</inline> </block> </block-container> </flow> </page-sequence> <page-sequence master-name="frame-one-page-only"> <flow flow-name="frame-body" text-align="center"> <block space-before="1cm">This is to certify:</block> <block font-style="italic" font-size="50pt" space-before="3cm">Gustaf</block> <block space-before="3cm" space-after="1cm">Has completed:</block> <block>Agenda 1</block> <block>Agenda 2</block> <block>Agenda 3</block> <block>Agenda 4</block>
</root>
Training Blitz: 3-days XSLT/XPath, 2-days XSLFO in Ottawa 2001-06-18/22 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|