[xep-support] Page number in fo:table cell questions
Sheila Rose
rosejsheila at yahoo.com
Mon Oct 7 15:37:00 PDT 2013
I am trying to have page numbers generate in a fo:table cell with leader dots. When I try to do this with many page number references the page numbers wrap to the next line. I have the text right aligned in table cell but the second row of page numbers are justified. I do not have the fo:leader justified because I need page number to wrap and if you wrap page numbers with justified alignment the same thing happens. The second line of page numbers, (which have fewer page numbers than first line) are justified align instead of right aligned. This is not what I need. I need both lines of page numbers to be right justified even when the lines do not have the same amount of text.
Code example:
<fo:table-cellxsl:use-attribute-sets="item_toc"
text-align="right"display-align="before">>
<fo:blocktext-align="right">
<fo:leader leader-pattern="dots" leader-length.optimum="70%"/>
<xsl:for-eachselect="$item">
<fo:basic-linkinternal-destination="{concat('_item_', generate-id())}">
<fo:inlinetext-align="right">
<fo:page-number-citation
ref-id="{concat('_service_tool_', generate-id())}"/></fo:inline>
</fo:basic-link>
</fo:block>
</fo:table-cell>
I am also trying to suppress duplicate page number references.
!DSPAM:87,525337929851815019603!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20131007/62efce0a/attachment.html>
More information about the Xep-support
mailing list