Daniel's XL Toolbox NG
|
Abstract base class for the SingleExportSettingsViewModel and BatchExportSettingsViewModel classes. More...
Public Member Functions | |
SettingsViewModelBase (Bovender.Mvvm.Models.ProcessModel exporter) | |
override object | RevealModelObject () |
Protected Member Functions | |
abstract void | DoExport () |
Called when the ExportCommand is executed, triggers the export process. More... | |
abstract bool | CanExport () |
string | LoadExportPath () |
Returns the default path for export; this is either the path that was previously used to export from the current workbook, or the last used path, or the path of the current workbook, or the path for 'My Documents'. More... | |
virtual void | SaveExportPath () |
Saves the current export path for reuse. More... | |
virtual void | DoEditPresets () |
Properties | |
PresetViewModel | SelectedPreset [get, set] |
PresetsRepositoryViewModel | PresetViewModels [get] |
string | FileName [get, set] |
Settings | Settings [get, set] |
DelegatingCommand | EditPresetsCommand [get] |
DelegatingCommand | ExportCommand [get] |
Message< ViewModelMessageContent > | EditPresetsMessage [get] |
static NLog.Logger | Logger [get] |
Abstract base class for the SingleExportSettingsViewModel and BatchExportSettingsViewModel classes.
Rather than exposing a single PresetViewModel to subscribers, this view model has a PresetsRepository property so that subscribed views can select a preset from a preset repository. The last selected preset will be relayed to the wrapped Settings object.
|
inline |
|
protectedpure virtual |
|
inlineprotectedvirtual |
Reimplemented in XLToolbox.Export.ViewModels.SingleExportSettingsViewModel.
|
protectedpure virtual |
Called when the ExportCommand is executed, triggers the export process.
Implemented in XLToolbox.Export.ViewModels.BatchExportSettingsViewModel, and XLToolbox.Export.ViewModels.SingleExportSettingsViewModel.
|
inlineprotected |
Returns the default path for export; this is either the path that was previously used to export from the current workbook, or the last used path, or the path of the current workbook, or the path for 'My Documents'.
|
inline |
|
inlineprotectedvirtual |
Saves the current export path for reuse.
Reimplemented in XLToolbox.Export.ViewModels.SingleExportSettingsViewModel.
|
get |
|
get |
|
get |
|
getset |
|
staticgetprotected |
|
get |
|
getset |
|
getsetprotected |