C# Class Docear4Word.MainController

Show file Open project: JabRef/JabRef4Word Class Usage Examples

Public Methods

Method Description
DoAddReference ( ) : void
DoEditReference ( ) : void
DoInsertBibliography ( ) : void
DoInsertTestData ( ) : void
DoMoveNext ( ) : void
DoMovePrevious ( ) : void
DoRefresh ( ) : void
DoShowAboutDialog ( ) : void
DoShowSettingsDialog ( ) : void
FindStyleByTitle ( string title ) : Docear4Word.StyleInfo
MainController ( AddinModule addinModule ) : System
OnDocumentBeforeClose ( ) : void
OnDocumentBeforeSave ( ) : void
OnDocumentChange ( ) : void

This gets called for all changes, so we can do all updates here

OnDocumentOpen ( ) : void
OnNewDocument ( ) : void
OnStartup ( ) : void
OnWindowActive ( ) : void
OnWindowSelectionChange ( ) : void
TryChangeStyle ( Docear4Word.StyleInfo newStyle ) : void

Called when user changes style from dropdown list.

Private Methods

Method Description
EnsureDocearFoldersExists ( ) : void
GetActiveDocument ( ) : System.Windows.Forms.Document
GetControllerForDocument ( System.Windows.Forms.Document document ) : DocumentController
IsValidStyle ( Docear4Word.StyleInfo style ) : bool
ShowNoDatabaseMessage ( ) : void
UpdateCurrentDocumentController ( ) : void

Method Details

DoAddReference() public method

public DoAddReference ( ) : void
return void

DoEditReference() public method

public DoEditReference ( ) : void
return void

DoInsertBibliography() public method

public DoInsertBibliography ( ) : void
return void

DoInsertTestData() public method

public DoInsertTestData ( ) : void
return void

DoMoveNext() public method

public DoMoveNext ( ) : void
return void

DoMovePrevious() public method

public DoMovePrevious ( ) : void
return void

DoRefresh() public method

public DoRefresh ( ) : void
return void

DoShowAboutDialog() public method

public DoShowAboutDialog ( ) : void
return void

DoShowSettingsDialog() public method

public DoShowSettingsDialog ( ) : void
return void

FindStyleByTitle() public method

public FindStyleByTitle ( string title ) : Docear4Word.StyleInfo
title string
return Docear4Word.StyleInfo

MainController() public method

public MainController ( AddinModule addinModule ) : System
addinModule AddinModule
return System

OnDocumentBeforeClose() public method

public OnDocumentBeforeClose ( ) : void
return void

OnDocumentBeforeSave() public method

public OnDocumentBeforeSave ( ) : void
return void

OnDocumentChange() public method

This gets called for all changes, so we can do all updates here
public OnDocumentChange ( ) : void
return void

OnDocumentOpen() public method

public OnDocumentOpen ( ) : void
return void

OnNewDocument() public method

public OnNewDocument ( ) : void
return void

OnStartup() public method

public OnStartup ( ) : void
return void

OnWindowActive() public method

public OnWindowActive ( ) : void
return void

OnWindowSelectionChange() public method

public OnWindowSelectionChange ( ) : void
return void

TryChangeStyle() public method

Called when user changes style from dropdown list.
public TryChangeStyle ( Docear4Word.StyleInfo newStyle ) : void
newStyle Docear4Word.StyleInfo
return void