w:mailMerge
Mail Merge Settings
Element information
Namespace: http://schemas.openxmlformats.org/wordprocessingml/2006/main
Schema document: wml.xsd
Type: w:CT_MailMerge
Properties: Local, Qualified
Content
- Sequence [1..1]
- w:mainDocumentType [1..1] Source Document Type
- w:linkToQuery [0..1] Query Contains Link to External Query File
- w:dataType [1..1] Data Source Type
- w:connectString [0..1] Data Source Connection String
- w:query [0..1] Query For Data Source Records To Merge
- w:dataSource [0..1] Data Source File Path
- w:headerSource [0..1] Header Definition File Path
- w:doNotSuppressBlankLines [0..1] Remove Blank Lines from Merged Documents
- w:destination [0..1] Merged Document Destination
- w:addressFieldName [0..1] Column Containing E-mail Address
- w:mailSubject [0..1] Merged E-mail or Fax Subject Line
- w:mailAsAttachment [0..1] Merged Document To E-Mail Attachment
- w:viewMergedData [0..1] View Merged Data Within Document
- w:activeRecord [0..1] Record Currently Displayed In Merged Document
- w:checkErrors [0..1] Mail Merge Error Reporting Setting
- w:odso [0..1] Office Data Source Object Settings
Attributes
None
Used in
- Type w:CT_Settings (Element w:settings)
Sample instance
<w:mailMerge> <w:mainDocumentType w:val="catalog"/> <w:linkToQuery/> <w:dataType w:val="textFile"/> <w:connectString w:val="string"/> <w:query w:val="string"/> <w:dataSource r:id="string"/> <w:headerSource r:id="string"/> <w:doNotSuppressBlankLines/> <w:destination w:val="newDocument"/> <w:addressFieldName w:val="string"/> <w:mailSubject w:val="string"/> <w:mailAsAttachment/> <w:viewMergedData/> <w:activeRecord w:val="1"/> <w:checkErrors w:val="1"/> <w:odso> <w:udl w:val="string"/> <w:table w:val="string"/> <w:src r:id="string"/> <w:colDelim w:val="1"/> <w:type w:val="database"/> <w:fHdr/> <w:fieldMapData> <w:type w:val="null"/> <w:name w:val="string"/> <w:mappedName w:val="string"/> <w:column w:val="1"/> <w:lid w:val=""/> <w:dynamicAddress/> </w:fieldMapData> <w:recipientData r:id="string"/> </w:odso> </w:mailMerge>