Method | Description | |
---|---|---|
Create ( string contentType, EnterpriseWebLibrary.EnterpriseWebFramework.EwfResponseBodyCreator bodyCreator, Func |
Creates a response.
|
|
CreateExcelWorkbookResponse ( Func |
Creates an Excel workbook response. Automatically converts the specified file name to a safe file name.
|
|
CreateMergedCsvResponse ( Func |
Creates a response containing a comma-separated values (CSV) file created from the top level of a row tree. There will be one column for each merge field specified in the list of field names.
|
|
CreateMergedExcelWorkbookResponse ( Func |
Creates a response containing a single-sheet Excel workbook created from the top level of a row tree. 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.
|
|
CreateMergedMsWordDocResponse ( Func |
Creates a response by merging 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.
|
|
CreateMergedMsWordDocResponse ( Func |
Creates a response by merging 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.
|
|
EwfResponse ( FullResponse fullResponse ) : System |
EWF use only.
|
Method | Description | |
---|---|---|
CreateFullResponse ( ) : FullResponse | ||
EwfResponse ( string contentType, Func |
public static Create ( string contentType, EnterpriseWebLibrary.EnterpriseWebFramework.EwfResponseBodyCreator bodyCreator, Func |
||
contentType | string | The media type of the response. We recommend that you always specify this, but pass the empty string if you don't have it. Do /// not pass null. |
bodyCreator | EnterpriseWebLibrary.EnterpriseWebFramework.EwfResponseBodyCreator | The response body creator. |
fileNameCreator | Func |
A function that creates the file name for saving the response. If you return a nonempty string, the response will be /// processed as an attachment with the specified file name. Do not return null from the function. |
return |
public static CreateExcelWorkbookResponse ( Func |
||
extensionlessFileNameCreator | Func |
|
workbookCreator | Func |
|
return |
public static CreateMergedCsvResponse ( Func |
||
extensionlessFileNameCreator | Func |
|
rowTree | EnterpriseWebLibrary.MailMerging.RowTree.MergeRowTree | |
fieldNames | IEnumerable |
|
return |
public static CreateMergedExcelWorkbookResponse ( Func |
||
extensionlessFileNameCreator | Func |
|
rowTree | EnterpriseWebLibrary.MailMerging.RowTree.MergeRowTree | |
fieldNames | IEnumerable |
|
useMsWordFieldNames | bool | |
return |
public static CreateMergedMsWordDocResponse ( Func |
||
extensionlessFileNameCreator | Func |
|
rowTree | EnterpriseWebLibrary.MailMerging.RowTree.MergeRowTree | |
ensureAllFieldsHaveValues | bool | |
inputStreamProvider | Action |
|
return |
public static CreateMergedMsWordDocResponse ( Func |
||
extensionlessFileNameCreator | Func |
|
rowTree | EnterpriseWebLibrary.MailMerging.RowTree.MergeRowTree | |
ensureAllFieldsHaveValues | bool | |
inputFilePath | string | |
return |
public EwfResponse ( FullResponse fullResponse ) : System | ||
fullResponse | FullResponse | |
return | System |