Word 2007 Table of Contents

K

Kevin55

Hi all,
I am new to this forum and may be repeating- if so I apologize.
I am using MS Word 2007 on a hebrew enabled PC.
When I set up a TOC in a doc and then click F9 to refresh, the TOC
regenerates but from right to left(ie Pg no on right and title on
left). Alignment and text direction is set to left to right.

After refreshing I can manually reset direction to left to right, but
each time I update, it reverts to right to left! Please help

Anybody know how to stop this from happening or what I need to do to
permanently stop it.

Thanks
 
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
 
K

kevin55

Thank you for your reply.
I just want to point out that the repost was an accidental error as I
thought it was posted to a different group.
I certainly didNOT expect an immediate response and was quite horrified when
I saw that 2 posts on the same topic had gone through.

I will look at the references you suggested, but FYI I have already checked
the links and also the TOC style definition to ensure it was set to LTR.
I suspect, the issue may have something to do with the fact that the PC is
Hebrew enabled and automatically has the RTL option.

I await any further suggestions
Thanks
 
S

Stefan Blom

kevin55 said:
I will look at the references you suggested, but FYI I have already
checked
the links and also the TOC style definition to ensure it was set to LTR.
I suspect, the issue may have something to do with the fact that the PC is
Hebrew enabled and automatically has the RTL option.

Have you tried changing the default language? See
http://homepage.hispeed.ch/cindymeister/LangFmt.htm.

The following macro *might* also be useful (it certainly works in an
installation that does *not* have any right-to-left languages installed):

Sub ChangeTextDirection()

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.

ActiveDocument.Content.ParagraphFormat. _
ReadingOrder = wdReadingOrderLtr

End Sub

--
Stefan Blom
Microsoft Word MVP
 

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