Class MailMergeSettings
java.lang.Object
com.independentsoft.office.word.mailMerge.MailMergeSettings
The Class MailMergeSettings.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new mail merge settings.MailMergeSettings(InternalXMLStreamReader reader)Instantiates a new mail merge settings. -
Method Summary
Modifier and TypeMethodDescriptionclone()longGets the active record.Gets the address field name.longGets the check errors.Gets the data source connection string.Gets the data source file path.Gets the data source type.Gets the destination.Gets the header source.Gets the link to query.Gets the mail as attachment.Gets the mail subject.Gets the main document type.Gets the office data source object settings.getQuery()Gets the query.Gets the removes the blank lines.Gets the view merged data.static booleanChecks if is empty.voidsetActiveRecord(long activeRecord)Sets the active record.voidsetAddressFieldName(String addressFieldName)Sets the address field name.voidsetCheckErrors(long checkErrors)Sets the check errors.voidsetDataSourceConnectionString(String dataSourceConnectionString)Sets the data source connection string.voidsetDataSourceFilePath(String dataSourceFilePath)Sets the data source file path.voidsetDataSourceType(String dataSourceType)Sets the data source type.voidsetDestination(String destination)Sets the destination.voidsetHeaderSource(String headerSource)Sets the header source.voidsetLinkToQuery(ExtendedBoolean linkToQuery)Sets the link to query.voidsetMailAsAttachment(ExtendedBoolean mailAsAttachment)Sets the mail as attachment.voidsetMailSubject(String mailSubject)Sets the mail subject.voidsetMainDocumentType(MailMergeDocumentType mainDocumentType)Sets the main document type.voidSets the query.voidsetRemoveBlankLines(ExtendedBoolean removeBlankLines)Sets the removes the blank lines.voidsetViewMergedData(ExtendedBoolean viewMergedData)Sets the view merged data.toString()
-
Constructor Details
-
MailMergeSettings
public MailMergeSettings()Instantiates a new mail merge settings. -
MailMergeSettings
Instantiates a new mail merge settings.- Parameters:
reader- the reader- Throws:
XMLStreamException- the xML stream exception
-
-
Method Details
-
clone
-
toString
-
isEmpty
Checks if is empty.- Parameters:
value- the value- Returns:
- true, if is empty
-
getActiveRecord
public long getActiveRecord()Gets the active record.- Returns:
- the active record
-
setActiveRecord
public void setActiveRecord(long activeRecord)Sets the active record.- Parameters:
activeRecord- the new active record
-
getAddressFieldName
Gets the address field name.- Returns:
- the address field name
-
setAddressFieldName
Sets the address field name.- Parameters:
addressFieldName- the new address field name
-
getCheckErrors
public long getCheckErrors()Gets the check errors.- Returns:
- the check errors
-
setCheckErrors
public void setCheckErrors(long checkErrors)Sets the check errors.- Parameters:
checkErrors- the new check errors
-
getDataSourceConnectionString
Gets the data source connection string.- Returns:
- the data source connection string
-
setDataSourceConnectionString
Sets the data source connection string.- Parameters:
dataSourceConnectionString- the new data source connection string
-
getDataSourceFilePath
Gets the data source file path.- Returns:
- the data source file path
-
setDataSourceFilePath
Sets the data source file path.- Parameters:
dataSourceFilePath- the new data source file path
-
getDataSourceType
Gets the data source type.- Returns:
- the data source type
-
setDataSourceType
Sets the data source type.- Parameters:
dataSourceType- the new data source type
-
getDestination
Gets the destination.- Returns:
- the destination
-
setDestination
Sets the destination.- Parameters:
destination- the new destination
-
getRemoveBlankLines
Gets the removes the blank lines.- Returns:
- the removes the blank lines
-
setRemoveBlankLines
Sets the removes the blank lines.- Parameters:
removeBlankLines- the new removes the blank lines
-
getHeaderSource
Gets the header source.- Returns:
- the header source
-
setHeaderSource
Sets the header source.- Parameters:
headerSource- the new header source
-
getLinkToQuery
Gets the link to query.- Returns:
- the link to query
-
setLinkToQuery
Sets the link to query.- Parameters:
linkToQuery- the new link to query
-
getMailAsAttachment
Gets the mail as attachment.- Returns:
- the mail as attachment
-
setMailAsAttachment
Sets the mail as attachment.- Parameters:
mailAsAttachment- the new mail as attachment
-
getMailSubject
Gets the mail subject.- Returns:
- the mail subject
-
setMailSubject
Sets the mail subject.- Parameters:
mailSubject- the new mail subject
-
getMainDocumentType
Gets the main document type.- Returns:
- the main document type
-
setMainDocumentType
Sets the main document type.- Parameters:
mainDocumentType- the new main document type
-
getOfficeDataSourceObjectSettings
Gets the office data source object settings.- Returns:
- the office data source object settings
-
getQuery
Gets the query.- Returns:
- the query
-
setQuery
Sets the query.- Parameters:
query- the new query
-
getViewMergedData
Gets the view merged data.- Returns:
- the view merged data
-
setViewMergedData
Sets the view merged data.- Parameters:
viewMergedData- the new view merged data
-