We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How to generate Custom Table of Contents?

Hi,

I have a requirement for generating Custom Table of Contents. It is not possible with current Heading & Segments concept.

In Footer of each Page I have Roman Numerals Page Numbers some times and Numeric ones sometimes and I want them to appear as it is in Table of Contents.

Actaully I have got 2 kind of TOC, 1 TOC for entire document which conatins Page Numbers in Roman Format at the footer level and multiple small TOCs for major portions of the big PDF file.

Also how can I get PageNumbers for each Page, as I have not Saved the PDF yet for this custom TOC creation. I need PageNumbers before PDF.Save method call.

How can I achieve below mentioned Page Numbers. Here 100 represents a major portion of document and after hypen represents Page Number in this major portion.

Description Page Number

101.00 TOC item1.................. 100-1

102.00 TOC item2.................. 100-2

103.00 TOC item3.................. 100-4

With regards,

Rajat

Hi Rajat,

I am working over this query and will get back to you soon. Sorry for the delay and inconvenience.