bump product version to 4.1.6.2
[LibreOffice.git] / sw / source / ui / inc / fldtdlg.hxx
blob7e71ab3f10c97a16567c17d1f4db4fada3f42372
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef _SWFLDTDLG_HXX
20 #define _SWFLDTDLG_HXX
21 #include <sfx2/tabdlg.hxx>
23 class SfxBindings;
24 class SfxTabPage;
25 class SwChildWinWrapper;
26 struct SfxChildWinInfo;
28 class SwFldDlg: public SfxTabDialog
30 SwChildWinWrapper* m_pChildWin;
31 SfxBindings* m_pBindings;
32 sal_Bool m_bHtmlMode;
33 sal_Bool m_bDataBaseMode;
35 virtual sal_Bool Close();
36 virtual SfxItemSet* CreateInputItemSet( sal_uInt16 nId );
37 virtual void Activate();
38 virtual void PageCreated(sal_uInt16 nId, SfxTabPage& rPage);
40 void ReInitTabPage( sal_uInt16 nPageId,
41 sal_Bool bOnlyActivate = sal_False );
43 public:
44 SwFldDlg(SfxBindings* pB, SwChildWinWrapper* pCW, Window *pParent);
45 virtual ~SwFldDlg();
47 DECL_LINK(OKHdl, void *);
48 DECL_LINK(CancelHdl, void *);
50 void Initialize(SfxChildWinInfo *pInfo);
51 void ReInitDlg();
52 void EnableInsert(sal_Bool bEnable);
53 void InsertHdl();
54 void ActivateDatabasePage();
57 #endif
59 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */