1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ 2 /* 3 * This file is part of the LibreOffice project. 4 * 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/. 8 */ 9 10 #pragma once 11 12 #include <sfx2/tabdlg.hxx> 13 14 class ScTpCompatOptions : public SfxTabPage 15 { 16 public: 17 explicit ScTpCompatOptions(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rCoreAttrs); 18 static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rCoreAttrs); 19 virtual ~ScTpCompatOptions() override; 20 21 virtual bool FillItemSet(SfxItemSet* rCoreAttrs) override; 22 virtual void Reset(const SfxItemSet* rCoreAttrs) override; 23 virtual DeactivateRC DeactivatePage(SfxItemSet* pSet ) override; 24 25 private: 26 std::unique_ptr<weld::ComboBox> m_xLbKeyBindings; 27 }; 28 29 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ 30