Intercept Styles and Formatting pane mouse click

L

larrysulky

I want to intercept the automatic application of a style when it is
selected from the Styles and Formatting pane. My hope is to detect
whether the text selection includes a partial paragraph and if it
does, prevent the application of a paragraph style to it (because that
would create a hybrid paragraph/character style). Can anyone give me
some tips on how to do this interception?
TIA
 
K

Klaus Linke

I want to intercept the automatic application of a style when it is
selected from the Styles and Formatting pane. My hope is to detect
whether the text selection includes a partial paragraph and if it
does, prevent the application of a paragraph style to it (because that
would create a hybrid paragraph/character style). Can anyone give
me some tips on how to do this interception?


Hi Larry,

I don't think that is practicable. If you update to Word2007, it has a
checkbox at the bottom of the styles pane to prevent the creation of linked
styles.
OTOH, many built-in styles in Word2007 are linked styles out of the box.

Klaus
 
S

Stefan Blom

But note that if you "Limit formatting to a selection of styles" (in the
Protect Document task pane of Word 2003), you cannot apply a *paragraph
style* to part of a paragraph. Logically, this should also prevent the
creation of linked styles.

--
Stefan Blom
Microsoft Word MVP


in message
 
L

larrysulky

Hi Larry,

I don't think that is practicable. If you update to Word2007, it has a
checkbox at the bottom of the styles pane to prevent the creation of linked
styles.
OTOH, many built-in styles in Word2007 are linked styles out of the box.

Klaus

Thanks, Klaus. Unfortunately I cannot mandate Word 2007 to all the
remote freelance users I have to support. But Stefan's recommendation
in a related post may help.
--larry
 

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