wxPdfDoc internal links with WriteXml
Posted: Fri Aug 25, 2017 9:20 am
Hi.
I'm currently using wxPdfDocument (last git commit).
One of the document I generate is a list of people :
I saw that the understood markup language includes <a name="anchor">...</a> for internal links, but I don't know how to affect this anchor name for a given page (I saw the SetLink() function, but I'm not sure that the anchor will just be the id passed to it).
Is there a simple way to achieve this, or do I have to replace the WriteXml() used for the summary by Cell() calls ?
Regards
Xav'
I'm currently using wxPdfDocument (last git commit).
One of the document I generate is a list of people :
- the first page(s) contains the summary : a simple list created with a table using WriteXml()
- the following pages are details of each person (one per page) created with "classic" Cell() calls
I saw that the understood markup language includes <a name="anchor">...</a> for internal links, but I don't know how to affect this anchor name for a given page (I saw the SetLink() function, but I'm not sure that the anchor will just be the id passed to it).
Is there a simple way to achieve this, or do I have to replace the WriteXml() used for the summary by Cell() calls ?
Regards
Xav'