changedb.hxx (1d2dbeb0) | changedb.hxx (0c84c94f) |
---|---|
1/************************************************************** | 1/************************************************************** |
2 * | 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 | 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 * | 10 * |
11 * http://www.apache.org/licenses/LICENSE-2.0 | 11 * http://www.apache.org/licenses/LICENSE-2.0 |
12 * | 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. | 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 * | 19 * |
20 *************************************************************/ 21 22 | 20 *************************************************************/ 21 22 |
23 |
|
23#ifndef _CHANGEDB_HXX 24#define _CHANGEDB_HXX 25 26 27#ifndef _BITMAP_HXX //autogen 28#include <vcl/bitmap.hxx> 29#endif 30#ifndef _BUTTON_HXX //autogen --- 9 unchanged lines hidden (view full) --- 40#include <vcl/fixed.hxx> 41 42class SwFldMgr; 43class SwView; 44class SwWrtShell; 45struct SwDBData; 46 47/*-------------------------------------------------------------------- | 24#ifndef _CHANGEDB_HXX 25#define _CHANGEDB_HXX 26 27 28#ifndef _BITMAP_HXX //autogen 29#include <vcl/bitmap.hxx> 30#endif 31#ifndef _BUTTON_HXX //autogen --- 9 unchanged lines hidden (view full) --- 41#include <vcl/fixed.hxx> 42 43class SwFldMgr; 44class SwView; 45class SwWrtShell; 46struct SwDBData; 47 48/*-------------------------------------------------------------------- |
48 Beschreibung: Datenbank an Feldern austauschen | 49 Description: Exchange database |
49 --------------------------------------------------------------------*/ 50 51class SwChangeDBDlg: public SvxStandardDialog 52{ | 50 --------------------------------------------------------------------*/ 51 52class SwChangeDBDlg: public SvxStandardDialog 53{ |
53 FixedLine aDBListFL; | 54 FixedLine aDBListFL; |
54 FixedText aUsedDBFT; 55 FixedText aAvailDBFT; 56 SvTreeListBox aUsedDBTLB; 57 SwDBTreeList aAvailDBTLB; | 55 FixedText aUsedDBFT; 56 FixedText aAvailDBFT; 57 SvTreeListBox aUsedDBTLB; 58 SwDBTreeList aAvailDBTLB; |
58 PushButton aAddDBPB; | 59 PushButton aAddDBPB; |
59 FixedInfo aDescFT; 60 FixedText aDocDBTextFT; 61 FixedText aDocDBNameFT; | 60 FixedInfo aDescFT; 61 FixedText aDocDBTextFT; 62 FixedText aDocDBNameFT; |
62 OKButton aOKBT; 63 CancelButton aCancelBT; 64 HelpButton aHelpBT; | 63 OKButton aOKBT; 64 CancelButton aCancelBT; 65 HelpButton aHelpBT; 66 FixedLine aApplDBFL; |
65// PushButton aChangeBT; 66 | 67// PushButton aChangeBT; 68 |
67 ImageList aImageList; 68 ImageList aImageListHC; | 69 ImageList aImageList; 70 ImageList aImageListHC; |
69 | 71 |
70 SwWrtShell *pSh; | 72 SwWrtShell *pSh; |
71 SwFldMgr *pMgr; 72 73 DECL_LINK(TreeSelectHdl, SvTreeListBox* pBox = 0); 74 DECL_LINK(ButtonHdl, Button* pBtn); | 73 SwFldMgr *pMgr; 74 75 DECL_LINK(TreeSelectHdl, SvTreeListBox* pBox = 0); 76 DECL_LINK(ButtonHdl, Button* pBtn); |
75 DECL_LINK(AddDBHdl, PushButton*); | 77 DECL_LINK(AddDBHdl, PushButton*); |
76 | 78 |
77 virtual void Apply(); | 79 virtual void Apply(); |
78 void UpdateFlds(); 79 void FillDBPopup(); 80 SvLBoxEntry* Insert(const String& rDBName); 81 void ShowDBName(const SwDBData& rDBData); 82 83public: 84 SwChangeDBDlg(SwView& rVw); 85 ~SwChangeDBDlg(); 86}; 87 88#endif | 80 void UpdateFlds(); 81 void FillDBPopup(); 82 SvLBoxEntry* Insert(const String& rDBName); 83 void ShowDBName(const SwDBData& rDBData); 84 85public: 86 SwChangeDBDlg(SwView& rVw); 87 ~SwChangeDBDlg(); 88}; 89 90#endif |