File: vixmlelemProtection.htm

package info (click to toggle)
office2003-schemas 1.0%2Bds-1
  • links: PTS, VCS
  • area: non-free
  • in suites: bookworm, forky, sid, trixie
  • size: 42,304 kB
  • sloc: javascript: 2,429; makefile: 29
file content (26 lines) | stat: -rw-r--r-- 5,276 bytes parent folder | download
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
<html dir="ltr"><head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<META HTTP-EQUIV="assetid" CONTENT="HV01085613"><META NAME="lcid" CONTENT="1033"><title>Protection Element</title><link rel="stylesheet" type="text/css" href="office10.css"><script type="text/javascript" language="Javascript" src="ExpCollapse.js"></script><script type="text/javascript" language="JavaScript" src="inline.js"></script></head><body><h1>Protection Element</h1><p>
			<p>Contains elements specifying the current lock settings for a shape.</p>
			<p>Locking helps prevent inadvertent changes to the shape but does not prevent Microsoft Office Visio from resetting values in other circumstances. It also does not protect against changes made in the <b class="ui">ShapeSheet</b> window.</p>
		</p><h2>Syntax</h2><pre><code>
&lt;Protection
    [Del]&gt;
&lt;/Protection&gt;
</code></pre><h2>Attributes</h2><p><b class="bterm">Del</b></p><p>Optional boolean. A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally.</p><h2>Element properties</h2><table><tr><th>Property</th><th>Value</th></tr>
			<tr><td>Name</td><td>Protection</td></tr>
			<tr><td>Minimum Occurrences</td><td>0</td></tr>
			<tr><td>Maximum Occurrences</td><td>1</td></tr>
		</table><h2>Element information</h2><p><b class="bterm">Parent elements</b></p><p><a href="vixmlelemPageSheet.htm" id="HV01085573" lcid=""><b class="bterm">PageSheet</b></a></p><p><a href="vixmlelemShape.htm" id="HV01085631" lcid=""><b class="bterm">Shape</b></a></p><p><a href="vixmlelemStyleSheet.htm" id="HV01085684" lcid=""><b class="bterm">StyleSheet</b></a></p><p><a href="vixmlelemDocumentSheet.htm" id="HV01085388" lcid=""><b class="bterm">DocumentSheet</b></a></p><p><b class="bterm">Child elements</b></p><p><a href="vixmlelemLockWidth.htm" id="HV01085532" lcid=""><b class="bterm">LockWidth</b></a></p><p><a href="vixmlelemLockHeight.htm" id="HV01085524" lcid=""><b class="bterm">LockHeight</b></a></p><p><a href="vixmlelemLockMoveX.htm" id="HV01085525" lcid=""><b class="bterm">LockMoveX</b></a></p><p><a href="vixmlelemLockMoveY.htm" id="HV01085526" lcid=""><b class="bterm">LockMoveY</b></a></p><p><a href="vixmlelemLockAspect.htm" id="HV01085515" lcid=""><b class="bterm">LockAspect</b></a></p><p><a href="vixmlelemLockDelete.htm" id="HV01085520" lcid=""><b class="bterm">LockDelete</b></a></p><p><a href="vixmlelemLockBegin.htm" id="HV01085516" lcid=""><b class="bterm">LockBegin</b></a></p><p><a href="vixmlelemLockEnd.htm" id="HV01085521" lcid=""><b class="bterm">LockEnd</b></a></p><p><a href="vixmlelemLockRotate.htm" id="HV01085528" lcid=""><b class="bterm">LockRotate</b></a></p><p><a href="vixmlelemLockCrop.htm" id="HV01085518" lcid=""><b class="bterm">LockCrop</b></a></p><p><a href="vixmlelemLockVtxEdit.htm" id="HV01085531" lcid=""><b class="bterm">LockVtxEdit</b></a></p><p><a href="vixmlelemLockTextEdit.htm" id="HV01085530" lcid=""><b class="bterm">LockTextEdit</b></a></p><p><a href="vixmlelemLockFormat.htm" id="HV01085522" lcid=""><b class="bterm">LockFormat</b></a></p><p><a href="vixmlelemLockGroup.htm" id="HV01085523" lcid=""><b class="bterm">LockGroup</b></a></p><p><a href="vixmlelemLockCalcWH.htm" id="HV01085517" lcid=""><b class="bterm">LockCalcWH</b></a></p><p><a href="vixmlelemLockSelect.htm" id="HV01085529" lcid=""><b class="bterm">LockSelect</b></a></p><p><a href="vixmlelemLockCustProp.htm" id="HV01085519" lcid=""><b class="bterm">LockCustProp</b></a></p><h2>Remarks</h2><p>
			<p>To protect a formula from being changed by Visio under any circumstances, use the <a target="_blank" href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vissdk11/html/DSS_Functions_(D-G)_1435.asp" id="HV82251435" lcid=" ">GUARD</a> function.</p>
			<p>The <b class="bterm">Protection</b> element is relevant only when contained in a <a href="vixmlelemShape.htm" id="HV01085631" lcid=" "><b class="bterm">Shape</b></a> or <a href="vixmlelemStyleSheet.htm" id="HV01085684" lcid=" "><b class="bterm">StyleSheet</b></a> element. It is ignored when contained in a <a href="vixmlelemDocumentSheet.htm" id="HV01085388" lcid=" "><b class="bterm">DocumentSheet</b></a> or <a href="vixmlelemPageSheet.htm" id="HV01085573" lcid=" "><b class="bterm">PageSheet</b></a> element.</p>
		</p><h2>Example</h2><p>
			<p>The following code shows how to prevent Visio from changing a formula that sets the <b class="bterm">Width</b> element equal to the <b class="bterm">Height</b> element:</p><pre><code>&lt;Width F="GUARD(Height)"&gt;1&lt;/Width&gt;
</code></pre>
		</p><h2>See also</h2><p><a target="_blank" href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vissdk11/html/DSS_Sections_(J-R)_1213.asp" id="HV82251213" lcid=" ">Protection</a> section</p><center><a href="XMLSchemaCopyright_HV01147162.htm">&copy;2003-2004 Microsoft Corporation. All rights reserved.</a>  

Permission to copy, display and distribute this document is available at: <a 

href="http://r.office.microsoft.com/r/rlidAWSContentRedir?AssetID=XT010988631033&amp;CTT=11&amp;Origin=HV011232471033" 

target="_new">http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp</a></center></body></html>