When data is exported to Microsoft® Word®, the resulting file is based on the user interactions with the DataPresenter controls that have taken place before exporting. For example, if the user sorts a field, the exporter will export the records using the current sort order of that field. However, you can control what is exported and how it is exported by configuring the Exclude… properties (all Boolean) in the DataPresenterWordWriter object.
Table 1 explains the available Exclude… properties and their impact on the export process:
Table 1: Properties for managing the export
Property |
Description |
|
Controls whether the expanded state of the source record will be copied to the records being exported. When True, the IsExpanded state of the records is initialized to True.
|
|
|
|
Controls whether to copy the FieldSettings from the control being exported.
|
|
Controls whether to copy the GroupBy state of the fields from the control being exported.
|
|
Controls whether to copy the RecordFilter state of the fields from the control being exported.
|
|
Controls whether to copy the Visibility setting of the record from the control being exported.
|
|
Controls whether to copy the sorted fields from the control being exported.
|
|
Controls whether to copy the summaries of the FieldLayouts from the control being exported.
|