1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95
|
<html dir="ltr"><head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="assetid" content="HV12345678"><title>docProtectProperty complexType</title><link rel="stylesheet" href="content.css"><script language="JavaScript" src="pExpandCollapse.js"></script><script>
function AppendPopup(oSource, sPopup)
{
//Replace any occurrences of double quotes with single quotes
//The double quotes originally replaced single quotes for proper transmission of strings from XSLT to this Javascript block
//This is done to carefully handle the inline defterm strings containing the single quotes (for example : it's, can't, don't)
sPopup = sPopup.replace("\"", "'");
if (oSource.tagName=="A" && oSource.getAttribute("State")!="On")
{
oSource.insertAdjacentHTML("BeforeEnd", "<SPAN ID='Pop' class='GlossaryDef'> " + sPopup + "</SPAN>");
oSource.setAttribute("State", "On");
window.event.returnValue=false;
}
else if (oSource.tagName=="A" && oSource.getAttribute("State")=="On" )
{
oSource.all("Pop").outerHTML="";
oSource.setAttribute("State", "Off");
window.event.returnValue=false;
}
}
</script></head><body><div class="devdocvsbody"><div id="header"><table width="100%" id="topTable"><tr id="headerTableRow1"><td align="left"><span id="runningHeaderText"></span></td></tr><tr id="headerTableRow2"><td align="left"><span id="nsrTitle"><b class="mainheaders">docProtectProperty complexType</b></span></td></tr></table></div><p>Helps prevent unintentional changes to all or part of an online form or document as specified.</p><h2>Type Information</h2><div id="vstable"><table>
<tr>
<td>
<b class="bterm">Namespace</b>
</td>
<td>http://schemas.microsoft.com/office/word/2003/wordml</td>
</tr>
<tr>
<td>
<b class="bterm">Schema name</b>
</td>
<td>wordnet</td>
</tr>
</table></div><h2>Elements and Attributes</h2><h3>Child Elements</h3><p>None.</p><h3>Attributes</h3><div id="vstable"><table>
<tr>
<th>Attribute</th>
<th>Type</th>
<th>Required</th>
<th>Description</th>
<th>Possible Values</th>
</tr>
<tr>
<td>edit</td>
<td><a href="wordnet_xmltsidocProtectValue_HV12345678.htm" id="" lcid="">docProtectValue</a></td>
<td>optional</td>
<td>Gets or sets editing restrictions. Helps prevent unintentional editing changes as specified.</td>
<td><ul><li>none</li><li>read-only</li><li>comments</li><li>tracked-changes</li><li>forms</li></ul></td>
</tr>
<tr>
<td>formatting</td>
<td><a href="wordnet_xmltsionOffType_HV12345678.htm" id="" lcid="">onOffType</a></td>
<td>optional</td>
<td>Gets or sets formatting restrictions. Prevents unintentional formatting changes except as allowed. This setting does not have an effect unless the formattingEnabled attribute is on.</td>
<td><ul><li>on</li><li>off</li></ul></td>
</tr>
<tr>
<td>enforcement</td>
<td><a href="wordnet_xmltsionOffType_HV12345678.htm" id="" lcid="">onOffType</a></td>
<td>optional</td>
<td>Gets or sets whether the specified restrictions are currently being enforced for this document.</td>
<td><ul><li>on</li><li>off</li></ul></td>
</tr>
<tr>
<td>unprotectPassword</td>
<td><a href="wordnet_xmltsilongHexNumberType_HV12345678.htm" id="" lcid="">longHexNumberType</a></td>
<td>optional</td>
<td>Gets or sets password key to unprotect this document from unintentional formatting/editing changes. This password is not secure.</td>
<td><p>length = 4</p></td>
</tr>
</table></div><h2>Definition</h2>
<div id="vstable"><table><tr><th>XML</th></tr><tr><td><pre><code>
<xsd:complexType name="docProtectProperty" ">
<xsd:attribute name="edit" type="docProtectValue" use="optional">
</xsd:attribute>
<xsd:attribute name="formatting" type="onOffType" use="optional">
</xsd:attribute>
<xsd:attribute name="enforcement" type="onOffType">
</xsd:attribute>
<xsd:attribute name="unprotectPassword" type="longHexNumberType" use="optional">
</xsd:attribute>
</xsd:complexType>
</code></pre></td></tr></table></div>
<p>
<a href="odcXMLRefCopyright12.htm" id="" lcid=" ">©2006 Microsoft Corporation. All rights reserved. </a> Permission to copy, display and distribute this document is available at:<br><a href="http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice12.asp" id="" lcid=" ">http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice12.asp</a>
</p></div></body></html>
|