Document Protection disables too much!? Help!

K

khalid

I am using the document protection method to programtically lock my document
and force the user to use specific styles. Below are the options I am
setting:

- "No Changes (Read Only)" option. And then giving everyone rights to
freely edit specific regions (xml nodes).
-Within "formatting restrictions" all styles are selected.

Here is my dilemma: Once the document is protected at this level, a lot of
functionality are disabled including : track revisions features, italics,
bold, table properties, table cell alignment, table borders.

Is there a way that I can programtically enable the above mentioned
features which are now disabled? (The toolbar menu disables each of these,
ideally I'd like to override that option and re-enable each of the above
toolbar menu options)

Or is the only way to do this by effectively recreating these
functionalites through maybe the document action pane of a smart document?

Thank you very much in advance!!!
 
C

Cindy M -WordMVP-

Hi =?Utf-8?B?a2hhbGlk?=,
I am using the document protection method to programtically lock my document
and force the user to use specific styles. Below are the options I am
setting:

- "No Changes (Read Only)" option. And then giving everyone rights to
freely edit specific regions (xml nodes).
-Within "formatting restrictions" all styles are selected.

Here is my dilemma: Once the document is protected at this level, a lot of
functionality are disabled including : track revisions features, italics,
bold, table properties, table cell alignment, table borders.
Do you have a reason for activating "formatting restrictions"? That's what's
locking out the bold and italics. But if you're enabling all the styles, why
bother with activating this?

I also think you'll find that, if you select the portions of the document
people are allowed to change (such as the table), then the table properties,
cell alignment, etc. will be available.

If you're limiting people to only the lowest level XML nodes, and these are
within the table cells, then you will, indeed, need to provide the desired
functionality in the form of macro code. The macro would need to turn off
protection (Unprotect), carry out the desired actions, then reprotect.
Is there a way that I can programtically enable the above mentioned
features which are now disabled? (The toolbar menu disables each of these,
ideally I'd like to override that option and re-enable each of the above
toolbar menu options)

Or is the only way to do this by effectively recreating these
functionalites through maybe the document action pane of a smart document?

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 :)
 
W

Word Heretic

G'day khalid <[email protected]>,

Italics, bold - they are styles that can be added (emphasis and
strong)

Pass on the others, haven't played with it yet.


Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice


khalid reckoned:
 

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