tdf#130857 qt weld: Implement QtInstanceWidget::strip_mnemonic
[LibreOffice.git] / sc / source / ui / inc / pivotsh.hxx
blobd69b80ee43e75afa76b249b29ccd71ad13b12175
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 .
20 #pragma once
22 #include <sfx2/shell.hxx>
24 #include <shellids.hxx>
26 class ScTabViewShell;
27 class ScDPObject;
28 class SfxModule;
30 class ScPivotShell final : public SfxShell
32 public:
33 SFX_DECL_INTERFACE(SCID_PIVOT_SHELL)
35 private:
36 /// SfxInterface initializer.
37 static void InitInterface_Impl();
39 public:
40 ScPivotShell(ScTabViewShell* pView);
41 virtual ~ScPivotShell() override;
43 void Execute(const SfxRequest& rReq);
44 void GetState(SfxItemSet& rSet);
46 private:
47 ScTabViewShell* pViewShell;
49 ScDPObject* GetCurrDPObject();
52 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */