Hello,
I have make an xhtml page to create a PDF document using this page :
http://docs.jboss.com/seam/1.2.0.PATCH1/reference/en/html/itext.html
I have make a page on my document to make a summary. In this page, I have
insert all title of my different chapter with an anchor.
I would like to add the page number of my chpter to complete my summary but
I don't know if is it posible easyly?
Here is a part of the code used :
ui:repeat value="#{elementDocumentService.elements}" var="_elem">
<s:span rendered="#{_elem.niveau==0}">
<p:font size="12">
<p:paragraph>
<p:anchor reference="##{_elem.id}">
<p:text value="#{_elem.chapitre} #{_elem.titre}" />
</p:anchor>
</p:paragraph>
</p:font>
</s:span>
</ui:repeat>
<p:newPage/>
<ui:repeat value="#{elementDocumentService.elements}" var="_elem">
<s:span rendered="#{_elem.niveau==0}">
<p:font size="16" style="bold,underline">
<p:paragraph spacingAfter="20">
<p:anchor name="#{_elem.id}">
<p:text value="#{_elem.chapitre} #{_elem.titre}" />
</p:anchor>
</p:paragraph>
</p:font>
</s:span>
</ui:repeat>
Merci par avance pour votre réponse!
Cordialement,
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar