00001 //----------------------------------------------------------------------------------------
00011 // RCS-ID: $Id: hyperlink_dialog.h,v 1.11 2002/09/10 18:07:56 robertoconnor Exp $
00012 //----------------------------------------------------------------------------------------
00013
00014 //----------------------------------------------------------------------------------------
00015 // Begin single inclusion of this .h file condition
00016 //----------------------------------------------------------------------------------------
00017
00018 #ifndef _HYPERLINK_DIALOG_H_
00019 #define _HYPERLINK_DIALOG_H_
00020
00021 //----------------------------------------------------------------------------------------
00022 // GCC interface
00023 //----------------------------------------------------------------------------------------
00024
00025 #if defined(__GNUG__) && ! defined(__APPLE__)
00026 #pragma interface "hyperlink_dialog.h"
00027 #endif
00028
00029 //----------------------------------------------------------------------------------------
00030 // Shared defines
00031 //----------------------------------------------------------------------------------------
00032
00033 #include "plucker_defines.h"
00034
00035 //----------------------------------------------------------------------------------------
00036 // Begin feature removal condition
00037 //----------------------------------------------------------------------------------------
00038
00039 #if ( setupUSE_INTEGRATED_HTML_EDITOR )
00040
00041 //----------------------------------------------------------------------------------------
00042 // Headers
00043 //----------------------------------------------------------------------------------------
00044
00045 #include "wx/dialog.h"
00046
00047 //----------------------------------------------------------------------------------------
00048 // Class definition: hyperlink_dialog
00049 //----------------------------------------------------------------------------------------
00050
00052 class hyperlink_dialog : public wxDialog
00053 {
00054
00055 public:
00056
00058
00061 hyperlink_dialog( wxWindow* parent );
00062
00064 ~hyperlink_dialog();
00065
00067
00071 void transfer_to( wxString& starting_text,
00072 wxString& ending_text
00073 );
00074
00075 private:
00076
00077 void on_update_ui_url_radiobutton( wxUpdateUIEvent& event );
00078 void on_url_button( wxCommandEvent& event );
00079 void on_update_ui_file_radiobutton( wxUpdateUIEvent& event );
00080 void on_file_button( wxCommandEvent& event );
00081
00082 void on_update_ui_maxdepth_checkbox( wxUpdateUIEvent& event );
00083 void on_update_ui_url_pattern_checkbox( wxUpdateUIEvent& event );
00084 void on_update_ui_images_depth_checkbox( wxUpdateUIEvent& event );
00085 void on_update_ui_images_maximum_width_checkbox( wxUpdateUIEvent& event );
00086 void on_update_ui_images_maximum_height_checkbox( wxUpdateUIEvent& event );
00087
00088 void on_help_button( wxCommandEvent& event );
00089 //Override base class functions
00090 void OnOK( wxCommandEvent& event );
00091
00092 wxString m_starting_text;
00093 wxString m_ending_text;
00094
00095 DECLARE_EVENT_TABLE()
00096
00097 };
00098
00099 //----------------------------------------------------------------------------------------
00100 // End feature removal condition
00101 //----------------------------------------------------------------------------------------
00102
00103 #endif // setupUSE_INTEGRATED_HTML_EDITOR
00104
00105 //----------------------------------------------------------------------------------------
00106 // End single inclusion of this .h file condition
00107 //----------------------------------------------------------------------------------------
00108
00109 #endif //_HYPERLINK_DIALOG_H_
00110