Package org.docx4j.wml
Class CTMailMerge
java.lang.Object
org.docx4j.wml.CTMailMerge
- All Implemented Interfaces:
Child
public class CTMailMerge extends java.lang.Object implements 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 Classes Modifier and Type Class Description static classCTMailMerge.ActiveRecordJava class for anonymous complex type.static classCTMailMerge.AddressFieldNameJava class for anonymous complex type.static classCTMailMerge.CheckErrorsJava class for anonymous complex type.static classCTMailMerge.ConnectStringJava class for anonymous complex type.static classCTMailMerge.MailSubjectJava class for anonymous complex type.static classCTMailMerge.QueryJava class for anonymous complex type. -
Field Summary
Fields Modifier and Type Field Description protected CTMailMerge.ActiveRecordactiveRecordprotected CTMailMerge.AddressFieldNameaddressFieldNameprotected CTMailMerge.CheckErrorscheckErrorsprotected CTMailMerge.ConnectStringconnectStringprotected CTReldataSourceprotected CTMailMergeDataTypedataTypeprotected CTMailMergeDestdestinationprotected BooleanDefaultTruedoNotSuppressBlankLinesprotected CTRelheaderSourceprotected BooleanDefaultTruelinkToQueryprotected BooleanDefaultTruemailAsAttachmentprotected CTMailMerge.MailSubjectmailSubjectprotected CTMailMergeDocTypemainDocumentTypeprotected CTOdsoodsoprotected CTMailMerge.Queryqueryprotected BooleanDefaultTrueviewMergedData -
Constructor Summary
Constructors Constructor Description CTMailMerge() -
Method Summary
Modifier and Type Method Description voidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.CTMailMerge.ActiveRecordgetActiveRecord()Gets the value of the activeRecord property.CTMailMerge.AddressFieldNamegetAddressFieldName()Gets the value of the addressFieldName property.CTMailMerge.CheckErrorsgetCheckErrors()Gets the value of the checkErrors property.CTMailMerge.ConnectStringgetConnectString()Gets the value of the connectString property.CTRelgetDataSource()Gets the value of the dataSource property.CTMailMergeDataTypegetDataType()Gets the value of the dataType property.CTMailMergeDestgetDestination()Gets the value of the destination property.BooleanDefaultTruegetDoNotSuppressBlankLines()Gets the value of the doNotSuppressBlankLines property.CTRelgetHeaderSource()Gets the value of the headerSource property.BooleanDefaultTruegetLinkToQuery()Gets the value of the linkToQuery property.BooleanDefaultTruegetMailAsAttachment()Gets the value of the mailAsAttachment property.CTMailMerge.MailSubjectgetMailSubject()Gets the value of the mailSubject property.CTMailMergeDocTypegetMainDocumentType()Gets the value of the mainDocumentType property.CTOdsogetOdso()Gets the value of the odso property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.CTMailMerge.QuerygetQuery()Gets the value of the query property.BooleanDefaultTruegetViewMergedData()Gets the value of the viewMergedData property.voidsetActiveRecord(CTMailMerge.ActiveRecord value)Sets the value of the activeRecord property.voidsetAddressFieldName(CTMailMerge.AddressFieldName value)Sets the value of the addressFieldName property.voidsetCheckErrors(CTMailMerge.CheckErrors value)Sets the value of the checkErrors property.voidsetConnectString(CTMailMerge.ConnectString value)Sets the value of the connectString property.voidsetDataSource(CTRel value)Sets the value of the dataSource property.voidsetDataType(CTMailMergeDataType value)Sets the value of the dataType property.voidsetDestination(CTMailMergeDest value)Sets the value of the destination property.voidsetDoNotSuppressBlankLines(BooleanDefaultTrue value)Sets the value of the doNotSuppressBlankLines property.voidsetHeaderSource(CTRel value)Sets the value of the headerSource property.voidsetLinkToQuery(BooleanDefaultTrue value)Sets the value of the linkToQuery property.voidsetMailAsAttachment(BooleanDefaultTrue value)Sets the value of the mailAsAttachment property.voidsetMailSubject(CTMailMerge.MailSubject value)Sets the value of the mailSubject property.voidsetMainDocumentType(CTMailMergeDocType value)Sets the value of the mainDocumentType property.voidsetOdso(CTOdso value)Sets the value of the odso property.voidsetParent(java.lang.Object parent)voidsetQuery(CTMailMerge.Query value)Sets the value of the query property.voidsetViewMergedData(BooleanDefaultTrue value)Sets the value of the viewMergedData property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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
public java.lang.Object getParent()Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
public void setParent(java.lang.Object parent) -
afterUnmarshal
public void afterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)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.
-