[xep-support] Leaders with margins
Peter Drivas
peter.drivas at gexinc.com
Thu Feb 28 07:24:21 PST 2002
Gustaf,
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:
<fo:block >
<fo:leader
leader-pattern="rule"
rule-style="solid"
leader-length="100%"
rule-thickness="0.5pt"
start-indent="-78pt">
</fo:leader>
</fo:block>
This bleeds the rule to the end of the page on the left and runs the rule to
the end of the body on the right. It doesn't run into the right margin. Your
command might look like:
<fo:block >
<fo:leader
leader-pattern="rule"
rule-style="solid"
leader-length="100%"
rule-thickness="0.25mm"
start-indent="15mm">
</fo:leader>
</fo:block>
You may need to fine tune the settings, but this might work.
Peter
-----Original Message-----
From: owner-xep-support at www.renderx.com
[mailto:owner-xep-support at www.renderx.com]On Behalf Of Gustaf Liljegren
Sent: Thursday, February 28, 2002 9:35 AM
To: xep-support at renderx.com
Subject: [xep-support] Leaders with margins
I'm having a problem with margins and leaders:
<!-- Leader -->
<fo:block>
<fo:leader
leader-length="100%"
leader-pattern="rule"
rule-thickness="0.25mm"
margin-left="15mm"/>
</fo:block>
This leader is in the body region. XEP appears to calculate the width of the
rule based on the whole width of the body region, and then move it 15 mm to
the right, instead of calculting 100% from what is left of the body region
width when 15 mm has been subtracted. So the result is that the rule goes
from 15 mm right of the left margin to the end of the page (the right margin
is 15 mm too).
I want the leader to go from 15 mm right of the left margin to the right
side of the body region. How do I achieve that?
Gustaf
-------------------
By using the Service, you expressly agree to these Terms of Service
http://www.renderx.com/tos.html
-------------------
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