xmlToEditExtension Element

Specifies extended information for the corresponding xmlToEdit element in the manifest.xsf.

Usage

  
<xmlToEditExtension
	ref="xsf:xdTitle"
	excludeEmbeddedImages="xsf:xdYesNo"
	allowLinkedImages="xsf:xdYesNo"
/>

Element Information

Element type xsd:complexType
Namespace xsf2

Elements and Attributes

Parent Elements

Element Description
viewExtension Specifies extended information for the corresponding view element in the manifest.xsf.

Child Elements

None

Attributes

Attribute Type Required Description Possible Values
ref xdTitle Required Specifies the name attribute of the xmlToEdit element that represents the Rich Text Box control that is extended with information from this element.

Note   This element or attribute is optional in the form definition file (.xsf) of a form template deployed as a browser-compatible form to a server running InfoPath Forms Services.
String
excludeEmbeddedImages xdYesNo Optional Specifies whether to exclude embedded images when a user pastes content into a Rich Text Box control. Corresponds to the Embedded images check box on the Display tab of the Rich Text Box Properties dialog box.

Note   If this element or attribute is in the form definition file (.xsf), InfoPath Forms Services will ignore this setting when the form template is deployed to the server as a browser-compatible form.
  • Yes
  • No
allowLinkedImages xdYesNo Optional Specifies whether to save hyperlink references to images in a Rich Text Box control. Corresponds to the Linked images check box on the Display tab of the Rich Text Box Properties dialog box.

Note   If this element or attribute is in the form definition file (.xsf), InfoPath Forms Services will ignore this setting when the form template is deployed to the server as a browser-compatible form.
  • Yes
  • No

Remarks

When a user is editing a form in Microsoft Office InfoPath and has focus in a Rich Text Box control that has the excludeEmbeddedImages attribute set to "yes", the following commands are disabled:

  • Insert | Picture | Clip Art
  • Insert | Picture | From File
  • Insert | Ink Drawing and Writing
  • Insert Picture button on the toolbar

 

Note   This element or attribute is optional in the form definition file (.xsf) of a form template deployed as a browser-compatible form to a server running InfoPath Forms Services.

Definition

  
<xsd:element name="xmlToEditExtension">
   <xsd:complexType>
      <xsd:sequence/>
      <xsd:attribute name="ref" type="xsf:xdTitle" use="required" />
      <xsd:attribute name="excludeEmbeddedImages" type="xsf:xdYesNo" use="optional" default="no" />
      <xsd:attribute name="allowLinkedImages" type="xsf:xdYesNo" use="optional" default="no" />
      <xsd:anyAttribute  processContents="skip" />
   </xsd:complexType>
</xsd:element>