Hello Thomas,
As it is stated in XEP Reference manual, 'leader-alignment' property is
not supported by the current version of XEP.
Best regards,
Alexander Peshkov mailto:peshkov@renderx.com
RenderX
TS> Hi,
TS> assume I want to align dots vertically between two entries. I have the
TS> following code which uses fo:leaders[1] in combination with
TS> leader-alignment="reference-area"[2]:
TS> <fo:table margin-top="1em" border="0.1pt blue">
TS> <fo:table-column column-width="2em"
TS> text-align="right" padding-right="0.5em"/>
TS> <fo:table-column column-width="proportional-column-width(2)+2pc"/>
TS> <fo:table-column column-width="2em"/>
TS> <fo:table-body>
TS> <fo:table-row>
TS> <fo:table-cell>
TS> <fo:block>1.1. </fo:block>
TS> </fo:table-cell>
TS> <fo:table-cell>
TS> <fo:block
TS> text-align="start" text-align-last="justify"
TS> >This is some sample text<fo:leader
TS> leader-pattern="dots"
TS> leader-pattern-width="1em"
TS> leader-alignment="reference-area"
TS> /></fo:block>
TS> </fo:table-cell>
TS> <fo:table-cell>
TS> <fo:block text-align="end">10</fo:block>
TS> </fo:table-cell>
TS> </fo:table-row>
TS> <fo:table-row>
TS> <fo:table-cell>
TS> <fo:block>1.2. </fo:block>
TS> </fo:table-cell>
TS> <fo:table-cell>
TS> <fo:block text-align="start" text-align-last="justify"
TS> >This is some longer sample text<fo:leader
TS> leader-pattern="dots"
TS> leader-pattern-width="1em"
TS> leader-alignment="reference-area"
TS> /></fo:block>
TS> </fo:table-cell>
TS> <fo:table-cell>
TS> <fo:block text-align="end">200</fo:block>
TS> </fo:table-cell>
TS> </fo:table-row>
TS> </fo:table-body>
TS> </fo:table>
TS> and the same as a list:
TS> <fo:list-block>
TS> <fo:list-item>
TS> <fo:list-item-label end-indent="label-end()">
TS> <fo:block text-align="end">1.1</fo:block>
TS> </fo:list-item-label>
TS> <fo:list-item-body start-indent="body-start()">
TS> <fo:block
TS> text-align="start"
TS> text-align-last="justify"
TS> >This is some sample text<fo:leader
TS> leader-pattern="dots"
TS> leader-pattern-width="1em"
TS> leader-alignment="reference-area"
TS> />10</fo:block>
TS> </fo:list-item-body>
TS> </fo:list-item>
TS> <fo:list-item>
TS> <fo:list-item-label end-indent="label-end()">
TS> <fo:block text-align="end">1.2</fo:block>
TS> </fo:list-item-label>
TS> <fo:list-item-body start-indent="body-start()">
TS> <fo:block
TS> text-align="start"
TS> text-align-last="justify"
TS> >This is some longer sample text<fo:leader
TS> leader-pattern="dots"
TS> leader-pattern-width="1em"
TS> leader-alignment="reference-area"
TS> />200</fo:block>
TS> </fo:list-item-body>
TS> </fo:list-item>
TS> </fo:list-block>
TS> I use XEP 4.4 build 20050926 but there is a difference between the "table
TS> dots" and the "list dots". The table dots are aligned but the list dots
TS> are not.
TS> As a comparison I used fop 0.20.5. FOP produced the same results in tables
TS> and lists. I wonder now, which formatter is correct? Do I miss something
TS> important?
TS> Thanks,
TS> Tom
TS> --- References
TS> [1] http://www.w3.org/TR/xsl/slice6.html#fo_leader
TS> [2] http://www.w3.org/TR/xsl/slice7.html#leader-alignment
-------------------
(*) 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/terms-of-service.html
Received on Mon Oct 24 01:36:38 2005
This archive was generated by hypermail 2.1.8 : Mon Oct 24 2005 - 01:36:39 PDT