xref: /AOO41X/main/cui/source/options/webconninfo.hxx (revision c4eee24dc018e70cce741d2c2ecfc43b06c69c41)
1*c4eee24dSAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
3*c4eee24dSAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
4*c4eee24dSAndrew Rist  * or more contributor license agreements.  See the NOTICE file
5*c4eee24dSAndrew Rist  * distributed with this work for additional information
6*c4eee24dSAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
7*c4eee24dSAndrew Rist  * to you under the Apache License, Version 2.0 (the
8*c4eee24dSAndrew Rist  * "License"); you may not use this file except in compliance
9*c4eee24dSAndrew Rist  * with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir  *
11*c4eee24dSAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir  *
13*c4eee24dSAndrew Rist  * Unless required by applicable law or agreed to in writing,
14*c4eee24dSAndrew Rist  * software distributed under the License is distributed on an
15*c4eee24dSAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*c4eee24dSAndrew Rist  * KIND, either express or implied.  See the License for the
17*c4eee24dSAndrew Rist  * specific language governing permissions and limitations
18*c4eee24dSAndrew Rist  * under the License.
19cdf0e10cSrcweir  *
20*c4eee24dSAndrew Rist  *************************************************************/
21*c4eee24dSAndrew Rist 
22*c4eee24dSAndrew Rist 
23cdf0e10cSrcweir #ifndef _SVX_WEBCONNINFO_HXX
24cdf0e10cSrcweir #define _SVX_WEBCONNINFO_HXX
25cdf0e10cSrcweir 
26cdf0e10cSrcweir #include <vcl/button.hxx>
27cdf0e10cSrcweir #include <vcl/dialog.hxx>
28cdf0e10cSrcweir #include <vcl/fixed.hxx>
29cdf0e10cSrcweir #include <svtools/stdctrl.hxx>
30cdf0e10cSrcweir #include <svx/simptabl.hxx>
31cdf0e10cSrcweir 
32cdf0e10cSrcweir //........................................................................
33cdf0e10cSrcweir namespace svx
34cdf0e10cSrcweir {
35cdf0e10cSrcweir //........................................................................
36cdf0e10cSrcweir 
37cdf0e10cSrcweir     class PasswordTable : public SvxSimpleTable
38cdf0e10cSrcweir     {
39cdf0e10cSrcweir     public:
40cdf0e10cSrcweir         PasswordTable( Window* pParent, const ResId& rResId );
41cdf0e10cSrcweir 
42cdf0e10cSrcweir         void InsertHeaderItem( sal_uInt16 nColumn, const String& rText, HeaderBarItemBits nBits );
43cdf0e10cSrcweir         void ResetTabs();
44cdf0e10cSrcweir         void Resort( bool bForced );
45cdf0e10cSrcweir     };
46cdf0e10cSrcweir 
47cdf0e10cSrcweir     //====================================================================
48cdf0e10cSrcweir     //= class WebConnectionIfoDialog
49cdf0e10cSrcweir     //====================================================================
50cdf0e10cSrcweir     class WebConnectionInfoDialog : public ModalDialog
51cdf0e10cSrcweir     {
52cdf0e10cSrcweir     private:
53cdf0e10cSrcweir         FixedInfo           m_aNeverShownFI;
54cdf0e10cSrcweir         PasswordTable       m_aPasswordsLB;
55cdf0e10cSrcweir         PushButton          m_aRemoveBtn;
56cdf0e10cSrcweir         PushButton          m_aRemoveAllBtn;
57cdf0e10cSrcweir         PushButton          m_aChangeBtn;
58cdf0e10cSrcweir         FixedLine           m_aButtonsFL;
59cdf0e10cSrcweir         CancelButton        m_aCloseBtn;
60cdf0e10cSrcweir         HelpButton          m_aHelpBtn;
61cdf0e10cSrcweir         sal_Int32           m_nPos;
62cdf0e10cSrcweir 
63cdf0e10cSrcweir     DECL_LINK( HeaderBarClickedHdl, SvxSimpleTable* );
64cdf0e10cSrcweir     DECL_LINK( RemovePasswordHdl, PushButton* );
65cdf0e10cSrcweir     DECL_LINK( RemoveAllPasswordsHdl, PushButton* );
66cdf0e10cSrcweir     DECL_LINK( ChangePasswordHdl, PushButton* );
67cdf0e10cSrcweir     DECL_LINK( EntrySelectedHdl, void* );
68cdf0e10cSrcweir 
69cdf0e10cSrcweir     void FillPasswordList();
70cdf0e10cSrcweir 
71cdf0e10cSrcweir     public:
72cdf0e10cSrcweir         WebConnectionInfoDialog( Window* pParent );
73cdf0e10cSrcweir         ~WebConnectionInfoDialog();
74cdf0e10cSrcweir     };
75cdf0e10cSrcweir 
76cdf0e10cSrcweir //........................................................................
77cdf0e10cSrcweir }   // namespace svx
78cdf0e10cSrcweir //........................................................................
79cdf0e10cSrcweir 
80cdf0e10cSrcweir #endif // #ifndef _SVX_WEBCONNINFO_HXX
81cdf0e10cSrcweir 
82