TOC shows right to left

K

kevin55

In Word 2007 on a Hebrew enabled PC whenever I updatemy TOC (F9), it changes
to right to left.
If I manually change text direction to left to right, it reverts to right to
left each time I update.
How do I stop this
 
C

CyberTaz

I realize that you would like to have a reply that solves your problem, but
hourly reposting of the same issue will not get one for you any faster:)
That isn't how newsgroups work.

It may take several hours for your post to appear & once it does there is no
guarantee that any of those who volunteer their time here will be along to
read it any time soon... You just have to be patient & check back
periodically for replies. If you have need of immediate resolution your
alternative is to call MS Support & pay the fee:)

I'm afraid I don't work much with RTL, but I believe the problem lies in the
TOC Style not being defined to include RTL format. Each time you update the
TOC it's being reformatted based on what the Style calls for. I'm certain
someone will be along with more expertise on the subject.

In the meanwhile you may want to peruse the following links:

http://word.mvps.org/index.html

http://word.mvps.org/FindHelp/Posting.htm

Regards |:>)
Bob Jones
[MVP] Office:Mac
 
S

Stefan Blom

Since you can change the text direction for the selection, you should be
able to modify the relevant styles too.

Usually, it should suffice to modify the Normal style: Right-click the style
name in the Styles pane, and choose Modify. In the Modify Style dialog box,
click Format, and then click the relevant option. My guess is that you
should click Paragraph (but I don't know, since I've never used a
right-to-left languages).

If this doesn't work, try modifying the TOC styles directly. In the Styles
task pane, click the Manage Styles button, and use the Edit tab to change
the TOC styles (called TOC 1, TOC 2, etc. in English language versions of
Word).

If everything else fails, you could use a macro:

Sub ChangeStyles()

ActiveDocument.Styles(wdStyleNormal).ParagraphFormat. _
ReadingOrder = wdReadingOrderRtl

ActiveDocument.Styles(wdStyleTOC1).ParagraphFormat. _
ReadingOrder = wdReadingOrderRtl

ActiveDocument.Styles(wdStyleTOC2).ParagraphFormat. _
ReadingOrder = wdReadingOrderRtl

'Add commands for any additional TOC styles / levels that
'need to be changed.

End Sub

For instructions, see http://www.gmayor.com/installing_macro.htm.

--
Stefan Blom
Microsoft Word MVP


in message
news:[email protected]...
 
S

Stefan Blom

If everything else fails, you could use a macro:

Since you are changing from right-to-left to left-to-right, use this macro
instead:


Sub ChangeStyles()

ActiveDocument.Styles(wdStyleNormal).ParagraphFormat. _
ReadingOrder = wdReadingOrderLtr

ActiveDocument.Styles(wdStyleTOC1).ParagraphFormat. _
ReadingOrder = wdReadingOrderLtr

ActiveDocument.Styles(wdStyleTOC2).ParagraphFormat. _
ReadingOrder = wdReadingOrderLtr

'Add commands for any additional TOC styles / levels that
'need to be changed.

End Sub

I apologize for any confusion. :-(
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top