Method | Description | |
---|---|---|
CreateExcelWorkbook ( EnterpriseWebLibrary.MailMerging.RowTree.MergeRowTree rowTree, IEnumerable |
Creates a single-sheet Excel Workbook from the top level of a row tree and writes it to a stream. There will be one column for each merge field specified in the list of field names. Each column head will be named by calling ToEnglishFromCamel on the merge field's name or using the Microsoft Word name without modification, the latter if useMsWordFieldNames is true.
|
|
CreateMsWordDoc ( EnterpriseWebLibrary.MailMerging.RowTree.MergeRowTree rowTree, bool ensureAllFieldsHaveValues, Stream inputStream, Stream destinationStream ) : void |
Merges a row tree with a Microsoft Word document. If you would like each row to be on a separate page, set the first paragraph in the input file to have a page break before it.
|
|
CreatePdf ( EnterpriseWebLibrary.MailMerging.RowTree.MergeRowTree rowTree, bool ensureAllFieldsHaveValues, |
Merges a row tree with a PDF document containing form fields.
|
|
CreatePdf ( EnterpriseWebLibrary.MailMerging.RowTree.MergeRowTree rowTree, bool ensureAllFieldsHaveValues, string sourcePdfFilePath, Stream destinationStream, bool useLegacyBehaviorOfIgnoringInvalidFields = false ) : void |
Merges a row tree with a PDF document containing form fields.
|
|
CreatePdfFromMsWordDoc ( EnterpriseWebLibrary.MailMerging.RowTree.MergeRowTree rowTree, bool ensureAllFieldsHaveValues, string inputFilePath, Stream destinationStream ) : void |
Merges a row tree with a Microsoft Word document and writes the result to a stream as a PDF document. If you would like each row to be on a separate page, set the first paragraph in the input file to have a page break before it.
|
|
CreateString ( EnterpriseWebLibrary.MailMerging.RowTree.MergeRow row, bool ensureAllFieldsHaveValues, string template ) : string |
Merges a row with a template string.
|
|
CreateTabularTextFile ( EnterpriseWebLibrary.MailMerging.RowTree.MergeRowTree rowTree, IEnumerable |
Creates a comma-separated values (CSV) or tab-separated values file from the top level of a row tree. There will be one column for each merge field specified in the list of field names.
|
|
CreateXmlDocument ( EnterpriseWebLibrary.MailMerging.RowTree.MergeRowTree rowTree, EnterpriseWebLibrary.MailMerging.MergeFieldNameTree fieldNameTree, Stream destinationStream ) : void |
Creates an XML document from a row tree and writes it to a stream using UTF-8 encoding.
|
|
GetExcelSupportedMergeFields ( EnterpriseWebLibrary.MailMerging.RowTree.MergeRowTree rowTree ) : IEnumerable |
Gets an IEnumerable of the merge field names from the top level of the specified row tree that are supported by the CreateExcelWorkbook method.
|
|
GetMergeFieldsInTemplateString ( string template ) : EnterpriseWebLibrary.MailMerging.MergeFieldNameTree |
Gets a merge field name tree of the fields that exist in the specified template string.
|
|
GetTabularTextSupportedMergeFields ( EnterpriseWebLibrary.MailMerging.RowTree.MergeRowTree rowTree ) : IEnumerable |
Gets the names of the merge fields from the top level of the specified row tree that are supported by the CreateTabularTextFile method.
|
|
GetXmlSupportedMergeFields ( EnterpriseWebLibrary.MailMerging.RowTree.MergeRowTree rowTree ) : EnterpriseWebLibrary.MailMerging.MergeFieldNameTree |
Gets a merge field name tree of the fields that are supported by the CreateXmlDocument method.
|
Method | Description | |
---|---|---|
CreateExcelFileWriter ( EnterpriseWebLibrary.MailMerging.RowTree.MergeRowTree rowTree, IEnumerable |
||
Test ( ) : void | ||
createMsWordDocOrPdfFromMsWordDoc ( EnterpriseWebLibrary.MailMerging.RowTree.MergeRowTree rowTree, bool ensureAllFieldsHaveValues, Stream inputStream, Stream destinationStream, bool saveAsMsWordDoc ) : void | ||
getFieldsInTemplateString ( string template ) : IEnumerable |
||
mergeValueTypeIsSupportedByExcel ( MergeValue mv ) : bool | ||
mergeValueTypeIsSupportedInTabularText ( MergeValue mv ) : bool | ||
mergeValueTypeIsSupportedInXml ( MergeValue mv ) : bool | ||
writeRowTreeXmlElement ( EnterpriseWebLibrary.MailMerging.RowTree.MergeRowTree rowTree, EnterpriseWebLibrary.MailMerging.MergeFieldNameTree fieldNameTree, |
public static CreateExcelWorkbook ( EnterpriseWebLibrary.MailMerging.RowTree.MergeRowTree rowTree, IEnumerable |
||
rowTree | EnterpriseWebLibrary.MailMerging.RowTree.MergeRowTree | |
fieldNames | IEnumerable |
|
destinationStream | Stream | |
useMsWordFieldNames | bool | |
return | void |
public static CreateMsWordDoc ( EnterpriseWebLibrary.MailMerging.RowTree.MergeRowTree rowTree, bool ensureAllFieldsHaveValues, Stream inputStream, Stream destinationStream ) : void | ||
rowTree | EnterpriseWebLibrary.MailMerging.RowTree.MergeRowTree | |
ensureAllFieldsHaveValues | bool | |
inputStream | Stream | |
destinationStream | Stream | |
return | void |
public static CreatePdf ( EnterpriseWebLibrary.MailMerging.RowTree.MergeRowTree rowTree, bool ensureAllFieldsHaveValues, |
||
rowTree | EnterpriseWebLibrary.MailMerging.RowTree.MergeRowTree | |
ensureAllFieldsHaveValues | bool | |
sourcePdfStream | ||
destinationStream | Stream | |
useLegacyBehaviorOfIgnoringInvalidFields | bool | |
return | void |
public static CreatePdf ( EnterpriseWebLibrary.MailMerging.RowTree.MergeRowTree rowTree, bool ensureAllFieldsHaveValues, string sourcePdfFilePath, Stream destinationStream, bool useLegacyBehaviorOfIgnoringInvalidFields = false ) : void | ||
rowTree | EnterpriseWebLibrary.MailMerging.RowTree.MergeRowTree | |
ensureAllFieldsHaveValues | bool | |
sourcePdfFilePath | string | |
destinationStream | Stream | |
useLegacyBehaviorOfIgnoringInvalidFields | bool | |
return | void |
public static CreatePdfFromMsWordDoc ( EnterpriseWebLibrary.MailMerging.RowTree.MergeRowTree rowTree, bool ensureAllFieldsHaveValues, string inputFilePath, Stream destinationStream ) : void | ||
rowTree | EnterpriseWebLibrary.MailMerging.RowTree.MergeRowTree | |
ensureAllFieldsHaveValues | bool | |
inputFilePath | string | |
destinationStream | Stream | |
return | void |
public static CreateString ( EnterpriseWebLibrary.MailMerging.RowTree.MergeRow row, bool ensureAllFieldsHaveValues, string template ) : string | ||
row | EnterpriseWebLibrary.MailMerging.RowTree.MergeRow | |
ensureAllFieldsHaveValues | bool | |
template | string | |
return | string |
public static CreateTabularTextFile ( EnterpriseWebLibrary.MailMerging.RowTree.MergeRowTree rowTree, IEnumerable |
||
rowTree | EnterpriseWebLibrary.MailMerging.RowTree.MergeRowTree | |
fieldNames | IEnumerable |
|
destinationWriter | ||
useTabAsSeparator | bool | |
return | void |
public static CreateXmlDocument ( EnterpriseWebLibrary.MailMerging.RowTree.MergeRowTree rowTree, EnterpriseWebLibrary.MailMerging.MergeFieldNameTree fieldNameTree, Stream destinationStream ) : void | ||
rowTree | EnterpriseWebLibrary.MailMerging.RowTree.MergeRowTree | |
fieldNameTree | EnterpriseWebLibrary.MailMerging.MergeFieldNameTree | |
destinationStream | Stream | |
return | void |
public static GetExcelSupportedMergeFields ( EnterpriseWebLibrary.MailMerging.RowTree.MergeRowTree rowTree ) : IEnumerable |
||
rowTree | EnterpriseWebLibrary.MailMerging.RowTree.MergeRowTree | |
return | IEnumerable |
public static GetMergeFieldsInTemplateString ( string template ) : EnterpriseWebLibrary.MailMerging.MergeFieldNameTree | ||
template | string | |
return | EnterpriseWebLibrary.MailMerging.MergeFieldNameTree |
public static GetTabularTextSupportedMergeFields ( EnterpriseWebLibrary.MailMerging.RowTree.MergeRowTree rowTree ) : IEnumerable |
||
rowTree | EnterpriseWebLibrary.MailMerging.RowTree.MergeRowTree | |
return | IEnumerable |
public static GetXmlSupportedMergeFields ( EnterpriseWebLibrary.MailMerging.RowTree.MergeRowTree rowTree ) : EnterpriseWebLibrary.MailMerging.MergeFieldNameTree | ||
rowTree | EnterpriseWebLibrary.MailMerging.RowTree.MergeRowTree | |
return | EnterpriseWebLibrary.MailMerging.MergeFieldNameTree |