|
SpellEditor Layout
SpellEditor is a powerful tool that adds complete word processing functionality to your applications.
SpellEditor is made up of ( from top to bottom):
- Two configurable and extensible toolbars, the first called the Toolbar, the second called the Fontbar.
- A ruler which allows easy setting of margins
- A main editing area, which fully supports keyboard shortcuts, drag and drop, and all other expected functions
- A configurable status bar
Configurable Toolbars
The toolbar, fontbar, ruler and status bar are important parts of the SpellEditor control, and we give you
the power to set them up the way you want. Each of these elements can be individually hidden or displayed,
and the Toolbar and Fontbar can be configured to contain exactly the buttons you want, arranged the way you want.
You can even add your own custom tool buttons to the Toolbar and Fontbar, with your own bitmap, tooltip, and unique identifier.
HTML Import and Export
HTML is a popular document format, and SpellEditor gives you easy HTML import and export abilities. Since HTML and RTF (SpellEditor's native
document format) are not completely compatible, we even include a sample program that allows you to convert HTML into RTF or RTF into HTML, and
compare the different results and underlying source code:
Passive Spell Checking
Notice how spell checking is done as you type - we refer to this as Passive Spell Checking.
Pop-up menus add to the Passive Checking functionality:
Dialog-based Spell Checking
If you don't want to use Passive Checking, you can also have SpellEditor check the spelling with a dialog-based approach:
Event-driven Spell Checking
If you really need total control, you can have SpellEditor raise an event for each misspelling:
There is also an event that fires when spell checking is complete.
Print Preview and Page Setup Dialogs
One of the desired features of any word processor is Print Preview. In the past, writing your own Print Preview function
has been very difficult, but with SpellEditor, simply call the .ShowPrintPreview method, and everything is handled for you:
Along with Print Preview, SpellEditor also offers a built-in method for setting page margins, as well as headers and footers (including unique headers
and footers for the first page, if you wish). Call .ShowPageSetup to display this dialog:
AutoType
AutoType gives you the ability to set up predefined key phrases - short strings that, when typed, are automatically replaced
with a longer string, which can be either plain text or Rich Text. This is very useful for commonly entered phrases like a signature, product names, and the like.
Notice how we've set up a key phrase here. When the user finishes typing "cspe", it will automatically be replaced with the Rich Text
string "Chado SpellEditor".
As soon as the "e" in "cspe" is typed, the key phrase is immediately replaced, and the user can continue to type:

Both the key phrases and the replacement strings are completely configurable, and you can set up as many AutoType pairs
as you wish.
Functionality Tester Application
Included with SpellEditor is an application called the Functionality Tester. This application allows you to test
all of the properties, methods, and events of the control, without writing a single line of code.
|