C++ wrapper for Hunspell DLL and an API for edit control
$250-750 USD
Adjudicado
Publicado hace alrededor de 8 años
$250-750 USD
Pagado a la entrega
I need two C++Builder units to integrate Hunspell spell checking and dictionaries with the API of a text editor.
UNIT # 1: WRAPPER FOR [login to view URL]
Create a C++ wrapper for [login to view URL], the spell checker.
Please see the attached Spell_Hunspell.zip. The zip file includes a Delphi example of a wrapper for hunspell.dll. Include the Delphi example's routines rewritten in C++.
The zip file includes a demo application that uses the Delphi wrapper. The [login to view URL] is outdated. The C++ wrapper should use the latest release of the [login to view URL] from sourceforge.
UNIT # 2: API FOR USING THE HUNSPELL WRAPPER TO SPELL CHECK A TEXT EDITOR
Using the C++ wrapper for [login to view URL], create an API for spell checking a document in the TE Edit Control (WIN32) from [login to view URL]
The API needs to include all the usual spell-checking functions, including, but not necessarily limited to:
Auto-check the document in idle time, putting a wavy line under misspelled words
Check the entire document by menu or button click
Get a list of suggested corrections for a misspelled, highlighted word
Replace a misspelled word with a suggested word
Replace all
Ignore
Ignore all
Add word to user dictionary
The API needs to use TE Edit Control's API for its DLL, ter21.dll. (Do NOT use its ActiveX.)
The TE Edit Control's API has routines that are helpful for making a wavy underlining, moving to the next word in memory, etc..
Test and demonstrate the API with a TE Edit Control on a C++Builder 2007 or XE3 C++Builder form. (C++Builder XE3 trials are available.)
All code must compile in C++Builder (2007 or XE3), 32-bit, but it does not have to be in the C++Builder dialect.
DELIVERABLES
C++ unit as a wrapper for hunspell.dll.
C++ unit as an API for spell checking a TE Edit Control, using the wrapper.
C++Builder demo of spell checking a TE Edit Control, using the wrapper.
ATTACHED FILES
[login to view URL] : An example, a Delphi wrapper for [login to view URL]
[login to view URL] : Demo files and trial DLL for TE Edit Control v. 21