Skip to main content
Inspiring
October 13, 2022
Question

How can I read the table of contents's data from a document?

  • October 13, 2022
  • 1 reply
  • 231 views

Hello,
I'm writing a C++ code to extract the data from the table of contents:
1. Pages numbers of the start to the end of the table of contents

2. The data inside the table:

  a. Heading: Numbering + text
  b. Page where the Heading exsists
  c. Link to the page where the heading exists.
But I can only find that data inside ITOCCmdData, any help will be appreciated!
Thanks a lot! 

This topic has been closed for replies.

1 reply

Harshika Verma
Community Manager
Community Manager
October 18, 2022

Hi @Amine9,

 

Thank you for reaching out. We've seen a similar discussion happen in the past here: https://community.adobe.com/t5/indesign-discussions/can-you-create-a-quot-smart-quot-table-of-contents/td-p/11250383

 

Let us know if that helps. 

 

Thanks,

Harshika

Amine9Author
Inspiring
October 20, 2022

Hello @HARSHIKA_VERMA 

I'm afraid that's not what I really need, but there is an old post that I can no longer open could contain the information I need. Any idea how to recover this thread? http://forums.adobe.com/message/3766488