Implementing third party spell check on WPRichEdit

  • In my Delphi 2010 app, I am already implementing a third party spell check component (dxSpellChecker from Dev Express) in several areas and I would like to use this same component for spell checking a WPRichEdit control. The spell check component allows for checking/modifying a string: (var aText: AnsiString).

    Question: Is there a reasonable approach to spell checking a WPRichEdit, using this type of interface?

    What I'm hoping for is a way to be able to modify/update text in the WPRichEdit without losing any of the RTF props, formatting, margins, etc. I'm guessing I'll need to write some type of adapter/controller, but I'm not certain what properties/methods of WPRichEdit I can use to accomplish this.

    Thanks for any help :)