Josef Pospisil

Josef Pospisil

  • NA
  • 1
  • 1.7k

Use the OpenOffice.org editor in C#

Sep 8 2012 12:07 PM
Hello,
I have a SQLite database with a table named "documents" with three columns: id, title and text. Now, I load them in an object with the same structure (in int, title and text string) and I want to open the 'text' in OpenOffice.org editor, let the user edit it and after the editor closes update the database.

Everything is done (database select/update, object load/unload) exept the editor.

I had an idea: create an .odf temp file in a folder and load teh text content in it and after the editor closes read the content from it and delete it. But I don't know how to do it and if that process is right. How would you do it ?

Thanks for any answer and help.
Josef Pospisil

PS: I'm sorry for my english, but I'm not good in writing.