A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Formatting Long Documents
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

TOC shows styles not selected for inclusion



 
 
Thread Tools Display Modes
  #1  
Old September 22nd, 2004, 10:33 PM
Jennifer Thomas
external usenet poster
 
Posts: n/a
Default TOC shows styles not selected for inclusion

I have a TOC configured to show 3 levels, and options for
captions, etc to be included are NOT enabled. But when I
updated the table, all the figure captions and even some
lines that are labled as "normal" show up in the TOC.

If I manually select and re-apply the "Normal" style,
then update the TOC again it works, but this is a long
document.

Does anyone know of a patch or a better way to quickly
fix this issue? Your help would be much appreciated!
  #2  
Old September 22nd, 2004, 11:28 PM
Dayo Mitchell
external usenet poster
 
Posts: n/a
Default

Have you been using the Document Map on this document? It adds outline
levels to lines it thinks are headings, and the TOC picks up outline levels.

On the assumption you have been using the Doc Map, suggested workarounds and
a couple aids if Doc Map just ruined your careful formatting:

Don't use the Document Map, use Outline View instead:
http://www.mvps.org/word/FAQs/Format...singOLView.htm

On switching into the Doc Map, look to see if a new AutoFormat has been
added to the Undo list. That's the application of outline levels. Undo it.
Remember to check for this every time, though it may not happen every time
(this workaround has only been tested on a Mac, and not thoroughly).

After the fact fixes:

Use the ResetPara command on the affected paragraphs to remove all direct
paragraph formatting and reset the para to only style-based formatting (the
doc map adds outline levels as direct formatting). ResetPara will not
affect direct character formatting (bold, etc) and the usual keyboard
shortcut is control-q (cmd-opt-q on a Mac).

Run this handy macro once posted by MVP Klaus Linke that resets the outline
level of every paragraph to the outline level that is set in the style.

Dim myPara As Paragraph
For Each myPara In ActiveDocument.Paragraphs
myPara.OutlineLevel = _
myPara.style.ParagraphFormat.OutlineLevel
Next myPara

If necessary, see:
What do I do with macros sent to me by other newsgroup readers to help me
out?
http://word.mvps.org/FAQs/MacrosVBA/CreateAMacro.htm
(Mac: http://word.mvps.org/MacWordNew/InstallMacroMac.htm)

Hope that helps,
DM



On 9/22/04 2:33 PM, "Jennifer Thomas" wrote:

I have a TOC configured to show 3 levels, and options for
captions, etc to be included are NOT enabled. But when I
updated the table, all the figure captions and even some
lines that are labled as "normal" show up in the TOC.

If I manually select and re-apply the "Normal" style,
then update the TOC again it works, but this is a long
document.

Does anyone know of a patch or a better way to quickly
fix this issue? Your help would be much appreciated!


  #3  
Old September 22nd, 2004, 11:28 PM
Dayo Mitchell
external usenet poster
 
Posts: n/a
Default

Have you been using the Document Map on this document? It adds outline
levels to lines it thinks are headings, and the TOC picks up outline levels.

On the assumption you have been using the Doc Map, suggested workarounds and
a couple aids if Doc Map just ruined your careful formatting:

Don't use the Document Map, use Outline View instead:
http://www.mvps.org/word/FAQs/Format...singOLView.htm

On switching into the Doc Map, look to see if a new AutoFormat has been
added to the Undo list. That's the application of outline levels. Undo it.
Remember to check for this every time, though it may not happen every time
(this workaround has only been tested on a Mac, and not thoroughly).

After the fact fixes:

Use the ResetPara command on the affected paragraphs to remove all direct
paragraph formatting and reset the para to only style-based formatting (the
doc map adds outline levels as direct formatting). ResetPara will not
affect direct character formatting (bold, etc) and the usual keyboard
shortcut is control-q (cmd-opt-q on a Mac).

Run this handy macro once posted by MVP Klaus Linke that resets the outline
level of every paragraph to the outline level that is set in the style.

Dim myPara As Paragraph
For Each myPara In ActiveDocument.Paragraphs
myPara.OutlineLevel = _
myPara.style.ParagraphFormat.OutlineLevel
Next myPara

If necessary, see:
What do I do with macros sent to me by other newsgroup readers to help me
out?
http://word.mvps.org/FAQs/MacrosVBA/CreateAMacro.htm
(Mac: http://word.mvps.org/MacWordNew/InstallMacroMac.htm)

Hope that helps,
DM



On 9/22/04 2:33 PM, "Jennifer Thomas" wrote:

I have a TOC configured to show 3 levels, and options for
captions, etc to be included are NOT enabled. But when I
updated the table, all the figure captions and even some
lines that are labled as "normal" show up in the TOC.

If I manually select and re-apply the "Normal" style,
then update the TOC again it works, but this is a long
document.

Does anyone know of a patch or a better way to quickly
fix this issue? Your help would be much appreciated!


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Headings & Outline Styles Share Numbering Scheme Mark Jerde Formatting Long Documents 12 July 27th, 2004 04:16 PM
Delete or disable Styles and Formattings Jae Formatting Long Documents 3 July 26th, 2004 05:53 AM
How to correct and/or add styles to an existing document? Peter Sale General Discussion 5 July 25th, 2004 04:49 AM
how to restore default Normal template? / my own Styles disappear finisterre General Discussion 1 June 30th, 2004 04:05 PM
Styles - hopefully the last question! Tom Smith New Users 6 May 9th, 2004 04:41 PM


All times are GMT +1. The time now is 08:39 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.