home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 9 / CDACTUAL9.iso / progs / CB / DATA.Z / VCSPELL.HPP < prev    next >
Encoding:
C/C++ Source or Header  |  1996-11-06  |  32.9 KB  |  629 lines

  1. //----------------------------------------------------------------------------
  2. // VCSpell.hpp - dcc32 generated hdr (DO NOT EDIT) rev: -2
  3. // From: VCSpell.pas
  4. //----------------------------------------------------------------------------
  5. #ifndef VCSpellHPP
  6. #define VCSpellHPP
  7. //----------------------------------------------------------------------------
  8. #ifndef ControlsHPP
  9. #include <Controls.hpp>
  10. #endif
  11.  
  12. #ifndef OleCtrlsHPP
  13. #include <OleCtrls.hpp>
  14. #endif
  15.  
  16. #ifndef GraphicsHPP
  17. #include <Graphics.hpp>
  18. #endif
  19.  
  20. #ifndef ClassesHPP
  21. #include <Classes.hpp>
  22. #endif
  23.  
  24. #ifndef OleCtlHPP
  25. #include <OleCtl.hpp>
  26. #endif
  27.  
  28. #ifndef OLE2HPP
  29. #include <OLE2.hpp>
  30. #endif
  31.  
  32. #ifndef SystemHPP
  33. #include <System.hpp>
  34. #endif
  35.  
  36. namespace Vcspell
  37. {
  38. //-- type declarations -------------------------------------------------------
  39. typedef void __fastcall (__closure *TVCSpellerMisspelled)(System::TObject *Sender, System::Smallint 
  40.     &EventAction);
  41.  
  42. typedef void __fastcall (__closure *TVCSpellerComplete)(System::TObject *Sender, System::Smallint &EventAction
  43.     );
  44.  
  45. typedef void __fastcall (__closure *TVCSpellerFound)(System::TObject *Sender, System::Smallint &EventAction
  46.     );
  47.  
  48. typedef void __fastcall (__closure *TVCSpellerBeforeReplace)(System::TObject *Sender, System::Smallint 
  49.     &EventAction);
  50.  
  51. typedef void __fastcall (__closure *TVCSpellerAfterReplace)(System::TObject *Sender, System::Smallint 
  52.     &EventAction);
  53.  
  54. typedef void __fastcall (__closure *TVCSpellerAfterPopup)(System::TObject *Sender, System::Smallint 
  55.     &EventAction);
  56.  
  57. typedef void __fastcall (__closure *TVCSpellerCheckStatus)(System::TObject *Sender, System::Smallint 
  58.     &EventAction);
  59.  
  60. typedef void __fastcall (__closure *TVCSpellerCheckError)(System::TObject *Sender, System::Smallint 
  61.     &EventAction);
  62.  
  63. typedef void __fastcall (__closure *TVCSpellerClickIn)(System::TObject *Sender, System::Smallint &EventAction
  64.     );
  65.  
  66. typedef void __fastcall (__closure *TVCSpellerClickOut)(System::TObject *Sender, System::Smallint &EventAction
  67.     );
  68.  
  69. class __declspec(delphiclass) TVCSpeller;
  70. class __declspec(pascalimplementation) TVCSpeller : public Olectrls::TOleControl
  71. {
  72.     typedef TVCSpeller ThisClass;
  73.     typedef Olectrls::TOleControl inherited;
  74.     
  75. private:
  76.     TVCSpellerMisspelled FOnMisspelled;
  77.     TVCSpellerComplete FOnComplete;
  78.     TVCSpellerFound FOnFound;
  79.     TVCSpellerBeforeReplace FOnBeforeReplace;
  80.     TVCSpellerAfterReplace FOnAfterReplace;
  81.     TVCSpellerAfterPopup FOnAfterPopup;
  82.     TVCSpellerCheckStatus FOnCheckStatus;
  83.     TVCSpellerCheckError FOnCheckError;
  84.     TVCSpellerClickIn FOnClickIn;
  85.     TVCSpellerClickOut FOnClickOut;
  86.     void __stdcall Set_OpenStandard(System::WordBool loadit, const System::AnsiString Value);
  87.     System::Smallint __stdcall Get_DictionaryLanguage(System::Smallint index);
  88.     System::AnsiString __stdcall Get_DictionaryName(System::Smallint index);
  89.     System::Smallint __stdcall Get_DictionaryStatus(System::Smallint index);
  90.     System::WordBool __stdcall Get_DictionaryIsEnabled(System::Smallint index);
  91.     System::AnsiString __stdcall Get_DictionaryNameFull(System::Smallint index);
  92.     System::WordBool __stdcall Get_StandardIRListIsEnabled(System::Smallint index);
  93.     System::WordBool __stdcall Get_DictionaryIsLoaded(System::Smallint index);
  94.     System::Smallint __stdcall Get_DictionaryPerformance(System::Smallint index);
  95.     void __stdcall Set_DictionaryPerformance(System::Smallint index, System::Smallint Value);
  96.     System::AnsiString __stdcall Get_Suggestion(System::Smallint index);
  97.     System::WordBool __stdcall Get_CustomIsUpdateable(System::Smallint index);
  98.     void __stdcall Set_AddToStandardIRList(System::Smallint index, System::Smallint Value);
  99.     void __stdcall Set_AddSuggestion(System::Smallint matchcode, const System::AnsiString Value);
  100.     void __stdcall Set_AddToCustom(System::Smallint index, System::Smallint Value);
  101.     void __stdcall Set_ClearStandardIRList(System::Smallint index, System::Smallint Value);
  102.     void __stdcall Set_CloseDictionary(System::Smallint index, System::Smallint Value);
  103.     void __stdcall Set_GetEntry(System::Smallint index, System::Integer Value);
  104.     void __stdcall Set_RemoveFromStandardIRList(System::Smallint index, const System::AnsiString Value)
  105.         ;
  106.     System::Smallint __stdcall Get_DictionaryPerformanceActual(System::Smallint index);
  107.     System::Smallint __stdcall Get_DictionaryBlockCount(System::Smallint index);
  108.     System::Smallint __stdcall Get_DictionaryBlockSize(System::Smallint index);
  109.     System::Smallint __stdcall Get_DictionaryCommonCount(System::Smallint index);
  110.     System::Smallint __stdcall Get_DictionaryCompatibilityBits(System::Smallint index);
  111.     System::AnsiString __stdcall Get_DictionaryCopyright(System::Smallint index);
  112.     System::AnsiString __stdcall Get_DictionaryCopyrightDerived(System::Smallint index);
  113.     System::Smallint __stdcall Get_DictionaryFlags(System::Smallint index);
  114.     System::Smallint __stdcall Get_DictionaryLoadCount(System::Smallint index);
  115.     System::Smallint __stdcall Get_DictionaryMakerVersion(System::Smallint index);
  116.     System::Smallint __stdcall Get_DictionaryOpenCount(System::Smallint index);
  117.     System::Smallint __stdcall Get_DictionarySymbolSetSize(System::Smallint index);
  118.     System::Integer __stdcall Get_DictionaryWordCount(System::Smallint index);
  119.     void __stdcall Set_CreateCustomExtended(System::Smallint index, const System::AnsiString Value);
  120.     void __stdcall Set_EnableDictionary(System::Smallint index, System::WordBool Value);
  121.     void __stdcall Set_EnableCustomUpdate(System::Smallint index, System::WordBool Value);
  122.     void __stdcall Set_LoadDictionary(System::Smallint index, System::Smallint Value);
  123.     void __stdcall Set_UnloadDictionary(System::Smallint index, System::Smallint Value);
  124.     System::WordBool __stdcall Get_CustomIsReadOnly(System::Smallint index);
  125.     System::WordBool __stdcall Get_CustomIsExtended(System::Smallint index);
  126.     void __stdcall Set_EnableStandardIRList(System::Smallint index, System::WordBool Value);
  127.     void __stdcall Set_OpenCustom(System::WordBool loadit, const System::AnsiString Value);
  128.     
  129. protected:
  130.     virtual void __fastcall InitControlData(void);
  131.     
  132. public:
  133.     void __stdcall AboutBox(void);
  134.     __property System::AnsiString OpenStandard[System::WordBool loadit] = {write=Set_OpenStandard};
  135.     __property System::Smallint DictionaryLanguage[System::Smallint index] = {read=Get_DictionaryLanguage
  136.         };
  137.     __property System::AnsiString DictionaryName[System::Smallint index] = {read=Get_DictionaryName};
  138.     __property System::Smallint DictionaryStatus[System::Smallint index] = {read=Get_DictionaryStatus};
  139.         
  140.     __property System::WordBool DictionaryIsEnabled[System::Smallint index] = {read=Get_DictionaryIsEnabled
  141.         };
  142.     __property System::AnsiString DictionaryNameFull[System::Smallint index] = {read=Get_DictionaryNameFull
  143.         };
  144.     __property System::WordBool StandardIRListIsEnabled[System::Smallint index] = {read=Get_StandardIRListIsEnabled
  145.         };
  146.     __property System::WordBool DictionaryIsLoaded[System::Smallint index] = {read=Get_DictionaryIsLoaded
  147.         };
  148.     __property System::Smallint DictionaryPerformance[System::Smallint index] = {read=Get_DictionaryPerformance
  149.         , write=Set_DictionaryPerformance};
  150.     __property System::AnsiString Suggestion[System::Smallint index] = {read=Get_Suggestion};
  151.     __property System::WordBool CustomIsUpdateable[System::Smallint index] = {read=Get_CustomIsUpdateable
  152.         };
  153.     __property System::Smallint AddToStandardIRList[System::Smallint index] = {write=Set_AddToStandardIRList
  154.         };
  155.     __property System::AnsiString AddSuggestion[System::Smallint matchcode] = {write=Set_AddSuggestion}
  156.         ;
  157.     __property System::Smallint AddToCustom[System::Smallint index] = {write=Set_AddToCustom};
  158.     __property System::Smallint ClearStandardIRList[System::Smallint index] = {write=Set_ClearStandardIRList
  159.         };
  160.     __property System::Smallint CloseDictionary[System::Smallint index] = {write=Set_CloseDictionary};
  161.     __property System::Integer GetEntry[System::Smallint index] = {write=Set_GetEntry};
  162.     __property System::AnsiString RemoveFromStandardIRList[System::Smallint index] = {write=Set_RemoveFromStandardIRList
  163.         };
  164.     __property System::Smallint DictionaryPerformanceActual[System::Smallint index] = {read=Get_DictionaryPerformanceActual
  165.         };
  166.     __property System::Smallint DictionaryBlockCount[System::Smallint index] = {read=Get_DictionaryBlockCount
  167.         };
  168.     __property System::Smallint DictionaryBlockSize[System::Smallint index] = {read=Get_DictionaryBlockSize
  169.         };
  170.     __property System::Smallint DictionaryCommonCount[System::Smallint index] = {read=Get_DictionaryCommonCount
  171.         };
  172.     __property System::Smallint DictionaryCompatibilityBits[System::Smallint index] = {read=Get_DictionaryCompatibilityBits
  173.         };
  174.     __property System::AnsiString DictionaryCopyright[System::Smallint index] = {read=Get_DictionaryCopyright
  175.         };
  176.     __property System::AnsiString DictionaryCopyrightDerived[System::Smallint index] = {read=Get_DictionaryCopyrightDerived
  177.         };
  178.     __property System::Smallint DictionaryFlags[System::Smallint index] = {read=Get_DictionaryFlags};
  179.     __property System::Smallint DictionaryLoadCount[System::Smallint index] = {read=Get_DictionaryLoadCount
  180.         };
  181.     __property System::Smallint DictionaryMakerVersion[System::Smallint index] = {read=Get_DictionaryMakerVersion
  182.         };
  183.     __property System::Smallint DictionaryOpenCount[System::Smallint index] = {read=Get_DictionaryOpenCount
  184.         };
  185.     __property System::Smallint DictionarySymbolSetSize[System::Smallint index] = {read=Get_DictionarySymbolSetSize
  186.         };
  187.     __property System::Integer DictionaryWordCount[System::Smallint index] = {read=Get_DictionaryWordCount
  188.         };
  189.     __property System::AnsiString CreateCustomExtended[System::Smallint index] = {write=Set_CreateCustomExtended
  190.         };
  191.     __property System::WordBool EnableDictionary[System::Smallint index] = {write=Set_EnableDictionary}
  192.         ;
  193.     __property System::WordBool EnableCustomUpdate[System::Smallint index] = {write=Set_EnableCustomUpdate
  194.         };
  195.     __property System::Smallint LoadDictionary[System::Smallint index] = {write=Set_LoadDictionary};
  196.     __property System::Smallint UnloadDictionary[System::Smallint index] = {write=Set_UnloadDictionary}
  197.         ;
  198.     __property System::WordBool CustomIsReadOnly[System::Smallint index] = {read=Get_CustomIsReadOnly};
  199.         
  200.     __property System::WordBool CustomIsExtended[System::Smallint index] = {read=Get_CustomIsExtended};
  201.         
  202.     __property System::WordBool EnableStandardIRList[System::Smallint index] = {write=Set_EnableStandardIRList
  203.         };
  204.     __property System::AnsiString OpenCustom[System::WordBool loadit] = {write=Set_OpenCustom};
  205.     
  206. __published:
  207.     __property System::WordBool AutoPopup = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=4
  208.         , nodefault};
  209.     __property System::WordBool AutoReplace = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, 
  210.         index=5, nodefault};
  211.     __property System::WordBool AutoSuggest = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, 
  212.         index=6, nodefault};
  213.     __property System::Smallint BreakWordCount = {read=GetSmallintProp, write=SetSmallintProp, stored=false
  214.         , index=7, nodefault};
  215.     __property System::Smallint CacheSize = {read=GetSmallintProp, write=SetSmallintProp, stored=false, 
  216.         index=8, nodefault};
  217.     __property System::Smallint ErrorOffset = {read=GetSmallintProp, write=SetSmallintProp, stored=false
  218.         , index=1, nodefault};
  219.     __property System::WordBool IgnoreFullCaps = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false
  220.         , index=9, nodefault};
  221.     __property System::WordBool IgnorePartialNumbers = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false
  222.         , index=10, nodefault};
  223.     __property System::Smallint MaxSuggestions = {read=GetSmallintProp, write=SetSmallintProp, stored=false
  224.         , index=11, nodefault};
  225.     __property System::WordBool MultiLine = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=12
  226.         , nodefault};
  227.     __property System::Smallint SuggestionsLimit = {read=GetSmallintProp, write=SetSmallintProp, stored=false
  228.         , index=13, nodefault};
  229.     __property System::AnsiString Version = {read=GetStringProp, write=SetStringProp, stored=false, index=14
  230.         , nodefault};
  231.     __property System::Integer CurrentLine = {read=GetIntegerProp, write=SetIntegerProp, stored=false, 
  232.         index=15, nodefault};
  233.     __property System::Smallint CustomCount = {read=GetSmallintProp, write=SetSmallintProp, stored=false
  234.         , index=16, nodefault};
  235.     __property System::Integer DLLHandle = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=17
  236.         , nodefault};
  237.     __property System::Smallint EventOptions = {read=GetSmallintProp, write=SetSmallintProp, stored=false
  238.         , index=18, nodefault};
  239.     __property System::AnsiString Hyphenation = {read=GetStringProp, write=SetStringProp, stored=false, 
  240.         index=19, nodefault};
  241.     __property System::Smallint IRAction = {read=GetSmallintProp, write=SetSmallintProp, stored=false, 
  242.         index=20, nodefault};
  243.     __property System::Smallint IRWhereFound = {read=GetSmallintProp, write=SetSmallintProp, stored=false
  244.         , index=21, nodefault};
  245.     __property System::AnsiString LineBreak = {read=GetStringProp, write=SetStringProp, stored=false, index=22
  246.         , nodefault};
  247.     __property System::Smallint LineOffset = {read=GetSmallintProp, write=SetSmallintProp, stored=false
  248.         , index=23, nodefault};
  249.     __property System::AnsiString MisspelledWord = {read=GetStringProp, write=SetStringProp, stored=false
  250.         , index=24, nodefault};
  251.     __property System::Integer ReplaceCount = {read=GetIntegerProp, write=SetIntegerProp, stored=false, 
  252.         index=25, nodefault};
  253.     __property System::AnsiString ReplacementWord = {read=GetStringProp, write=SetStringProp, stored=false
  254.         , index=26, nodefault};
  255.     __property System::Smallint ResultCode = {read=GetSmallintProp, write=SetSmallintProp, stored=false
  256.         , index=27, nodefault};
  257.     __property System::Integer ResumeOffset = {read=GetIntegerProp, write=SetIntegerProp, stored=false, 
  258.         index=28, nodefault};
  259.     __property System::Smallint SearchOrder = {read=GetSmallintProp, write=SetSmallintProp, stored=false
  260.         , index=29, nodefault};
  261.     __property System::Smallint SpellOptions = {read=GetSmallintProp, write=SetSmallintProp, stored=false
  262.         , index=30, nodefault};
  263.     __property System::Smallint StandardCount = {read=GetSmallintProp, write=SetSmallintProp, stored=false
  264.         , index=31, nodefault};
  265.     __property System::Smallint SuggestOptions = {read=GetSmallintProp, write=SetSmallintProp, stored=false
  266.         , index=32, nodefault};
  267.     __property System::Smallint SuggestionCount = {read=GetSmallintProp, write=SetSmallintProp, stored=false
  268.         , index=33, nodefault};
  269.     __property System::AnsiString Text = {read=GetStringProp, write=SetStringProp, stored=false, index=34
  270.         , nodefault};
  271.     __property System::Smallint WhereFound = {read=GetSmallintProp, write=SetSmallintProp, stored=false
  272.         , index=35, nodefault};
  273.     __property System::Integer WordCount = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=36
  274.         , nodefault};
  275.     __property System::Integer WordOffset = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=37
  276.         , nodefault};
  277.     __property System::WordBool AllowJoinedWords = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false
  278.         , index=38, nodefault};
  279.     __property System::Integer DialogLeft = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=39
  280.         , nodefault};
  281.     __property System::Integer DialogTop = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=40
  282.         , nodefault};
  283.     __property System::WordBool ReplaceRecheck = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false
  284.         , index=41, nodefault};
  285.     __property Graphics::TColor DialogBgColor = {read=GetColorProp, write=SetColorProp, stored=false, index=42
  286.         , nodefault};
  287.     __property System::Integer DialogLeftActual = {read=GetIntegerProp, write=SetIntegerProp, stored=false
  288.         , index=43, nodefault};
  289.     __property System::Integer DialogTopActual = {read=GetIntegerProp, write=SetIntegerProp, stored=false
  290.         , index=44, nodefault};
  291.     __property System::WordBool ReplaceOccurred = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false
  292.         , index=45, nodefault};
  293.     __property System::WordBool SuggestionsMade = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false
  294.         , index=46, nodefault};
  295.     __property System::Smallint WordLength = {read=GetSmallintProp, write=SetSmallintProp, stored=false
  296.         , index=47, nodefault};
  297.     __property System::Integer CacheHits = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=48
  298.         , nodefault};
  299.     __property System::Integer CacheMisses = {read=GetIntegerProp, write=SetIntegerProp, stored=false, 
  300.         index=49, nodefault};
  301.     __property System::Integer TimerTicks = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=50
  302.         , nodefault};
  303.     __property System::Integer UserData = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=51
  304.         , nodefault};
  305.     __property System::AnsiString CheckedWord = {read=GetStringProp, write=SetStringProp, stored=false, 
  306.         index=52, nodefault};
  307.     __property System::WordBool CommonIRListIsEnabled = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false
  308.         , index=53, nodefault};
  309.     __property System::AnsiString WordMisspelledTitle = {read=GetStringProp, write=SetStringProp, stored=false
  310.         , index=54, nodefault};
  311.     __property System::AnsiString OptionsTitle = {read=GetStringProp, write=SetStringProp, stored=false
  312.         , index=55, nodefault};
  313.     __property System::AnsiString ErrorTitle = {read=GetStringProp, write=SetStringProp, stored=false, 
  314.         index=56, nodefault};
  315.     __property System::AnsiString WordMisspelledHelpFile = {read=GetStringProp, write=SetStringProp, stored=false
  316.         , index=57, nodefault};
  317.     __property System::AnsiString OptionsHelpFile = {read=GetStringProp, write=SetStringProp, stored=false
  318.         , index=58, nodefault};
  319.     __property System::Integer DialogElements = {read=GetIntegerProp, write=SetIntegerProp, stored=false
  320.         , index=59, nodefault};
  321.     __property System::Integer DialogWidth = {read=GetIntegerProp, write=SetIntegerProp, stored=false, 
  322.         index=60, nodefault};
  323.     __property System::Integer DialogHeight = {read=GetIntegerProp, write=SetIntegerProp, stored=false, 
  324.         index=61, nodefault};
  325.     __property System::AnsiString ErrorText = {read=GetStringProp, write=SetStringProp, stored=false, index=62
  326.         , nodefault};
  327.     __property System::Integer ClickedButton = {read=GetIntegerProp, write=SetIntegerProp, stored=false
  328.         , index=63, nodefault};
  329.     __property System::Integer ClickInfo = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=64
  330.         , nodefault};
  331.     __property System::AnsiString ClickInfoText = {read=GetStringProp, write=SetStringProp, stored=false
  332.         , index=65, nodefault};
  333.     __property System::Smallint AddToCommonIRList = {read=GetSmallintProp, write=SetSmallintProp, stored=false
  334.         , index=66, nodefault};
  335.     __property System::Smallint BeginCheck = {read=GetSmallintProp, write=SetSmallintProp, stored=false
  336.         , index=67, nodefault};
  337.     __property System::AnsiString CheckText = {read=GetStringProp, write=SetStringProp, stored=false, index=68
  338.         , nodefault};
  339.     __property System::AnsiString CheckWord = {read=GetStringProp, write=SetStringProp, stored=false, index=69
  340.         , nodefault};
  341.     __property System::Smallint ClearCounts = {read=GetSmallintProp, write=SetSmallintProp, stored=false
  342.         , index=70, nodefault};
  343.     __property System::Smallint ClearOffsets = {read=GetSmallintProp, write=SetSmallintProp, stored=false
  344.         , index=71, nodefault};
  345.     __property System::AnsiString FindSuggestions = {read=GetStringProp, write=SetStringProp, stored=false
  346.         , index=72, nodefault};
  347.     __property System::Smallint ReplaceLastWord = {read=GetSmallintProp, write=SetSmallintProp, stored=false
  348.         , index=73, nodefault};
  349.     __property System::Smallint ResumeCheck = {read=GetSmallintProp, write=SetSmallintProp, stored=false
  350.         , index=74, nodefault};
  351.     __property System::Smallint ClearSuggestions = {read=GetSmallintProp, write=SetSmallintProp, stored=false
  352.         , index=75, nodefault};
  353.     __property System::Smallint PopupError = {read=GetSmallintProp, write=SetSmallintProp, stored=false
  354.         , index=76, nodefault};
  355.     __property System::Smallint PopupOptions = {read=GetSmallintProp, write=SetSmallintProp, stored=false
  356.         , index=77, nodefault};
  357.     __property System::Smallint PopupWordMisspelled = {read=GetSmallintProp, write=SetSmallintProp, stored=false
  358.         , index=78, nodefault};
  359.     __property System::AnsiString CreateCustom = {read=GetStringProp, write=SetStringProp, stored=false
  360.         , index=79, nodefault};
  361.     __property System::Smallint ResumeWithRecheck = {read=GetSmallintProp, write=SetSmallintProp, stored=false
  362.         , index=80, nodefault};
  363.     __property System::WordBool EnableCommonIRList = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false
  364.         , index=81, nodefault};
  365.     __property System::Smallint ClearCommonIRList = {read=GetSmallintProp, write=SetSmallintProp, stored=false
  366.         , index=82, nodefault};
  367.     __property System::AnsiString RemoveFromCommonIRList = {read=GetStringProp, write=SetStringProp, stored=false
  368.         , index=83, nodefault};
  369.     __property System::Smallint EnableEventOptions = {read=GetSmallintProp, write=SetSmallintProp, stored=false
  370.         , index=84, nodefault};
  371.     __property System::Smallint DisableEventOptions = {read=GetSmallintProp, write=SetSmallintProp, stored=false
  372.         , index=85, nodefault};
  373.     __property System::Smallint EnableSpellOptions = {read=GetSmallintProp, write=SetSmallintProp, stored=false
  374.         , index=86, nodefault};
  375.     __property System::Smallint DisableSpellOptions = {read=GetSmallintProp, write=SetSmallintProp, stored=false
  376.         , index=87, nodefault};
  377.     __property System::Smallint EnableSuggestOptions = {read=GetSmallintProp, write=SetSmallintProp, stored=false
  378.         , index=88, nodefault};
  379.     __property System::Smallint DisableSuggestOptions = {read=GetSmallintProp, write=SetSmallintProp, stored=false
  380.         , index=89, nodefault};
  381.     __property System::Integer EnableDialogElements = {read=GetIntegerProp, write=SetIntegerProp, stored=false
  382.         , index=90, nodefault};
  383.     __property System::Integer DisableDialogElements = {read=GetIntegerProp, write=SetIntegerProp, stored=false
  384.         , index=91, nodefault};
  385.     __property System::AnsiString StandardDictionary = {read=GetStringProp, write=SetStringProp, stored=false
  386.         , index=2, nodefault};
  387.     __property System::AnsiString CustomDictionary = {read=GetStringProp, write=SetStringProp, stored=false
  388.         , index=3, nodefault};
  389.     __property TVCSpellerMisspelled OnMisspelled = {read=FOnMisspelled, write=FOnMisspelled};
  390.     __property TVCSpellerComplete OnComplete = {read=FOnComplete, write=FOnComplete};
  391.     __property TVCSpellerFound OnFound = {read=FOnFound, write=FOnFound};
  392.     __property TVCSpellerBeforeReplace OnBeforeReplace = {read=FOnBeforeReplace, write=FOnBeforeReplace
  393.         };
  394.     __property TVCSpellerAfterReplace OnAfterReplace = {read=FOnAfterReplace, write=FOnAfterReplace};
  395.     __property TVCSpellerAfterPopup OnAfterPopup = {read=FOnAfterPopup, write=FOnAfterPopup};
  396.     __property TVCSpellerCheckStatus OnCheckStatus = {read=FOnCheckStatus, write=FOnCheckStatus};
  397.     __property TVCSpellerCheckError OnCheckError = {read=FOnCheckError, write=FOnCheckError};
  398.     __property TVCSpellerClickIn OnClickIn = {read=FOnClickIn, write=FOnClickIn};
  399.     __property TVCSpellerClickOut OnClickOut = {read=FOnClickOut, write=FOnClickOut};
  400. public:
  401.     /* !! TOleControl.Create */ __fastcall virtual TVCSpeller(Classes::TComponent *AOwner) : Olectrls::TOleControl(
  402.         AOwner) { }
  403.     /* !! TOleControl.Destroy */ __fastcall virtual ~TVCSpeller(void) { }
  404.     
  405. };
  406.  
  407. //-- var, const, procedure ---------------------------------------------------
  408. #define VSCAT_STANDARD System::Smallint(256)
  409. #define VSCAT_IRLIST System::Smallint(256)
  410. #define VSCAT_CUSTOM System::Smallint(512)
  411. #define VSCAT_ENABLED System::Smallint(1024)
  412. #define VSCAT_DISABLED System::Smallint(2048)
  413. #define VSDSTAT_ENABLED System::Byte(1)
  414. #define VSDSTAT_LOADED System::Byte(2)
  415. #define VSDSTAT_IRLIST_ENABLED System::Byte(4)
  416. #define VSDSTAT_UPDATEABLE System::Byte(8)
  417. #define VSDSTAT_READONLY System::Byte(16)
  418. #define VSDSTAT_EXTENDED System::Byte(32)
  419. #define VSDSTAT_HYPHENATION System::Byte(64)
  420. #define VSDSTAT_PHONETICS System::Byte(128)
  421. #define VSDSTAT_COMMONLIST System::Smallint(256)
  422. #define VSLANG_AMERICAN System::Byte(0)
  423. #define VSLANG_ENGLISH System::Byte(1)
  424. #define VSLANG_FRENCH System::Byte(2)
  425. #define VSLANG_GERMAN System::Byte(3)
  426. #define VSLANG_SPANISH System::Byte(4)
  427. #define VSLANG_PORTUGUESE System::Byte(5)
  428. #define VSLANG_ITALIAN System::Byte(6)
  429. #define VSLANG_DUTCH System::Byte(7)
  430. #define VSLANG_SWEDISH System::Byte(8)
  431. #define VSLANG_FINNISH System::Byte(9)
  432. #define VSLANG_NORWEGIAN System::Byte(10)
  433. #define VSLANG_LATIN System::Byte(11)
  434. #define VSLANG_WELSH System::Byte(12)
  435. #define VSLANG_POLISH System::Byte(13)
  436. #define VSLANG_HUNGARIAN System::Byte(14)
  437. #define VSLANG_FLEMISH System::Byte(15)
  438. #define VSLANG_CZECH System::Byte(16)
  439. #define VSLANG_ICELANDIC System::Byte(17)
  440. #define VSLANG_ESPERANTO System::Byte(18)
  441. #define VSLANG_CATALAN System::Byte(19)
  442. #define VSLANG_ROMANIAN System::Byte(20)
  443. #define VSLANG_BULGARIAN System::Byte(21)
  444. #define VSLANG_RUSSIAN System::Byte(22)
  445. #define VSLANG_QUECHUA System::Byte(23)
  446. #define VSLANG_TURKISH System::Byte(24)
  447. #define VSLANG_INDONESIAN System::Byte(25)
  448. #define VSLANG_HEBREW System::Byte(26)
  449. #define VSLANG_DANISH System::Byte(27)
  450. #define VSLANG_CANADIAN System::Byte(28)
  451. #define VSEVOPT_COMPLETE System::Byte(1)
  452. #define VSEVOPT_FOUND System::Byte(2)
  453. #define VSEVOPT_MISSPELLED System::Byte(4)
  454. #define VSEVOPT_BEFORE_REPLACE System::Byte(8)
  455. #define VSEVOPT_AFTER_POPUP System::Byte(16)
  456. #define VSEVOPT_CHECK_STATUS System::Byte(32)
  457. #define VSEVOPT_CHECK_ERROR System::Byte(64)
  458. #define VSEVOPT_AFTER_REPLACE System::Byte(128)
  459. #define VSEVOPT_CLICK_IN System::Smallint(256)
  460. #define VSEVOPT_CLICK_OUT System::Smallint(512)
  461. #define VSEVOPT_DEFAULTS System::Integer(65533)
  462. #define VSORDER_SCIR System::Byte(0)
  463. #define VSORDER_CIRS System::Byte(2)
  464. #define VSORDER_IRSC System::Byte(3)
  465. #define VSORDER_SIRC System::Byte(4)
  466. #define VSORDER_CSIR System::Byte(6)
  467. #define VSORDER_IRCS System::Byte(7)
  468. #define VSORDER_NO_LOOKAHEAD System::Byte(8)
  469. #define VSOPT_AUTO_REPLACE System::Byte(1)
  470. #define VSOPT_AUTO_SUGGEST System::Byte(2)
  471. #define VSOPT_AUTO_POPUP System::Byte(4)
  472. #define VSOPT_IGNORE_FULL_CAPS System::Byte(8)
  473. #define VSOPT_IGNORE_PARTIAL_NUMBERS System::Byte(16)
  474. #define VSOPT_MULTILINE System::Byte(32)
  475. #define VSOPT_IGNORE_PURE_NUMBERS System::Byte(64)
  476. #define VSOPT_ALLOW_JOINED_WORDS System::Byte(128)
  477. #define VSOPT_EXACT_MATCH System::Smallint(256)
  478. #define VSOPT_RETURN_EACH_WORD System::Smallint(512)
  479. #define VSOPT_REPLACE_RECHECK System::Smallint(1024)
  480. #define VSOPT_DEFAULTS System::Smallint(1127)
  481. #define VSSUGOPT_CAPITALIZATION System::Byte(1)
  482. #define VSSUGOPT_CHARSWAP System::Byte(2)
  483. #define VSSUGOPT_DELETES System::Byte(4)
  484. #define VSSUGOPT_DOUBLES System::Byte(8)
  485. #define VSSUGOPT_HYPHENS System::Byte(16)
  486. #define VSSUGOPT_SPLITS System::Byte(32)
  487. #define VSSUGOPT_EXCHANGES System::Byte(64)
  488. #define VSSUGOPT_INSERTIONS System::Smallint(512)
  489. #define VSSUGOPT_DEFAULTS System::Smallint(639)
  490. #define VSIR_GLOBAL System::Byte(1)
  491. #define VSIR_PROMPT System::Byte(2)
  492. #define VSIR_IGNORE System::Byte(4)
  493. #define VSIR_REPLACE System::Byte(8)
  494. #define VSIR_HYPHENATION System::Byte(16)
  495. #define VSIR_SPELLED_OK System::Byte(5)
  496. #define VSIR_REPLACE_ALL System::Byte(9)
  497. #define VSIR_MISSPELLED System::Byte(6)
  498. #define VSIR_PROMPT_REPLACE System::Byte(10)
  499. #define VS_DEFAULT_HANDLING System::Byte(0)
  500. #define VS_EVENT_HANDLED System::Byte(1)
  501. #define VS_CANCEL_SPELLCHECK System::Byte(2)
  502. #define VSCLICK_WORD_MISSPELLED_HELP System::Byte(1)
  503. #define VSCLICK_OPTIONS System::Byte(2)
  504. #define VSCLICK_PROMPT_REPLACE System::Byte(4)
  505. #define VSCLICK_ADD_TO_CUSTOM System::Byte(8)
  506. #define VSCLICK_REPLACE_ALL System::Byte(16)
  507. #define VSCLICK_REPLACE System::Byte(32)
  508. #define VSCLICK_IGNORE_ALL System::Byte(64)
  509. #define VSCLICK_IGNORE System::Byte(128)
  510. #define VSCLICK_SUGGEST_NOT_FOUND System::Smallint(256)
  511. #define VSCLICK_SUGGEST_REPLACE_WITH System::Smallint(512)
  512. #define VSCLICK_CANCEL_SPELLCHECK System::Smallint(1024)
  513. #define VSCLICK_THESAURUS System::Smallint(2048)
  514. #define VSCLICK_OPTIONS_HELP System::Integer(65536)
  515. #define VSCLICK_OPTIONS_OK System::Integer(131072)
  516. #define VSCLICK_OPTIONS_CANCEL System::Integer(262144)
  517. #define VSCLICK_OPEN_CUSTOM System::Integer(524288)
  518. #define VSCLICK_CLOSE_CUSTOM System::Integer(1048576)
  519. #define VSCLICK_OPEN_STANDARD System::Integer(2097152)
  520. #define VSCLICK_CLOSE_STANDARD System::Integer(4194304)
  521. #define VSCLICK_THESAURUS_OK System::Integer(16777216)
  522. #define VSCLICK_THESAURUS_SEARCH System::Integer(33554432)
  523. #define VSCLICK_THESAURUS_CANCEL System::Integer(67108864)
  524. #define VSCLICK_THESAURUS_HELP System::Integer(134217728)
  525. #define VSD_WORD_MISSPELLED_HELP System::Byte(1)
  526. #define VSD_OPTIONS System::Byte(2)
  527. #define VSD_PROMPT_REPLACE System::Byte(4)
  528. #define VSD_ADD_TO_CUSTOM System::Byte(8)
  529. #define VSD_REPLACE_ALL System::Byte(16)
  530. #define VSD_REPLACE System::Byte(32)
  531. #define VSD_IGNORE_ALL System::Byte(64)
  532. #define VSD_IGNORE System::Byte(128)
  533. #define VSD_SUGGEST_NOT_FOUND System::Smallint(256)
  534. #define VSD_SUGGEST_REPLACE_WITH System::Smallint(512)
  535. #define VSD_CANCEL_SPELLCHECK System::Smallint(1024)
  536. #define VSD_SUGGESTIONS_LIST System::Smallint(2048)
  537. #define VSD_REPLACE_BOX System::Smallint(4096)
  538. #define VSD_CUSTOM_LIST System::Smallint(8192)
  539. #define VSD_THESAURUS System::Smallint(16384)
  540. #define VSD_OPTIONS_HELP System::Integer(65536)
  541. #define VSD_CUSTOMS System::Integer(131072)
  542. #define VSD_STANDARDS System::Integer(262144)
  543. #define VSD_PERFORMANCE System::Integer(524288)
  544. #define VSD_SUGGESTION_LIMIT System::Integer(1048576)
  545. #define VSD_AUTO_SUGGESTIONS System::Integer(2097152)
  546. #define VSD_EXACT_MATCH System::Integer(4194304)
  547. #define VSD_IGNORE_FULL_CAPS System::Integer(8388608)
  548. #define VSD_IGNORE_PARTIAL System::Integer(16777216)
  549. #define VSD_IGNORE_PURE System::Integer(33554432)
  550. #define VSD_ALLOW_JOINED System::Integer(67108864)
  551. #define VSD_RECHECK System::Integer(134217728)
  552. #define VSD_THESAURUS_HELP System::Integer(268435456)
  553. #define VSD_THESAURUS_SEARCH System::Integer(536870912)
  554. #define VSR_WORD_MISSPELLED System::Shortint(-1)
  555. #define VSR_IGNORE_REPLACE System::Shortint(-2)
  556. #define VSR_CHECK_CANCELED System::Shortint(-3)
  557. #define VSR_BREAK System::Shortint(-4)
  558. #define VSR_FOUND System::Shortint(-5)
  559. #define VSR_REPLACED System::Shortint(-6)
  560. #define VSR_CHANGED System::Shortint(-7)
  561. #define VSR_END_LIST System::Shortint(-8)
  562. #define VSR_ENTRY_NOT_FOUND System::Shortint(-9)
  563. #define VSR_OPENED_READONLY System::Shortint(-11)
  564. #define VSR_REPLACE_OVERFLOW System::Shortint(-12)
  565. #define VSR_NOT_ADDED System::Shortint(-13)
  566. #define VSR_POPPED System::Shortint(-14)
  567. #define VSR_CLICK_IN System::Shortint(-15)
  568. #define VSR_CLICK_OUT System::Shortint(-16)
  569. #define VSR_NO_ERROR System::Byte(0)
  570. #define VSR_WORD_TOO_LONG System::Byte(1)
  571. #define VSR_NO_MISSPELL System::Byte(2)
  572. #define VSR_ALREADY_OPEN System::Byte(4)
  573. #define VSR_OPEN_FAILED System::Byte(5)
  574. #define VSR_CREATE_FAILED System::Byte(6)
  575. #define VSR_INVALID_DICTIONARY System::Byte(7)
  576. #define VSR_WRITE_FAILURE System::Byte(9)
  577. #define VSR_READ_FAILURE System::Byte(10)
  578. #define VSR_BAD_FILE_NAME System::Byte(11)
  579. #define VSR_NOT_UPDATEABLE System::Byte(12)
  580. #define VSR_DUPLICATE_WORD System::Byte(13)
  581. #define VSR_BAD_CUSTOM System::Byte(14)
  582. #define VSR_IN_EVENT System::Byte(15)
  583. #define VSR_NOT_LOADED System::Byte(16)
  584. #define VSR_REPLACE_ERROR System::Byte(17)
  585. #define VSR_CACHE_ERROR System::Byte(18)
  586. #define VSR_INVALID_CONTEXT System::Byte(19)
  587. #define VSR_NOTHING_TO_CHECK System::Byte(20)
  588. #define VSR_DIALOG_ERROR System::Byte(21)
  589. #define VSR_OUT_OF_MEMORY System::Byte(22)
  590. #define VSR_BAD_INDEX System::Byte(23)
  591. #define VSR_OUT_OF_STRING_SPACE System::Byte(24)
  592. #define VSR_IN_DIALOG System::Byte(25)
  593. #define VSR_FILE_EXISTS System::Byte(26)
  594. #define VB_OFFSET System::Smallint(32350)
  595. #define VBR_WORD_TOO_LONG System::Smallint(32351)
  596. #define VBR_NO_MISSPELL System::Smallint(32352)
  597. #define VBR_ALREADY_OPEN System::Smallint(32354)
  598. #define VBR_OPEN_FAILED System::Smallint(32355)
  599. #define VBR_CREATE_FAILED System::Smallint(32356)
  600. #define VBR_INVALID_DICTIONARY System::Smallint(32357)
  601. #define VBR_WRITE_FAILURE System::Smallint(32359)
  602. #define VBR_READ_FAILURE System::Smallint(32360)
  603. #define VBR_BAD_FILE_NAME System::Smallint(32361)
  604. #define VBR_NOT_UPDATEABLE System::Smallint(32362)
  605. #define VBR_DUPLICATE_WORD System::Smallint(32363)
  606. #define VBR_BAD_CUSTOM System::Smallint(32364)
  607. #define VBR_IN_EVENT System::Smallint(32365)
  608. #define VBR_NOT_LOADED System::Smallint(32366)
  609. #define VBR_REPLACE_ERROR System::Smallint(32367)
  610. #define VBR_CACHE_ERROR System::Smallint(32368)
  611. #define VBR_INVALID_CONTEXT System::Smallint(32369)
  612. #define VBR_NOTHING_TO_CHECK System::Smallint(32370)
  613. #define VBR_DIALOG_ERROR System::Smallint(32371)
  614. #define VBR_OUT_OF_MEMORY System::Smallint(32372)
  615. #define VBR_BAD_INDEX System::Smallint(32373)
  616. #define VBR_OUT_OF_STRING_SPACE System::Smallint(32374)
  617. #define VBR_IN_DIALOG System::Smallint(32375)
  618. #define VBR_FILE_EXISTS System::Smallint(32376)
  619. #define VS_ALL System::Byte(0)
  620. #define VS_MAXWORDSIZE System::Byte(75)
  621. extern void __fastcall Register(void);
  622.  
  623. }    /* namespace Vcspell */
  624. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  625. using namespace Vcspell;
  626. #endif
  627. //-- end unit ----------------------------------------------------------------
  628. #endif    // VCSpell
  629.