Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / September 2007

Tip: Looking for answers? Try searching our database.

Intercept Styles and Formatting pane mouse click

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
larrysulky@gmail.com - 20 Sep 2007 22:18 GMT
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
Klaus Linke - 21 Sep 2007 03:25 GMT
>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
Stefan Blom - 21 Sep 2007 13:23 GMT
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.

Signature

Stefan Blom
Microsoft Word MVP

>>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
[quoted text clipped - 11 lines]
>
> Klaus
larrysulky@gmail.com - 23 Sep 2007 00:34 GMT
> Hi Larry,
>
[quoted text clipped - 4 lines]
>
> 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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.