Home |
Search |
Today's Posts |
#1
|
|||
|
|||
WordML : protect my tags
Hi all,
I'd like to protect tags added with an add-in I created using C# .net. Tags are inserted like this: MyTag p r tHello/t /r /p /Mytag The event XMLAfterInsert fires when I add my tag, but the event XMLBeforeDelete doesn't fire when the user erase the tag (with his keyboard). So i'm trying to protect my tags but nothing really works...I tried to use the XMLSelectionChange event, but there's still bugs here. Someone has an idea...how could I protect my tags from being deleted by users? Thx, Frenchy |
#2
|
|||
|
|||
Hi ?B?RnJlbmNoeQ==?=,
Try opening the document in Word. Tools/Protect document - Protection task pane. Activate the Editing Restrictions, and protect the document as Read-Only. Now select only the areas in the document where the user is allowed to make any changes, and click the "Everyone" box. I'd like to protect tags added with an add-in I created using C# .net. Tags are inserted like this: MyTag p r tHello/t /r /p /Mytag The event XMLAfterInsert fires when I add my tag, but the event XMLBeforeDelete doesn't fire when the user erase the tag (with his keyboard). So i'm trying to protect my tags but nothing really works...I tried to use the XMLSelectionChange event, but there's still bugs here. Someone has an idea...how could I protect my tags from being deleted by users? Cindy Meister INTER-Solutions, Switzerland http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004) http://www.word.mvps.org This reply is posted in the Newsgroup; please post any follow question or reply in the newsgroup and not by e-mail :-) |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
protect form sections only with objects in other sections | Microsoft Word Help | |||
Can't Protect Document? | Microsoft Word Help | |||
Replace Formatting With Tags | Microsoft Word Help | |||
All I want to do is protect my Word document. Why is XP so diffe. | Microsoft Word Help | |||
how to protect a line or words within a word document | Microsoft Word Help |