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