Property | Type | Description | |
---|---|---|---|
export_file_suffix | string | ||
export_type_pretty_name | string |
Method | Description | |
---|---|---|
ExportNotesInList ( List |
Exports the specified list of notes to *** files in the given folder, excludes template notes.
|
|
ExportSingleNote ( |
Exports a single Note to the chosen format and saves it in the specified folder. To be implemented in a subclass where the subclass implementation takes care of conversion and saving. The folder which the note is to be saved to. For an all notes export the top level folder is chosen by the user and sublevel folders are automatically created for each notebook and passed to this method.
|
|
Initialize ( ) : void |
Called when Tomboy has started up and is nearly 100% initialized.
|
|
ListUnfiledNotes ( ) : List |
Finds all notes without a notebook tag and returns them in a list.
|
|
ResolveRelativePath ( |
Determines the relative path between two exported files, can optionally be used by the subclass.
|
|
SanitizeNoteTitle ( string note_title ) : string |
Removes elements from the note title that might be problematic in a file name.
|
|
Shutdown ( ) : void |
Called just before Tomboy shuts down for good.
|
Method | Description | |
---|---|---|
ExportAllButtonClicked ( object sender, |
||
ExportAllNotesViaGUI ( ) : void |
Called when the user chooses "Export All" from the menu, allows user to select destination via GUI.
|
|
ExportNotebookButtonClicked ( object sender, |
Called when the user chooses "Export Notebook" (Even when "All Notes or "Unfiled Notes" are selected.)
|
|
ParseArgs ( object sender, |
An event handler that parses add-in commandline args looking for commands relating to this class and executes them.
|
|
SetNames ( ) : void |
Must be overridden in order to set names for internal menu use and file naming (export_file_suffix) and what the user sees (export_type_pretty_name).
|
Method | Description | |
---|---|---|
ExportAllNotes ( string output_folder ) : void |
Exports all notes to a given folder.
|
|
SanitizePath ( string path ) : string |
Makes sure a path doesn't have any illegal characters.
|
|
ShowErrorDialog ( string output_folder, |
Shows an error dialog if things go wrong.
|
|
ShowSuccessDialog ( string output_folder ) : void |
Shows a success dialog when export is complete
|
protected ExportAllButtonClicked ( object sender, |
||
sender | object | |
args | ||
return | void |
protected ExportNotebookButtonClicked ( object sender, |
||
sender | object | |
args | ||
return | void |
public ExportNotesInList ( List |
||
note_list | List |
|
output_folder | string | |
return | void |
public abstract ExportSingleNote ( |
||
note | ||
output_folder | string | |
return | void |
protected ParseArgs ( object sender, |
||
sender | object | |
e | ||
return | void |
public ResolveRelativePath ( |
||
note_from | ||
title_to | string | /// The title of the note we're finding the relative path to. /// |
return | string |
public static SanitizeNoteTitle ( string note_title ) : string | ||
note_title | string | |
return | string |