C# Class Smrf.NodeXL.ExcelTemplate.TaskAutomator

Runs multiple tasks on one workbook or a folder full of workbooks.
Call AutomateOneWorkbook or to run a specified set of tasks on one NodeXL workbook, or AutomateFolder to run them on every unopened NodeXL workbook in a folder.

All methods are static.

Inheritance: Object
Afficher le fichier Open project: 2014-sed-team3/term-project Class Usage Examples

Méthodes publiques

Méthode Description
AutomateFolder ( String folderToAutomate, String workbookSettings ) : void
AutomateOneWorkbook ( ThisWorkbook thisWorkbook, NodeXLControl nodeXLControl, AutomationTasks tasksToRun, String folderToSaveWorkbookTo ) : void
AutomateOneWorkbookIndirect ( String nodeXLWorkbookFilePath, String workbookSettings ) : void
OpenWorkbookToAutomate ( String workbookPath, Int32 timeoutSeconds ) : System.Boolean

Private Methods

Méthode Description
CheckTasksToRunArgument ( AutomationTasks &eTasksToRun ) : void
EnableLayoutTypeIsNullNotifications ( System.Boolean bNewValue ) : System.Boolean
ExportToEmailUserSettingsAreComplete ( ExportToEmailUserSettings oExportToEmailUserSettings, String sSmtpPassword ) : System.Boolean
GetGraphGalleryAuthorAndPassword ( ExportToNodeXLGraphGalleryUserSettings oExportToNodeXLGraphGalleryUserSettings, String &sAuthor, String &sPassword ) : void
RunEditableCommand ( RunEditableCommandEventArgs oRunEditableCommandEventArgs, ThisWorkbook oThisWorkbook ) : System.Boolean
RunReadWorkbookTasks ( ThisWorkbook oThisWorkbook, NodeXLControl oNodeXLControl, AutomationTasks eTasksToRun, String sFolderToSaveWorkbookTo ) : void
SaveGraphImageFile ( NodeXLControl oNodeXLControl, IEnumerable oLegendControls, String sWorkbookFilePath ) : void
ShouldRunTask ( AutomationTasks eTasksToRun, AutomationTasks eTaskToTest ) : System.Boolean
TryAutoFillWorkbook ( ThisWorkbook oThisWorkbook ) : System.Boolean
TryCalculateClusters ( ThisWorkbook oThisWorkbook ) : System.Boolean
TryCalculateGraphMetrics ( Microsoft oWorkbook ) : System.Boolean
TryCreateSubgraphImages ( ThisWorkbook oThisWorkbook ) : System.Boolean
TryExportToEmail ( Microsoft oWorkbook, NodeXLControl oNodeXLControl ) : System.Boolean
TryExportToNodeXLGraphGallery ( Microsoft oWorkbook, NodeXLControl oNodeXLControl ) : System.Boolean
TryMergeDuplicateEdges ( ThisWorkbook oThisWorkbook ) : System.Boolean
TrySaveWorkbookIfNeverSaved ( Microsoft oWorkbook, String sFolderToSaveWorkbookTo ) : System.Boolean

Method Details

AutomateFolder() public static méthode

public static AutomateFolder ( String folderToAutomate, String workbookSettings ) : void
folderToAutomate String
workbookSettings String
Résultat void

AutomateOneWorkbook() public static méthode

public static AutomateOneWorkbook ( ThisWorkbook thisWorkbook, NodeXLControl nodeXLControl, AutomationTasks tasksToRun, String folderToSaveWorkbookTo ) : void
thisWorkbook ThisWorkbook
nodeXLControl Smrf.NodeXL.Visualization.Wpf.NodeXLControl
tasksToRun AutomationTasks
folderToSaveWorkbookTo String
Résultat void

AutomateOneWorkbookIndirect() public static méthode

public static AutomateOneWorkbookIndirect ( String nodeXLWorkbookFilePath, String workbookSettings ) : void
nodeXLWorkbookFilePath String
workbookSettings String
Résultat void

OpenWorkbookToAutomate() public static méthode

public static OpenWorkbookToAutomate ( String workbookPath, Int32 timeoutSeconds ) : System.Boolean
workbookPath String
timeoutSeconds System.Int32
Résultat System.Boolean