ConvertMailMergeEscape Class
Treat Backslash Quotation Delimiter as Two Quotation Marks.When the object is serialized out as xml, its qualified name is w:convMailMergeEsc.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Wordprocessing.OnOffType
DocumentFormat.OpenXml.Wordprocessing.ConvertMailMergeEscape
Namespace: DocumentFormat.OpenXml.Wordprocessing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Class ConvertMailMergeEscape _
Inherits OnOffType
'Usage
Dim instance As ConvertMailMergeEscape
public class ConvertMailMergeEscape : OnOffType
Remarks
[ISO/IEC 29500-1 1st Edition]
9.7.3.6 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.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.