Export (0) Print
Expand All

ConvertMailMergeEscape class

Treat Backslash Quotation Delimiter as Two Quotation Marks. When the object is serialized out as xml, its qualified name is w:convMailMergeEsc.

Namespace:  DocumentFormat.OpenXml.Wordprocessing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

public class ConvertMailMergeEscape : OnOffType

[ISO/IEC 29500-1 1st Edition]

convMailMergeEsc (Treat Backslash Quotation Delimiter as Two Quotation Marks)

This element specifies whether applications should perform a conversion of the contents of a mail merge data source when reading those contents in order to perform a mail merge operation with their contents.

Typically, the contents of a mail merge data source are read in exactly as specified when performing a mail merge with the contents of a data source. This element, when present with a val attribute value of true (or equivalent), specifies that applications shall interpret delimiters composed of a backslash and quotation mark (\") as two quotation marks (""), within external data sources to be connected to via a mail merge.

[Example: Consider a WordprocessingML document with the following content in its data source:

This is a \"test\".

The default presentation would have the resulting merged data read in just as it appears:

This is a \"test\".

However, if this compatibility setting is turned on:

<w:compat>
  <w:convMailMergeEsc />
</w:compat>

Then instances of a backslash and quotation mark would be converted, resulting in the following output:

This is a ""test"".

end example]

Parent Elements

compat (Part 1, §17.15.1.21)

This element’s content model is defined by the common boolean property definition in Part 1, §17.17.4.

© ISO/IEC29500: 2008.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft