[xep-support] Leaders with margins
Gustaf Liljegren
gustaf.liljegren at xml.se
Thu Feb 28 08:17:01 PST 2002
From: "Peter Drivas" <peter.drivas at gexinc.com>:
> You might want to try using the start-indent attribute instead of
> margin-left. I needed to extend the rule beyond the body region and used a
> negative value. Here's what I did:
Yes, I was wrong about margin. There are no margin properties for fo:leader.
I found 'start-intent' too, but it won't work. Here's one test I did:
<?xml version="1.0"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master master-name="test">
<fo:region-body margin="20mm" border="0.25mm solid silver"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="test">
<fo:flow flow-name="xsl-region-body">
<fo:block >
<fo:leader
leader-pattern="rule"
leader-length="100%"
rule-thickness="0.25mm"
start-indent="15mm"/>
</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>
The leader spans the full width of the body region, as if 'start-indent' has
no effect.
Gustaf
-------------------
By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
More information about the Xep-support
mailing list