DocumentID: ECMA-376/Part1/11.8 Title: ECMA-376, Part1: 11.8 Mail Merge Header Data Source Extracted-From: ECMA-376 Office Open XML File Formats, 1st Edition / December 2006 Warning: Coverted to HTML format by a script known to have bugs
|
Source Relationship: |
http://schemas.openxmlformats.org/officeDocument/2006/relationships/mailMergeHeaderSource |
|---|
A document that stores information about a mail merge operation is permitted to contain a Document Settings part (§11.3.3) whose relationship item targets the file location of the necessary header data source using this relationship.
[Example: Consider a document specifying a mail merge whose header data source is located at http://www.openxmlformats.org/header.txt:
<Relationships xmlns="...">
<Relationship Id="rId2"
Type="http://.../mailMergeHeaderSource"
Target=http://www.openxmlformats.org/header.txt
TargetMode="External"/>
</Relationships>
The document's Document Settings part contains a headerSource element that explicitly references this relationship:
<w:settings ...>
<w:mailMerge>
...
<w:headerSource r:id="rId2" />
...
</w:mailMerge>
</w:settings>
end example]
A mail merge header data source shall be located external to the package containing the source relationship (expressed syntactically, the TargetMode attribute of the Relationship element shall be External).