Class OdfMailMergeEngine
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
docTextDocumentThe target text document. / 目標文字文件。
Methods
Execute(OdfNode, object)
Executes the mail merge operation. 執行郵件合併作業。
public void Execute(OdfNode root, object dataSource)
Parameters
rootOdfNodeThe root node of the mail merge. / 郵件合併的根節點。
dataSourceobjectThe 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
rootOdfNodeThe root node of the mail merge. / 郵件合併的根節點。
dataSourceobjectThe data source object used for the merge. / 用來合併的資料來源物件。
optionsOdfMailMergeOptionsThe mail merge options; default values are used if null. / 郵件合併選項,若為 null 則使用預設值。
Returns
- OdfMailMergeReport
The mail merge execution report. / 郵件合併執行報告。