Update ooo320-m1
[ooovba.git] / svx / source / cui / cuiimapwnd.hxx
blobff3582ae3a32388232fde30140bb9724b9286ef7
1 #ifndef _CUI_IMAPWND_HXX
2 #define _CUI_IMAPWND_HXX
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 <svtools/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>
17 /*************************************************************************
21 \************************************************************************/
23 class URLDlg : public ModalDialog
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;
40 public:
42 URLDlg( Window* pWindow,
43 const String& rURL, const String& rAlternativeText, const String& rDescription,
44 const String& rTarget, const String& rName,
45 TargetList& rTargetList );
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(); }
54 #endif