I was trying to draw a line that ran beneath the character baseline, and
doing it with leaders seemed the easiest way. In addition, when
leader-pattern="use-content" is in effect, someone might appreciate the
ability to underline the leader's content.


Eric Amick
Legislative Computer Systems
Office of the Clerk

-----Original Message-----
From: Vincent Hennebert [mailto:[email protected]] 
Sent: Tuesday, February 24, 2009 6:10
To: [email protected]
Subject: Re: border-after-style with leaders

Hi Eric,

Amick, Eric wrote:
> I tried the following FO to generate a PDF in both 0.94 and 0.95:
>  
> <?xml version="1.0" encoding="UTF-8"?> <root 
> xmlns="http://www.w3.org/1999/XSL/Format";>
>  <layout-master-set>
>   <simple-page-master master-name="foo" page-height="11in"
> page-width="8.5in">
>    <region-body/>
>   </simple-page-master>
>  </layout-master-set>
>  <page-sequence master-reference="foo">
>   <flow flow-name="xsl-region-body">
>    <block><leader border-after-style="solid" 
> leader-length="2in"/>hello there</block>
>   </flow>
>  </page-sequence>
> </root>
>  
> The output has no line in front of "hello there". I know that 
> leader-pattern="rule" would produce nearly the same output, but the 
> spec suggests that border-after-style applies to leader. Am I missing 
> something?

I don't think so. I guess borders haven't been implemented on fo:leader
yet. Just curious: what use case is it that would require the use of a
border?


> Eric Amick
> Legislative Computer Systems
> Office of the Clerk

Vincent

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to