xref: /aoo42x/main/cui/source/inc/cuiimapwnd.hxx (revision c4eee24d)
1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 #ifndef _CUI_IMAPWND_HXX
23 #define _CUI_IMAPWND_HXX
24 
25 #include <vcl/dialog.hxx>
26 #include <vcl/fixed.hxx>
27 #include <vcl/combobox.hxx>
28 #include <vcl/button.hxx>
29 #include <vcl/menu.hxx>
30 #include <svl/itempool.hxx>
31 #include <svtools/imapobj.hxx>
32 #include <svtools/transfer.hxx>
33 #include <svtools/imap.hxx>
34 #include <sfx2/frame.hxx>
35 #include <svtools/svmedit.hxx>
36 
37 
38 /*************************************************************************
39 |*
40 |*
41 |*
42 \************************************************************************/
43 
44 class URLDlg : public ModalDialog
45 {
46 	FixedText			maFtURL;
47 	Edit				maEdtURL;
48 	FixedText			maFtTarget;
49 	ComboBox			maCbbTargets;
50 	FixedText			maFtName;
51 	Edit				maEdtName;
52 	FixedText			maFtAlternativeText;
53 	Edit				maEdtAlternativeText;
54 	FixedText			maFtDescription;
55 	MultiLineEdit		maEdtDescription;
56     FixedLine           maFlURL;
57 	HelpButton			maBtnHelp;
58 	OKButton			maBtnOk;
59 	CancelButton		maBtnCancel;
60 
61 public:
62 
63 						URLDlg( Window* pWindow,
64 								const String& rURL, const String& rAlternativeText, const String& rDescription,
65 								const String& rTarget, const String& rName,
66 								TargetList& rTargetList );
67 
GetURL() const68 	String				GetURL() const { return maEdtURL.GetText(); }
GetAltText() const69 	String				GetAltText() const { return maEdtAlternativeText.GetText(); }
GetDesc() const70 	String				GetDesc() const { return maEdtDescription.GetText(); }
GetTarget() const71 	String				GetTarget() const { return maCbbTargets.GetText(); }
GetName() const72 	String				GetName() const { return maEdtName.GetText(); }
73 };
74 
75 #endif
76