Definition Type: ComplexType
Name: mailMergeElt
Namespace: http://schemas.microsoft.com/office/word/2003/wordml
Containing Schema: wordnet.xsd
Abstract
Documentation:
Defines the collection of settings for a mail-merge operation.
Collapse XSD Schema Diagram:
Drilldown into odso in schema wordnet_xsd Drilldown into checkErrors in schema wordnet_xsd Drilldown into activeRecord in schema wordnet_xsd Drilldown into viewMergedData in schema wordnet_xsd Drilldown into mailAsAttachment in schema wordnet_xsd Drilldown into mailSubject in schema wordnet_xsd Drilldown into addressFieldName in schema wordnet_xsd Drilldown into destination in schema wordnet_xsd Drilldown into doNotSuppressBlankLines in schema wordnet_xsd Drilldown into headerSource in schema wordnet_xsd Drilldown into dataSource in schema wordnet_xsd Drilldown into query in schema wordnet_xsd Drilldown into connectString in schema wordnet_xsd Drilldown into defaultSQL in schema wordnet_xsd Drilldown into dataType in schema wordnet_xsd Drilldown into linkToQuery in schema wordnet_xsd Drilldown into mainDocumentType in schema wordnet_xsdXSD Diagram of mailMergeElt in schema wordnet_xsd (Microsoft Office 2003 Reference Schemas)
Collapse XSD Schema Code:
<xsd:complexType name="mailMergeElt">
    <xsd:annotation>
        <xsd:documentation>Defines the collection of settings for a mail-merge operation.</xsd:documentation>
    </xsd:annotation>
    <xsd:sequence>
        <xsd:element name="mainDocumentType" type="mailMergeDocTypeProperty" minOccurs="1">
            <xsd:annotation>
                <xsd:documentation>Specifies a mail-merge main document type. The main document is the document that contains information that is the same for each version of the merged document -- for example, the return address in a form letter.</xsd:documentation>
            </xsd:annotation>
        </xsd:element>
        <xsd:element name="linkToQuery" type="onOffProperty" minOccurs="0">
            <xsd:annotation>
                <xsd:documentation>Specifies whether a mail-merge main document contains a query to its data source. If specified, the mail-merge document does not link to the data source by means of Microsoft Query.</xsd:documentation>
            </xsd:annotation>
        </xsd:element>
        <xsd:element name="dataType" type="mailMergeDataTypeProperty" minOccurs="1">
            <xsd:annotation>
                <xsd:documentation>Specifies the type of mail-merge data source (such as an Excel spreadsheet or Access database) and the method of data access (for example, by means of ODBC or DDE).</xsd:documentation>
            </xsd:annotation>
        </xsd:element>
        <xsd:element name="defaultSQL" type="onOffProperty" minOccurs="0">
            <xsd:annotation>
                <xsd:documentation>Specifies whether the mail merge will use the default SQL query string.</xsd:documentation>
            </xsd:annotation>
        </xsd:element>
        <xsd:element name="connectString" type="stringProperty" minOccurs="0">
            <xsd:annotation>
                <xsd:documentation>Represents the connection string used to open an external data source.</xsd:documentation>
            </xsd:annotation>
        </xsd:element>
        <xsd:element name="query" type="stringProperty" minOccurs="0">
            <xsd:annotation>
                <xsd:documentation>Contains the query that is run against the data source.</xsd:documentation>
            </xsd:annotation>
        </xsd:element>
        <xsd:element name="dataSource" type="stringProperty" minOccurs="0">
            <xsd:annotation>
                <xsd:documentation>Specifies the path to the mail-merge data source.</xsd:documentation>
            </xsd:annotation>
        </xsd:element>
        <xsd:element name="headerSource" type="stringProperty" minOccurs="0">
            <xsd:annotation>
                <xsd:documentation>Specifies the path to the mail-merge header source.</xsd:documentation>
            </xsd:annotation>
        </xsd:element>
        <xsd:element name="doNotSuppressBlankLines" type="onOffProperty" minOccurs="0">
            <xsd:annotation>
                <xsd:documentation>Causes Word not to print blank lines when a data field is empty.</xsd:documentation>
            </xsd:annotation>
        </xsd:element>
        <xsd:element name="destination" type="mailMergeDestProperty" minOccurs="0">
            <xsd:annotation>
                <xsd:documentation>Specifies the output of a mail merge.</xsd:documentation>
            </xsd:annotation>
        </xsd:element>
        <xsd:element name="addressFieldName" type="stringProperty" minOccurs="0">
            <xsd:annotation>
                <xsd:documentation>Contains the name of the data field with the destination e-mail or fax address.</xsd:documentation>
            </xsd:annotation>
        </xsd:element>
        <xsd:element name="mailSubject" type="stringProperty" minOccurs="0">
            <xsd:annotation>
                <xsd:documentation>Contains the text that appears in the subject line of the mail-merge destination e-mail or fax.</xsd:documentation>
            </xsd:annotation>
        </xsd:element>
        <xsd:element name="mailAsAttachment" type="onOffProperty" minOccurs="0">
            <xsd:annotation>
                <xsd:documentation>Sends the merged document to e-mail recipients as an attachment.</xsd:documentation>
            </xsd:annotation>
        </xsd:element>
        <xsd:element name="viewMergedData" type="onOffProperty" minOccurs="0">
            <xsd:annotation>
                <xsd:documentation>Specifies that merge data is displayed.</xsd:documentation>
            </xsd:annotation>
        </xsd:element>
        <xsd:element name="activeRecord" type="decimalNumberProperty" minOccurs="0">
            <xsd:annotation>
                <xsd:documentation>Specifies the active record that a main mail-merge document displays.</xsd:documentation>
            </xsd:annotation>
        </xsd:element>
        <xsd:element name="checkErrors" type="decimalNumberProperty" minOccurs="0">
            <xsd:annotation>
                <xsd:documentation>Specifies which mail-merge error checking and reporting option runs. 1) Simulate the merge and report errors in a new document. 2) (default) Complete the merge, pausing to report each error as it occurs. 3) Complete the merge without pausing; report errors in a new document.</xsd:documentation>
            </xsd:annotation>
        </xsd:element>
        <xsd:element name="odso" type="odsoElt" minOccurs="0">
            <xsd:annotation>
                <xsd:documentation>Contains settings related to the Office Data Source Object.</xsd:documentation>
            </xsd:annotation>
        </xsd:element>
    </xsd:sequence>
</xsd:complexType>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
mainDocumentType W:mainDocumentType 1 (1)
linkToQuery W:linkToQuery 0 (1)
dataType W:dataType 1 (1)
defaultSQL W:defaultSQL 0 (1)
connectString W:connectString 0 (1)
query W:query 0 (1)
dataSource W:dataSource 0 (1)
headerSource W:headerSource 0 (1)
doNotSuppressBlankLines W:doNotSuppressBlankLines 0 (1)
destination W:destination 0 (1)
addressFieldName W:addressFieldName 0 (1)
mailSubject W:mailSubject 0 (1)
mailAsAttachment W:mailAsAttachment 0 (1)
viewMergedData W:viewMergedData 0 (1)
activeRecord W:activeRecord 0 (1)
checkErrors W:checkErrors 0 (1)
odso W:odso 0 (1)
Collapse Derivation Tree:
Collapse References:
W:mailMerge