Table of Contents

Class OdfMailMergeEngine

Namespace
OdfKit.Text
Assembly
OdfKit.dll

Represents the mail merge engine for ODF documents. 表示 ODF 文件的郵件合併引擎。

public class OdfMailMergeEngine
Inheritance
OdfMailMergeEngine
Inherited Members

Constructors

OdfMailMergeEngine(TextDocument)

Represents the mail merge engine for ODF documents. 表示 ODF 文件的郵件合併引擎。

public OdfMailMergeEngine(TextDocument doc)

Parameters

doc TextDocument

The target text document. / 目標文字文件。

Methods

Execute(OdfNode, object)

Executes the mail merge operation. 執行郵件合併作業。

public void Execute(OdfNode root, object dataSource)

Parameters

root OdfNode

The root node of the mail merge. / 郵件合併的根節點。

dataSource object

The data source object used for the merge. / 用來合併的資料來源物件。

Execute(OdfNode, object, OdfMailMergeOptions?)

Executes the mail merge operation and returns a report, with optional configuration. 執行郵件合併作業並傳回報告,支援 options 設定。

public OdfMailMergeReport Execute(OdfNode root, object dataSource, OdfMailMergeOptions? options)

Parameters

root OdfNode

The root node of the mail merge. / 郵件合併的根節點。

dataSource object

The data source object used for the merge. / 用來合併的資料來源物件。

options OdfMailMergeOptions

The mail merge options; default values are used if null. / 郵件合併選項,若為 null 則使用預設值。

Returns

OdfMailMergeReport

The mail merge execution report. / 郵件合併執行報告。