1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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/.
10 #ifndef INCLUDED_SC_SOURCE_UI_INC_TPCOMPATIBILITY_HXX
11 #define INCLUDED_SC_SOURCE_UI_INC_TPCOMPATIBILITY_HXX
13 #include <sfx2/tabdlg.hxx>
14 #include <vcl/fixed.hxx>
15 #include <vcl/lstbox.hxx>
17 class ScTpCompatOptions
: public SfxTabPage
19 friend class VclPtr
<ScTpCompatOptions
>;
21 using SfxTabPage::DeactivatePage
;
23 static VclPtr
<SfxTabPage
> Create (vcl::Window
* pParent
, const SfxItemSet
* rCoreAttrs
);
25 virtual bool FillItemSet(SfxItemSet
* rCoreAttrs
) SAL_OVERRIDE
;
26 virtual void Reset(const SfxItemSet
* rCoreAttrs
) SAL_OVERRIDE
;
27 virtual sfxpg
DeactivatePage(SfxItemSet
* pSet
= NULL
) SAL_OVERRIDE
;
29 virtual ~ScTpCompatOptions();
30 virtual void dispose() SAL_OVERRIDE
;
32 explicit ScTpCompatOptions(vcl::Window
* pParent
, const SfxItemSet
& rCoreAttrs
);
34 VclPtr
<ListBox
> m_pLbKeyBindings
;
39 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */