W3C home > Mailing lists > Public > www-xsl-fo@w3.org > December 2003

Re: Separator line in region-start

From: Oliver Bienert <oliver.bienert@gmx.de>
Date: Mon, 08 Dec 2003 01:09:13 +0100
Message-ID: <3FD3C129.6080203@gmx.de>
To: www-xsl-fo@w3.org

> 
> Apply display-align to the region (fo:region-start display-align="center");

That did not help :-(

I don't even know, if this the right way to achieve my goal...
Actually, what I mean is to have some register marks at the very left of 
  a sheet of paper as a means to proper use of hole-punchers. Is there a 
general solution? I am using fop for producing pdf.

Regards Oliver

PS: This is how my stylesheet looks like now:

...

<xsl:template match="/root">
<fo:root
font-size="8pt">
<fo:layout-master-set>
	<fo:simple-page-master
	    master-name="simple"
	    page-height="29.7cm"
	    page-width="21cm"
	    margin-top="1cm"
	    margin-bottom="2cm"
	    margin-left="2.5cm"
	    margin-right="0.5cm">
	    <fo:region-body
	         margin-top="2cm"/>
	    <fo:region-before
	         extent="2cm"
	         precedence="true"/>
	    <fo:region-start
		 extent="2cm"
		 display-align="center"/>
	</fo:simple-page-master>
</fo:layout-master-set>

<fo:page-sequence master-reference="simple">
	<fo:static-content
		flow-name="xsl-region-before">
		<xsl:call-template name="static-content"/>
	</fo:static-content>
	<fo:static-content
		flow-name="xsl-region-start">
		   <fo:block>
		      <fo:leader
		 	   leader-pattern="rule"
		 	   leader-length="100%"
	             	   rule-style="solid"
  	                   rule-thickness="1px"/>
	      </fo:block>
	</fo:static-content>
	<fo:flow
		flow-name="xsl-region-body">
		<xsl:apply-templates select="block"/>
	</fo:flow>
</fo:page-sequence>

...
Received on Sunday, 7 December 2003 19:10:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:11 GMT