Re: [xep-support] a leader in the middle of the line

From: Alexander Peshkov (peshkov@renderx.com)
Date: Wed Mar 24 2004 - 07:10:41 PST

  • Next message: Marc: "Re: [xep-support] a leader in the middle of the line"

    Hello Marc,

    The solution is straightforward and there is no need for
    fo:inline-container. You just have to add alignment-baseline="middle"
    to the leader like this:

    <fo:block text-align-last="justify">
      <fo:leader alignment-baseline="middle" leader-pattern="rule" rule-thickness="1.0pt" color="black" leader-length.minimum="0pt" leader-length.maximum="100%"/>
    </fo:block>

    Best regards,
    Alexander Peshkov mailto:peshkov@renderx.com
    RenderX

    M> I want to move a leader a little up so the it will be at the middle of the normal char. I try to use the inline-container with the display-align attribute, it changes nothing.
    M> All this are in a table to adjust the position.
    M> Here is my source

    M> Marc

    M> <fo:table-row>
    M> <fo:table-cell>
    M> <fo:block>
    M> <fo:inline-container display-align="center">
    M> <fo:block text-align-last="justify">
    M> <fo:leader leader-pattern="rule" rule-thickness="1.0pt" color="black" leader-length.minimum="0pt" leader-length.maximum="100%"/>
    M> </fo:block>
    M> </fo:inline-container>
    M> </fo:block>
    M> </fo:table-cell>
    M> <fo:table-cell>
    M> <fo:block text-align="right" margin-right="0.5cm">
    M> <fo:page-number color="black" font-size="7pt" font-style="normal" font-family="Times"/>
    M> </fo:block>
    M> </fo:table-cell>
    M> </fo:table-row>

    M> -------------------
    M> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    M> in the body of the message to majordomo@renderx.com from the address
    M> you are subscribed from.
    M> (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html

    -------------------
    (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    in the body of the message to majordomo@renderx.com from the address
    you are subscribed from.
    (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



    This archive was generated by hypermail 2.1.5 : Wed Mar 24 2004 - 07:19:06 PST