This appears to be a question about use of InDesign, not “print design” per sé.
I am moving this to the InDesign forums where someone might be able to better assist you with this question.
Only by using Fin/dChange after the TOC is generated, or by setting up "tags" -- non-printing paragraphs with the text formatted as you want it to appear in the TOC instead of the ones with the line breaks.
Hello Peter, and "thanks" for your response... The "Find/Change" option is what I've been doing to this point, and I'd like to try the "tags" option that you're suggesting. How exactly does that work?
In such cases I use cross references instead of the TOC function to build up a toc.
Or I set up an invisible paragraph with the text as it should appear in the TOC, character color none (during work a visible color), small size.
The visible part of the Headline is drawn via variables out of the invisible headline.
The TOC takes the information from the invisible paragraph style.
When doing "tags" I use either a separate layer set to non-printing, or a separate text frame (which can be anchored to the text flow) and then set that frame to non-printing in the Attributes panel. I then create a unique paragraph style for the paragraphs in the tag frames to pick them up in the TOC. I tend to make the text in these frames big and red so I can be sure it stands out in normal view.