Package org.docx4j.wml
Class CTMailMerge
java.lang.Object
org.docx4j.wml.CTMailMerge
- All Implemented Interfaces:
Child
Java class for CT_MailMerge complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_MailMerge"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="mainDocumentType" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_MailMergeDocType"/> <element name="linkToQuery" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}BooleanDefaultTrue" minOccurs="0"/> <element name="dataType" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_MailMergeDataType"/> <element name="connectString" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="val" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType> </element> <element name="query" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="val" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType> </element> <element name="dataSource" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Rel" minOccurs="0"/> <element name="headerSource" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Rel" minOccurs="0"/> <element name="doNotSuppressBlankLines" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}BooleanDefaultTrue" minOccurs="0"/> <element name="destination" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_MailMergeDest" minOccurs="0"/> <element name="addressFieldName" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="val" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType> </element> <element name="mailSubject" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="val" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType> </element> <element name="mailAsAttachment" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}BooleanDefaultTrue" minOccurs="0"/> <element name="viewMergedData" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}BooleanDefaultTrue" minOccurs="0"/> <element name="activeRecord" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="val" use="required"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}integer"> </restriction> </simpleType> </attribute> </restriction> </complexContent> </complexType> </element> <element name="checkErrors" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="val" use="required"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}integer"> </restriction> </simpleType> </attribute> </restriction> </complexContent> </complexType> </element> <element name="odso" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Odso" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Java class for anonymous complex type.static class
Java class for anonymous complex type.static class
Java class for anonymous complex type.static class
Java class for anonymous complex type.static class
Java class for anonymous complex type.static class
Java class for anonymous complex type. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CTMailMerge.ActiveRecord
protected CTMailMerge.AddressFieldName
protected CTMailMerge.CheckErrors
protected CTMailMerge.ConnectString
protected CTRel
protected CTMailMergeDataType
protected CTMailMergeDest
protected BooleanDefaultTrue
protected CTRel
protected BooleanDefaultTrue
protected BooleanDefaultTrue
protected CTMailMerge.MailSubject
protected CTMailMergeDocType
protected CTOdso
protected CTMailMerge.Query
protected BooleanDefaultTrue
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
afterUnmarshal
(jakarta.xml.bind.Unmarshaller unmarshaller, Object parent) This method is invoked by the JAXB implementation on each instance when unmarshalling completes.Gets the value of the activeRecord property.Gets the value of the addressFieldName property.Gets the value of the checkErrors property.Gets the value of the connectString property.Gets the value of the dataSource property.Gets the value of the dataType property.Gets the value of the destination property.Gets the value of the doNotSuppressBlankLines property.Gets the value of the headerSource property.Gets the value of the linkToQuery property.Gets the value of the mailAsAttachment property.Gets the value of the mailSubject property.Gets the value of the mainDocumentType property.getOdso()
Gets the value of the odso property.Gets the parent object in the object tree representing the unmarshalled xml document.getQuery()
Gets the value of the query property.Gets the value of the viewMergedData property.void
Sets the value of the activeRecord property.void
Sets the value of the addressFieldName property.void
Sets the value of the checkErrors property.void
Sets the value of the connectString property.void
setDataSource
(CTRel value) Sets the value of the dataSource property.void
setDataType
(CTMailMergeDataType value) Sets the value of the dataType property.void
setDestination
(CTMailMergeDest value) Sets the value of the destination property.void
Sets the value of the doNotSuppressBlankLines property.void
setHeaderSource
(CTRel value) Sets the value of the headerSource property.void
setLinkToQuery
(BooleanDefaultTrue value) Sets the value of the linkToQuery property.void
Sets the value of the mailAsAttachment property.void
Sets the value of the mailSubject property.void
Sets the value of the mainDocumentType property.void
Sets the value of the odso property.void
void
setQuery
(CTMailMerge.Query value) Sets the value of the query property.void
Sets the value of the viewMergedData property.
-
Field Details
-
mainDocumentType
-
linkToQuery
-
dataType
-
connectString
-
query
-
dataSource
-
headerSource
-
doNotSuppressBlankLines
-
destination
-
addressFieldName
-
mailSubject
-
mailAsAttachment
-
viewMergedData
-
activeRecord
-
checkErrors
-
odso
-
-
Constructor Details
-
CTMailMerge
public CTMailMerge()
-
-
Method Details
-
getMainDocumentType
Gets the value of the mainDocumentType property.- Returns:
- possible object is
CTMailMergeDocType
-
setMainDocumentType
Sets the value of the mainDocumentType property.- Parameters:
value
- allowed object isCTMailMergeDocType
-
getLinkToQuery
Gets the value of the linkToQuery property.- Returns:
- possible object is
BooleanDefaultTrue
-
setLinkToQuery
Sets the value of the linkToQuery property.- Parameters:
value
- allowed object isBooleanDefaultTrue
-
getDataType
Gets the value of the dataType property.- Returns:
- possible object is
CTMailMergeDataType
-
setDataType
Sets the value of the dataType property.- Parameters:
value
- allowed object isCTMailMergeDataType
-
getConnectString
Gets the value of the connectString property.- Returns:
- possible object is
CTMailMerge.ConnectString
-
setConnectString
Sets the value of the connectString property.- Parameters:
value
- allowed object isCTMailMerge.ConnectString
-
getQuery
Gets the value of the query property.- Returns:
- possible object is
CTMailMerge.Query
-
setQuery
Sets the value of the query property.- Parameters:
value
- allowed object isCTMailMerge.Query
-
getDataSource
Gets the value of the dataSource property.- Returns:
- possible object is
CTRel
-
setDataSource
Sets the value of the dataSource property.- Parameters:
value
- allowed object isCTRel
-
getHeaderSource
Gets the value of the headerSource property.- Returns:
- possible object is
CTRel
-
setHeaderSource
Sets the value of the headerSource property.- Parameters:
value
- allowed object isCTRel
-
getDoNotSuppressBlankLines
Gets the value of the doNotSuppressBlankLines property.- Returns:
- possible object is
BooleanDefaultTrue
-
setDoNotSuppressBlankLines
Sets the value of the doNotSuppressBlankLines property.- Parameters:
value
- allowed object isBooleanDefaultTrue
-
getDestination
Gets the value of the destination property.- Returns:
- possible object is
CTMailMergeDest
-
setDestination
Sets the value of the destination property.- Parameters:
value
- allowed object isCTMailMergeDest
-
getAddressFieldName
Gets the value of the addressFieldName property.- Returns:
- possible object is
CTMailMerge.AddressFieldName
-
setAddressFieldName
Sets the value of the addressFieldName property.- Parameters:
value
- allowed object isCTMailMerge.AddressFieldName
-
getMailSubject
Gets the value of the mailSubject property.- Returns:
- possible object is
CTMailMerge.MailSubject
-
setMailSubject
Sets the value of the mailSubject property.- Parameters:
value
- allowed object isCTMailMerge.MailSubject
-
getMailAsAttachment
Gets the value of the mailAsAttachment property.- Returns:
- possible object is
BooleanDefaultTrue
-
setMailAsAttachment
Sets the value of the mailAsAttachment property.- Parameters:
value
- allowed object isBooleanDefaultTrue
-
getViewMergedData
Gets the value of the viewMergedData property.- Returns:
- possible object is
BooleanDefaultTrue
-
setViewMergedData
Sets the value of the viewMergedData property.- Parameters:
value
- allowed object isBooleanDefaultTrue
-
getActiveRecord
Gets the value of the activeRecord property.- Returns:
- possible object is
CTMailMerge.ActiveRecord
-
setActiveRecord
Sets the value of the activeRecord property.- Parameters:
value
- allowed object isCTMailMerge.ActiveRecord
-
getCheckErrors
Gets the value of the checkErrors property.- Returns:
- possible object is
CTMailMerge.CheckErrors
-
setCheckErrors
Sets the value of the checkErrors property.- Parameters:
value
- allowed object isCTMailMerge.CheckErrors
-
getOdso
Gets the value of the odso property.- Returns:
- possible object is
CTOdso
-
setOdso
Sets the value of the odso property.- Parameters:
value
- allowed object isCTOdso
-
getParent
Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
-
afterUnmarshal
This method is invoked by the JAXB implementation on each instance when unmarshalling completes.- Parameters:
parent
- The parent object in the object tree.unmarshaller
- The unmarshaller that generated the instance.
-