Export (0) Print
Expand All
Expand Minimize

type Attribute (editWith Element)

Office 2007

Specifies the type of editing for the fields that match the XPath expression specified by the item attribute of the xmlToEdit element.

Type

xsd:enumeration

Remarks

The type attribute is an optional attribute of the editWith element.

The type attribute is used with the xField editing component, and it supports the following values: "plain", "plainMultiline", "formatted", "formattedMultiline", and "rich". The default value is "plain".

Note that if the matched XML Document Object Model (DOM) node does not support the full editing services specified, the effective type is downgraded appropriately (this means downgrading to "plain"). For example, an attribute node will behave as plain even if set to rich. Only data that is in a CDATA section, or that corresponds to XHTML, can support values other than "plain".

Example

The following is an example of the type attribute as it is used in the editWith element:

<xsf:xmlToEdit name="Label_4" 
   item="/CustomUISample/CDCollection/CD/Label">
   <xsf:editWith type="rich" autoComplete="no" 
      component="xField">
   </xsf:editWith>
</xsf:xmlToEdit>


Community Additions

ADD
Show:
© 2014 Microsoft