11.8 Mail Merge Header Data Source

11.8 Mail Merge Header Data Source

11.8 Mail Merge Header Data Source

Source Relationship:

http://purl.oclc.org/ooxml/officeDocument/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>
<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>
<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 relationships part (expressed syntactically, the TargetMode attribute of the Relationship element shall be External).

Last updated on