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 » Page Layout
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How to apply borders to TOC (on "text" level)?



 
 
Thread Tools Display Modes
  #1  
Old March 10th, 2009, 10:46 PM posted to microsoft.public.word.pagelayout
Christian Schratter
external usenet poster
 
Posts: 6
Default How to apply borders to TOC (on "text" level)?

As the topic says:

I have a TOC with hyperlinks to the headings in my document. If I look at a
single TOC entry, then I'll see that such an entry utilizes the standard
style "Hyperlink" as text-style, and the standard style "TOC x" as
paragraph-style.

I'd like to apply a border (box) to the TOC entries on text level (not on
paragraph level)! Therefore I applied a red border box to the "Hyperlink"
style, which indeed shows the red box in the preview, but non of the TOC
entries show the box (also not after F9).

If I click a TOC entry and use the style-inspector, I can even see the red
box around "Hyperlink", which shows up to be the style used for text; but the
box isn't showing up in the document?!

What's wrong here?

Kind regards, Chris
  #2  
Old March 10th, 2009, 10:58 PM posted to microsoft.public.word.pagelayout
Suzanne S. Barnhill
external usenet poster
 
Posts: 31,786
Default How to apply borders to TOC (on "text" level)?

The Hyperlink character style formatting (blue, underlined) is suppressed in
TOCs (unless you unlink the TOC field), so nothing you add that way will be
displayed, and I don't think you can add another character style (it would
be removed when you update the field). Why not just add the box to the
paragraph formatting? If you include a Horizontal Inside border, you should
get a similar effect.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"Christian Schratter" wrote
in message ...
As the topic says:

I have a TOC with hyperlinks to the headings in my document. If I look at
a
single TOC entry, then I'll see that such an entry utilizes the standard
style "Hyperlink" as text-style, and the standard style "TOC x" as
paragraph-style.

I'd like to apply a border (box) to the TOC entries on text level (not on
paragraph level)! Therefore I applied a red border box to the "Hyperlink"
style, which indeed shows the red box in the preview, but non of the TOC
entries show the box (also not after F9).

If I click a TOC entry and use the style-inspector, I can even see the red
box around "Hyperlink", which shows up to be the style used for text; but
the
box isn't showing up in the document?!

What's wrong here?

Kind regards, Chris


  #3  
Old March 11th, 2009, 10:18 PM posted to microsoft.public.word.pagelayout
Christian Schratter
external usenet poster
 
Posts: 6
Default How to apply borders to TOC (on "text" level)?

Good evening Mrs. Barnhill.

Thank you for your quick reply - I just had some time to give it a try.
Sadly the result isn't exactly what I was looking for.

The problem is, that if I apply a border paragraph-wise to a style, then the
border is affected by both:
-) paragraph spacings before and after the paragraph
-) line spacings of the style

As you can imagine, I of course added some space between my entries in the
TOC to make them more readable (= added spacings to the "TOC x" styles). As a
result you will end up with very large boxes around the entries.

To give you an idea what I'd like to achive, I'll post a link to a document
which has said formating:
http://ieg.ifs.tuwien.ac.at/~aigner/...s-template.zip

In the zip file the document "thesis.pdf" has 2x links on page 3
("Contents") with said red boxes around. I'd like to reproduce this formating
in MS Word.

If you (or someone else) would like to add a comment I'd be very grateful
since this is the last open issue (otherwise the template looks already very
neat ;-)).

Kind regards, Chris


"Suzanne S. Barnhill" wrote:

The Hyperlink character style formatting (blue, underlined) is suppressed in
TOCs (unless you unlink the TOC field), so nothing you add that way will be
displayed, and I don't think you can add another character style (it would
be removed when you update the field). Why not just add the box to the
paragraph formatting? If you include a Horizontal Inside border, you should
get a similar effect.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

  #4  
Old March 11th, 2009, 11:57 PM posted to microsoft.public.word.pagelayout
Suzanne S. Barnhill
external usenet poster
 
Posts: 31,786
Default How to apply borders to TOC (on "text" level)?

Space Before/After in bordered text is placed outside the borders; the
"Distance from text" setting defines the distance of the border from the
text .

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"Christian Schratter" wrote
in message ...
Good evening Mrs. Barnhill.

Thank you for your quick reply - I just had some time to give it a try.
Sadly the result isn't exactly what I was looking for.

The problem is, that if I apply a border paragraph-wise to a style, then
the
border is affected by both:
-) paragraph spacings before and after the paragraph
-) line spacings of the style

As you can imagine, I of course added some space between my entries in the
TOC to make them more readable (= added spacings to the "TOC x" styles).
As a
result you will end up with very large boxes around the entries.

To give you an idea what I'd like to achive, I'll post a link to a
document
which has said formating:
http://ieg.ifs.tuwien.ac.at/~aigner/...s-template.zip

In the zip file the document "thesis.pdf" has 2x links on page 3
("Contents") with said red boxes around. I'd like to reproduce this
formating
in MS Word.

If you (or someone else) would like to add a comment I'd be very grateful
since this is the last open issue (otherwise the template looks already
very
neat ;-)).

Kind regards, Chris


"Suzanne S. Barnhill" wrote:

The Hyperlink character style formatting (blue, underlined) is suppressed
in
TOCs (unless you unlink the TOC field), so nothing you add that way will
be
displayed, and I don't think you can add another character style (it
would
be removed when you update the field). Why not just add the box to the
paragraph formatting? If you include a Horizontal Inside border, you
should
get a similar effect.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org



  #5  
Old March 12th, 2009, 12:36 AM posted to microsoft.public.word.pagelayout
Christian Schratter
external usenet poster
 
Posts: 6
Default How to apply borders to TOC (on "text" level)?

I can't agree on that.

If you try to apply to 2 consecutive paragraphs a border on paragraph level,
then you'll see that the single horizontal line seperating both paragraphs is
affected by the mentioned spacings, regardless of the settings made for the
distance of the border from the text.

This is to some extend logic, because actually you'd need 2x horizontal
lines if you have spacing between 2 paragraphs and want the horizontal
line(s) to stick close to the text. In practice you just have one line if you
apply the border to a paragraph, that's why you will always have some spacing
somewhere.

That's why I'd like to apply the border on text-level, but it's unclear to
me why this option isn't available for the style?

Chris

"Suzanne S. Barnhill" wrote:

Space Before/After in bordered text is placed outside the borders; the
"Distance from text" setting defines the distance of the border from the
text .

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

 




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


All times are GMT +1. The time now is 07:39 AM.


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