File: inconAboutSEForm.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 (16 lines) | stat: -rw-r--r-- 6,673 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<html dir="ltr"><head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<META HTTP-EQUIV="assetid" CONTENT="HV01000257"><META NAME="lcid" CONTENT="1033"><title>About the Structural Editing developer sample form</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><p id="ExpandAllLine" class="ExpFav"><a href="#" onclick="ExpandAll()" onkeypress="ExpandAll()" class="DropDown"><img id="picHeader" border="0" src="expandtri.gif" alt="Show All"><span id="ExpandAll">Show All</span></a></p><h1>About the Structural Editing developer sample form</h1><div class="ofvbanav"><span class="ofvbanavreuse" id="seealso" onclick="toggleList()" onkeypress="toggleList()"></span><span class="ofvbanavreuse" id="specifics" onclick="toggleList()" onkeypress="toggleList()"></span></div><p>The Structural Editing developer sample form demonstrates some of the ways in which the underlying XML document of a Microsoft
			Office InfoPath 2003  form may be edited using a combination of controls, menu items, toolbar buttons, and script. When filling out a form in InfoPath, users are essentially editing an XML document in an easy-to-use, graphical format. Although the Structural Editing developer sample form is primarily intended to demonstrate structural editing, it is used to illustrate two types of editing that can occur in a form: <ul><li><b class="runinhead">Field editing</b>   Editing that modifies the text in a field (an <a href="#" class="glossary" onclick="AppendPopup(this,'xdxmlelement')" onkeypress="AppendPopup(this,'xdxmlelement')">element</a> or <a href="#" class="glossary" onclick="AppendPopup(this,'xdxmlattribute')" onkeypress="AppendPopup(this,'xdxmlattribute')">attribute</a> in the form's underlying XML document). For example, entering data directly into a <a href="#" class="glossary" onclick="AppendPopup(this,'xdtextbox')" onkeypress="AppendPopup(this,'xdtextbox')">text box</a>
					control changes the underlying data in the element or attribute that the control is <a href="#" class="glossary" onclick="AppendPopup(this,'xdbind')" onkeypress="AppendPopup(this,'xdbind')">bound</a> to.</li><li><b class="runinhead">Structural editing</b>   Editing that changes the structure of the form's underlying XML document. Structural editing allows fragments of XML (elements and their associated <a href="#" class="glossary" onclick="AppendPopup(this,'xdchildelement')" onkeypress="AppendPopup(this,'xdchildelement')">child elements</a>, attributes, and content) to be inserted, removed, or replaced in a single operation. For example, adding items to a <a href="#" class="glossary" onclick="AppendPopup(this,'xdrepeatingsection')" onkeypress="AppendPopup(this,'xdrepeatingsection')">repeating section</a>, <a href="#" class="glossary" onclick="AppendPopup(this,'xdrepeatingtable')" onkeypress="AppendPopup(this,'xdrepeatingtable')">repeating table</a>, or <a href="#" class="glossary" onclick="AppendPopup(this,'xdlistcontrol')" onkeypress="AppendPopup(this,'xdlistcontrol')">list control</a> creates new elements and attributes within the part of the XML document that the control is bound to.</li></ul></p><p>Both field editing and structural editing are usually implemented by using controls that connect a form to an underlying XML document, allowing users to enter or modify the data that the XML document contains. However, you may also implement field or structural editing by using scripting code in conjunction with the
			InfoPath
			object model.</p><p>In addition to field and structural editing,
			InfoPath provides the
			concept of <i>editing context</i>, which means that editing actions can be dependent on the current selection or insertion point. For example, the <b class="ui">Add Part Before Current</b> button on the <b class="ui">Part Toolbar</b> custom toolbar of the Structural Editing developer sample form inserts a new row in the Parts table at a position based on the current context. The button is enabled only if the current selection is on or within one of the rows in the table.</p><p>To test the features of the sample form, simply type data directly into the fields on the form, or use the <b class="ui">Insert</b> menu, the <b class="ui">Part Catalog</b>
			<a href="#" class="glossary" onclick="AppendPopup(this,'xdcustomtaskpane')" onkeypress="AppendPopup(this,'xdcustomtaskpane')"> custom task pane</a>, the shortcut menu, or the <b class="ui">Part Toolbar</b> custom toolbar to insert or remove rows in the Parts table.</p><p><b>Note</b>  To see all of the files that make up the Structural Editing developer sample form, open the form and click <b class="ui">Extract Form Files</b> on the <b class="ui">File</b> menu while in <a href="#" class="glossary" onclick="AppendPopup(this,'xddesignmode')" onkeypress="AppendPopup(this,'xddesignmode')">design mode</a>. This extracts all of the <a href="#" class="glossary" onclick="AppendPopup(this,'xdformfiles')" onkeypress="AppendPopup(this,'xdformfiles')">form files</a> from the <a href="#" class="glossary" onclick="AppendPopup(this,'xdformtemplate')" onkeypress="AppendPopup(this,'xdformtemplate')">form template</a> file and saves them to a specified folder on your hard disk.</p><p>To learn how editing features are implemented in the Structural Editing developer sample form, see the following topics:</p><p><a href="inconFieldEditingInSEForm.htm" id="HV01032746" lcid=" ">Field editing in the Structural Editing developer sample form</a></p><p><a href="inconStructuralEditingInSEForm.htm" id="HV01023272" lcid=" ">Structural editing in the Structural Editing developer sample form</a></p><p><a href="inconEditingContextInSEForm.htm" id="HV01023271" lcid=" ">Editing context in the Structural Editing developer sample form</a></p><script type="text/javascript" language="JScript" src="ofvbanl.js"></script><span id="ofVBAISpan" class="ofvbaispan"><iframe id="ofVBAIFrame" frameborder="0" marginheight="0" marginwidth="4" scrolling="auto" width="100%" src="../links/inconAboutSEForm_l.htm"></iframe></span><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>