Unit1.h
上传用户:daoqigc
上传日期:2021-04-20
资源大小:2795k
文件大小:2k
源码类别:

RichEdit

开发平台:

Delphi

  1. //---------------------------------------------------------------------------
  2. #ifndef Unit1H
  3. #define Unit1H
  4. //---------------------------------------------------------------------------
  5. #include <vclClasses.hpp>
  6. #include <vclControls.hpp>
  7. #include <vclStdCtrls.hpp>
  8. #include <vclForms.hpp>
  9. #include "RVEdit.hpp"
  10. #include "RichView.hpp"
  11. #include "RVScroll.hpp"
  12. #include "RVStyle.hpp"
  13. #include "CRVFData.hpp"
  14. #include "RVTable.hpp"
  15. #include <vclDialogs.hpp>
  16. //---------------------------------------------------------------------------
  17. class TForm1 : public TForm
  18. {
  19. __published: // IDE-managed Components
  20. TRichViewEdit *RichViewEdit1;
  21. TButton *Button1;
  22. TButton *Button2;
  23. TButton *Button3;
  24. TRVStyle *RVStyle1;
  25. TOpenDialog *OpenDialog1;
  26. TOpenDialog *OpenDialog2;
  27. TSaveDialog *SaveDialog1;
  28. void __fastcall FormCreate(TObject *Sender);
  29. void __fastcall RichViewEdit1RVFPictureNeeded(TCustomRichView *Sender,
  30. AnsiString Name, int Tag, TGraphic *&gr);
  31. void __fastcall RichViewEdit1Copy(TObject *Sender);
  32. void __fastcall Button3Click(TObject *Sender);
  33. void __fastcall Button2Click(TObject *Sender);
  34. void __fastcall Button1Click(TObject *Sender);
  35. private: // User declarations
  36.     AnsiString CopyImageToTheImagesDir(AnsiString ImageFileName, TGraphic* gr);
  37.     void SaveAllUnknownImages(TCustomRVData* RVData);
  38. public: // User declarations
  39. __fastcall TForm1(TComponent* Owner);
  40. };
  41. //---------------------------------------------------------------------------
  42. extern TForm1 *Form1;
  43. //---------------------------------------------------------------------------
  44. #endif
  45.