1 #ifndef _CUI_IMAPWND_HXX 2 #define _CUI_IMAPWND_HXX 3 4 #include <vcl/dialog.hxx> 5 #include <vcl/fixed.hxx> 6 #include <vcl/combobox.hxx> 7 #include <vcl/button.hxx> 8 #include <vcl/menu.hxx> 9 #include <svl/itempool.hxx> 10 #include <svtools/imapobj.hxx> 11 #include <svtools/transfer.hxx> 12 #include <svtools/imap.hxx> 13 #include <sfx2/frame.hxx> 14 #include <svtools/svmedit.hxx> 15 16 17 /************************************************************************* 18 |* 19 |* 20 |* 21 \************************************************************************/ 22 23 class URLDlg : public ModalDialog 24 { 25 FixedText maFtURL; 26 Edit maEdtURL; 27 FixedText maFtTarget; 28 ComboBox maCbbTargets; 29 FixedText maFtName; 30 Edit maEdtName; 31 FixedText maFtAlternativeText; 32 Edit maEdtAlternativeText; 33 FixedText maFtDescription; 34 MultiLineEdit maEdtDescription; 35 FixedLine maFlURL; 36 HelpButton maBtnHelp; 37 OKButton maBtnOk; 38 CancelButton maBtnCancel; 39 40 public: 41 42 URLDlg( Window* pWindow, 43 const String& rURL, const String& rAlternativeText, const String& rDescription, 44 const String& rTarget, const String& rName, 45 TargetList& rTargetList ); 46 47 String GetURL() const { return maEdtURL.GetText(); } 48 String GetAltText() const { return maEdtAlternativeText.GetText(); } 49 String GetDesc() const { return maEdtDescription.GetText(); } 50 String GetTarget() const { return maCbbTargets.GetText(); } 51 String GetName() const { return maEdtName.GetText(); } 52 }; 53 54 #endif 55