Class for importing from several different note formats.
More...
|
| ImportNotes (Notes notes) |
| Initializes a new instance of the ImportNotes class. More...
|
|
void | ReadTextfile (StreamReader reader, RichTextBox rtbNewNote) |
| Import a textfile as note content for a new note. More...
|
|
void | ReadQuickpadFile (StreamReader reader, TextBox tbTitle, RichTextBox rtbNewNote) |
| Import a QuickPad note file. More...
|
|
void | ReadRTFfile (StreamReader reader, RichTextBox rtbNewNote) |
| Import a rtf file as note content for a new note. More...
|
|
void | ReadKeyNotefile (StreamReader reader, RichTextBox rtbNewNote) |
| Import a KeyNote note file as note content for a new note. More...
|
|
void | ReadTomboyfile (StreamReader reader, string tomboynotefile, TextBox tbTitle, RichTextBox rtbNewNote) |
| Import a Tomboy note file as note content for a new note. And set the new note title. More...
|
|
void | ReadMicroSENotefile (StreamReader reader, TextBox tbTitle, RichTextBox rtbNewNote) |
| Import a MicroSE note file as note content for a new note. More...
|
|
void | ReadNoteFlyBackupFile (string file) |
| Read a NoteFly backup file. More...
|
|
void | ReadStickiesCSVFile (string file) |
| Read a Stickies notes CSV file. More...
|
|
void | ReadPNotesBackupFile (string file) |
| Read a PNotes full backup file. More...
|
|
void | ReadCintaNotesXMLFile (string file) |
| Read CintaNotes xml file exported notes. More...
|
|
void | ReadDeskNotesXmlFile (string file) |
| Read a DeskNotes Data XML file. More...
|
|
void | ReadNoteFly1Note (string nf1notefile) |
| Read a note file from NoteFly 1.0.x and save as a current NoteFly note. More...
|
|
NoteFly.ImportNotes.ImportNotes |
( |
Notes |
notes | ) |
|
- Parameters
-
notes | Reference to notes class |
string NoteFly.ImportNotes.decode_title |
( |
string |
title_enc | ) |
|
|
private |
- Parameters
-
title_enc | Title encoded as UTF-32 |
- Returns
- Title string as UTF-16
void NoteFly.ImportNotes.ReadCintaNotesXMLFile |
( |
string |
file | ) |
|
- Parameters
-
file | The CintaNotes exported notes xml full file path. |
void NoteFly.ImportNotes.ReadDeskNotesXmlFile |
( |
string |
file | ) |
|
void NoteFly.ImportNotes.ReadKeyNotefile |
( |
StreamReader |
reader, |
|
|
RichTextBox |
rtbNewNote |
|
) |
| |
- Parameters
-
reader | The streamreader to read the KeyNote. |
rtbNewNote | Reference to the richtedittextbox that gets the imported note content. |
void NoteFly.ImportNotes.ReadMicroSENotefile |
( |
StreamReader |
reader, |
|
|
TextBox |
tbTitle, |
|
|
RichTextBox |
rtbNewNote |
|
) |
| |
- Parameters
-
reader | The streamreader to read the MicroSE note file with. |
tbTitle | The textbox to set title in. |
rtbNewNote | The richedittextbox to set content in. |
void NoteFly.ImportNotes.ReadNoteFly1Note |
( |
string |
nf1notefile | ) |
|
- Parameters
-
nf1notefile | THe filename of the NoteFly 1.0.x note to import. |
void NoteFly.ImportNotes.ReadNoteFlyBackupFile |
( |
string |
file | ) |
|
- Parameters
-
file | The full path and filename of the notefly backup file. |
void NoteFly.ImportNotes.ReadPNotesBackupFile |
( |
string |
file | ) |
|
void NoteFly.ImportNotes.ReadQuickpadFile |
( |
StreamReader |
reader, |
|
|
TextBox |
tbTitle, |
|
|
RichTextBox |
rtbNewNote |
|
) |
| |
- Parameters
-
reader | The StreamReader |
tbTitle | The textbox to set title in. |
rtbNewNote | The richteditextbox to set note content in. |
void NoteFly.ImportNotes.ReadRTFfile |
( |
StreamReader |
reader, |
|
|
RichTextBox |
rtbNewNote |
|
) |
| |
- Parameters
-
reader | Streamreader to read the note content. |
rtbNewNote | Reference to the richtedittextbox that gets the imported note content. |
void NoteFly.ImportNotes.ReadStickiesCSVFile |
( |
string |
file | ) |
|
- Parameters
-
file | The stickies CSV file. |
void NoteFly.ImportNotes.ReadTextfile |
( |
StreamReader |
reader, |
|
|
RichTextBox |
rtbNewNote |
|
) |
| |
- Parameters
-
reader | A streamreader to read the note content with |
rtbNewNote | Reference to the richtedittextbox that gets the imported note content. |
void NoteFly.ImportNotes.ReadTomboyfile |
( |
StreamReader |
reader, |
|
|
string |
tomboynotefile, |
|
|
TextBox |
tbTitle, |
|
|
RichTextBox |
rtbNewNote |
|
) |
| |
- Parameters
-
reader | The streamreader to read the Tomboy note with. |
tomboynotefile | The Tomboy note file full filepath and filename. |
tbTitle | The textbox to set the title in. |
rtbNewNote | The richedittextbox to set the content in. |
string NoteFly.ImportNotes.RemoveQuotes |
( |
string |
orgstring | ) |
|
|
private |
- Parameters
-
orgstring | The orginal string with quotes |
- Returns
- A string without quotes.
void NoteFly.ImportNotes.SetDefaultFontFamilyAndSize |
( |
RichTextBox |
rtbNewNote | ) |
|
|
private |
- Parameters
-
rtbNewNote | Reference to the richtedittextbox that gets the imported note content. |
const int NoteFly.ImportNotes.DEFAULTIMPORTNOTEHEIGHT = 200 |
|
private |
const int NoteFly.ImportNotes.DEFAULTIMPORTNOTEWIDTH = 240 |
|
private |
Notes NoteFly.ImportNotes.notes |
|
private |