Styles & Formatting ("Text border" properties)

G

Guest

How can you set the spacing between the border and the
text object when using the "Text border" feature?

Background:

Styles & Formatting

To modify a style's "Border" property, one can
click on the "Format" button (located in the lower
left corner of the "Modify Style" dialog box).
This will open a "Borders and Shading" dialog box.
After specifying a border's parameters (Style,
Color, Width, etc.), the "Apply to" option (located
in lower right corner of the "Borders and Shading"
dialog box) offers only the single option
"Paragraphs" in the drop-down list box. Please
note that the "Text" option is not available.
Furthermore, clicking on the "Options" button
(located in lower right corner of the same dialog
box) will open a "Borders and Shading Options"
dialog box. This allows the distance from the text
to any edge of the border (Top, Bottom, Left &
Right) to be specified.

Workaround:

The "Styles & Formatting" feature allows one to
specify a "Style's" properties from a text
selection (using the "Update to Match Selection"
option). By selecting a text object with a "text
border" property, a "Style" with a "text border"
will be created. Therefore, one of the limitations
in the "Styles & Formatting" dialog box (as
described above) can be circumvented. However, the
"Borders and Shading Options" dialog box still does
not allow one to specify the distance from the text
to any edge of the border (Top, Bottom, Left &
Right) as it does for paragraph borders.

Dilemma:

Can one create a Style with a "Text Border" without
employing the "Update to Match Selection" option as
described above in the "Workaround" section?

How can one specify the spacing between a text
object and a border when using the "Text border" as
employed in a Style?
 
S

Suzanne S. Barnhill

Borders are applied to paragraphs, and you click on the Options button to
set the distance from text. If you have a text box, you add the border as a
"line" on the Lines and Colors tab of the Format Text Box dialog. The
distance from text inside the text box is set by the internal margin on the
Text Box tab. The distance from text outside the text box is set on the
Layout tab (Advanced | Text Wrapping).

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://www.mvps.org/word
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
G

Guest

Suzanne,

Thank you for your help.

In this case, however, I was not referring
to Text Boxes but rather Borders for text
objects.

For an example, please...

1. select some text in a Word document
2. select Format | Borders and Shading
3. select Box
4. select "Text" in the "Apply to" option
(located in lower right corner)
5. click OK

Hopefully, the questions in my original
posting will now make more sense.

Thanks again for taking the time to respond.
 
S

Suzanne S. Barnhill

If you're talking about applying a border to "Text," you have no choice.
This is not really a border in the same sense as the paragraph borders; it
is a convenient way to apply Word's EQ \x (box) field. If you use the field
itself, you can at least (by using switches) choose the sides you want the
border to appear on (any combination of top, bottom, left, and/or right),
but you still can't change the distance from text. I've never tried to
create a style (paragraph or character) with a text border, but if MS says
it can't be done, I'd assume that was correct.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://www.mvps.org/word
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
G

Guest

Suzanne,

Thank you for your help.

I would like to correct a couple of points:

1. Microsoft has not responded to my question.
If they do, I would hope that they would
at least know that one *CAN* apply a border
to a text object by use of a Style.

2. Applying a border to "Text Objects" using
Styles *IS* possible. Please try the quick
and dirty workaround that I discovered by
accident (described in my original posting).

Thanks again for taking the time to respond.
 
S

Suzanne S. Barnhill

I thought you were quoting Word's Help or a KB article.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://www.mvps.org/word
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
G

Guest

Though I hate to admit it, all of the gibberish
in my original posting was purely of my own
creation. I only wish I could claim that English
is my second language (it's not).
 
G

Guest

Suzanne,

Thank you mentioning the EQ \X option. Though
it does not solve my problem, I discovered that
this approach affords a greater distance between
the text and the border than applying a border
to a text object.

If you haven't compared it, you can make the
following test:

Insert a field with the following parameters:

{EQ \X \to \bo \le \ri (This is a test)}

Immediately below this, enter the same text
string ("This is a test") and then apply a
"border" around it using:

Format | Borders and Shading | Box | Apply to: | Text

I *much* prefer the appearance of the former
approach.

As my luck would have it, I cannot employ this
novel technique via a "style" like I can using
the text boarder approach (i.e., in the same
manner that I am able to use the text border
workaround described in my original posting).

In any case, I learned something new about
Microsoft Word.

Thanks again.
Word's EQ \x (box) field [...] but you still can't
change the distance from text.
Suzanne S. Barnhill
Microsoft MVP (Word)
 
S

Suzanne S. Barnhill

Note that the \to \bo \le \ri switches are not necessary. If you omit all
switches, the default is a border on all four sides. You use the switches
only when you want borders on just selected sides.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://www.mvps.org/word
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

Suzanne,

Thank you mentioning the EQ \X option. Though
it does not solve my problem, I discovered that
this approach affords a greater distance between
the text and the border than applying a border
to a text object.

If you haven't compared it, you can make the
following test:

Insert a field with the following parameters:

{EQ \X \to \bo \le \ri (This is a test)}

Immediately below this, enter the same text
string ("This is a test") and then apply a
"border" around it using:

Format | Borders and Shading | Box | Apply to: | Text

I *much* prefer the appearance of the former
approach.

As my luck would have it, I cannot employ this
novel technique via a "style" like I can using
the text boarder approach (i.e., in the same
manner that I am able to use the text border
workaround described in my original posting).

In any case, I learned something new about
Microsoft Word.

Thanks again.
Word's EQ \x (box) field [...] but you still can't
change the distance from text.
Suzanne S. Barnhill
Microsoft MVP (Word)
 
G

Guest

That makes sense. Thanks!
Note that the \to \bo \le \ri switches are not necessary. If you omit all
switches, the default is a border on all four sides. You use the switches
only when you want borders on just selected sides.
Suzanne S. Barnhill
Microsoft MVP (Word)
[email protected] wrote in message
Suzanne,

Thank you mentioning the EQ \X option. Though
it does not solve my problem, I discovered that
this approach affords a greater distance between
the text and the border than applying a border
to a text object.

If you haven't compared it, you can make the
following test:

Insert a field with the following parameters:

{EQ \X \to \bo \le \ri (This is a test)}

Immediately below this, enter the same text
string ("This is a test") and then apply a
"border" around it using:

Format | Borders and Shading | Box | Apply to: | Text

I *much* prefer the appearance of the former
approach.

As my luck would have it, I cannot employ this
novel technique via a "style" like I can using
the text boarder approach (i.e., in the same
manner that I am able to use the text border
workaround described in my original posting).

In any case, I learned something new about
Microsoft Word.

Thanks again.
Word's EQ \x (box) field [...] but you still can't
change the distance from text.
Suzanne S. Barnhill
Microsoft MVP (Word)
 
Top