Ability to identify if a Story is TOC_STORY, which TOC_STYLE is in use
Using InDesign Server (or scripts in InDesign Desktop) via JavaScript, it would be very helpful if there was an API/mechanism for discovering details for table of contents usage.
Current Issue:
It doesn't look like there is a way to see if a TOCStyle is actually used anywhere. A document can contain multiple TOCStyles, but it's possible only one is placed in the document. Likewise, it doesn't appear there is a way to resolve the TOCStyle being used for a Story that is of type StoryTypes.TOC_STORY.
Proposed solution(s):
- Add a Stories property to the TOCStyle object that contains references to the Story objects that have that TOCStyle applied.
- Expose the Story 'AppliedTOCStyle' property via ExtendScipt. This property already exists on the Story IDML object but doesn't appear to be exposed through ExtendScript.
Thanks for your time!
 Kevin Altree
    
 shared this idea
Kevin Altree
    
 shared this idea
      
    