Subject: Re: [xsl] Empty lines Strike-out From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Sat, 01 May 2004 09:03:25 -0400 |
We have a problem in generating the Pdf using the XSL:FO, we need to strike out the last page's empty lines if exists.
For eg., if the last page occupuies the 3/4th page we need to stikeout the 1/4 the page. How we can do that in the XSL-FO?.
Is there any way we can find out relative position where we are in the page,
If this can be achieved i think we can dynamically include the image with a diagonal line. OR any other soultion u have please do help us.
<?xml version="1.0" encoding="utf-8"?><!--gaiajpathy.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" background="silver"/> </simple-page-master> </layout-master-set>
<flow xmlns="http://www.w3.org/1999/XSL/Format" flow-name="frame-body" font-family="Times" font-size="20pt">
<block background-color="white"> <block>This is a test</block> <block start-indent="2in" end-indent=".5in" space-before=".5in"> This is a test </block> </block>
</flow> </page-sequence> </root>
-- Public courses: Spring 2004 world tour of hands-on XSL instruction Each week: Monday-Wednesday: XSLT/XPath; Thursday-Friday: XSL-FO
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 Breast Cancer Awareness http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Empty lines Strike-out, GAIAJPATHY S | Thread | RE: [xsl] Grouping problem - Duplic, Sarah |
Re: [xsl] Grouping problem - Duplic, Sarah | Date | [xsl] XSL-List Guidelines, B. Tommie Usdin |
Month |