Spell check an entire document

  • Using WPTools 6.08, Delphi 6, and Addict 3.5

    Spell checking is working reasonably well (except for my other posted problem about skipping merge fields). However, I cannot see how to make spellcheck scan my entire document.

    If my document does NOT have headers or footers, everything is okay and the entire document is scanned. But if I have headers or footers, it seems the spell checking only operates on either the headers, the body, or the footers. Is there a way to make it cover all three together?

    • Offizieller Beitrag

    Hi,

    I don't think Addict has this built in (WPSpell has forgotten about this, too).

    Actually required would be

    Code
    for i:=0 to WPRichText1.HeaderFooter.Count-1 do 
    begin
      WPRichText1.ActiveText := WPRichText1.HeaderFooter[i];
      SpellcheckActiveText // however this is called ...
    end;

    Unfortunately this could create a dialog for each layer which was checked.

    Julian

  • Yes. As it turns out a new dialog was created for each layer. It wouldn't have been too bad except that Addict displays a "Spell check has been completed" message following each scan - so this dialog appeared multiple times as well.

    I suppose my next step is to contact Michael Novak to see if there is a way to suppress that message...