logo

Class for exporting to several different note formats. More...

Public Member Functions

 ExportNotes (Notes notes)
 Initializes a new instance of the ExportNotes class. More...
 
bool WriteNoteFlyNotesBackupFile (string filenamepath)
 Write a file with all notes as backup. More...
 
void WriteStickiesCSVBackupfile (string filename)
 Write a stickies CSV backup file. More...
 
void WritePNotesBackupfile (string filename)
 Write a PNotes full backup file. Currently without working title, position, last change. More...
 

Private Member Functions

string Fillstrleadzeros (string str, int len)
 Add leadings zero to string till string is a fixed length More...
 
string EncodeTitle (string title)
 The create a title encoded. More...
 

Private Attributes

Notes notes
 Reference to notes class. More...
 

Detailed Description

Constructor & Destructor Documentation

NoteFly.ExportNotes.ExportNotes ( Notes  notes)
Parameters
notesReference to notes

Member Function Documentation

string NoteFly.ExportNotes.EncodeTitle ( string  title)
private
Parameters
titleThe title of the note encoded
Returns
The title encoded as hexdecimal
string NoteFly.ExportNotes.Fillstrleadzeros ( string  str,
int  len 
)
private
Parameters
strThe string to add leading zero's to
lenThe length
Returns
A string of with the given length
bool NoteFly.ExportNotes.WriteNoteFlyNotesBackupFile ( string  filenamepath)
Parameters
filenamepathThe filename and path of the notes backup
Returns
True if writing backup succeeded otherwise false.
void NoteFly.ExportNotes.WritePNotesBackupfile ( string  filename)
Parameters
filenameFilename of the file to write
void NoteFly.ExportNotes.WriteStickiesCSVBackupfile ( string  filename)
Parameters
filenameThe full path and filename to write the CSV formatted stickies compatible file format.

Member Data Documentation

Notes NoteFly.ExportNotes.notes
private