• Itsnag8
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies

HI ,

 

I have a requirement to add the Table of the content to a PDF page.

 

So far I was able to add the Page number in the header and footer for each page of the PDF, but was not able to get those page number to add in the table of the contents.

 

I am using below code to get the page no in the individual page, but not able get the the consolidated page numbers in the table of the contents.

 

content: "Page " counter(page) "/" counter(pages).

 

Please help me!

Requirement: To create a professional looking dynamic pdf with Headers, Footers Table of Contents, etc. The page needs to be dynamic enough to display multiple sets of records, classified into categories (Won Opportunities, Lost Opportunities, Active Opportunities etc. in a tabular format spanning multiple pages due to the number of records.). 

 

What I have managed so far is that using this I have managed to insert repeating Headers and Footers and using the css page-break-before property I have managed to insert page breaks where appropriate.

 

Where I am struggling is to generate a dynamic Table of Contents with indented headers (hyperlinks) and page numbers.

 

Has anyone come across such requirement? Any help will be much appreciated.

 

Cheers

Vipul