The application I’m developing is build around a user that can have text documents. These documents are stored into a SQLite database as blobs. The application is standalone and a requirement is an installation as simple as “Next-Next-Finish”.
I’m looking for how to allow the user to write rich text inside the application. The ideal solution would be to embed a text processor (such as Word or OpenOffice) inside my WPF application.
How did you resolve this kind of problem in your application?
The built-in RichTextBox responds to built-in “EditingCommands” commands, such as EditingCommands.ToggleBold, EditingCommands.ToggleItalic etc. so you could write your own. There’s a ton of docs out there for this approach. A couple examples are below:
Now, in my limited experience with the WPF richtextbox, this is more of a pain sometimes than it is worth. So really I think it would come down to your resources. If you have the development time, it might be worth it to code it up yourself. But, if you have money to spend and you need something stable quickly, I’d most definitely go with an existing 3rd party library.
one of the libraries that we use is Actipro, though I haven’t messed around too much with their Editors. They have a trial, so you could check it out.
Good luck!