nss: upgrade to release 3.73
[LibreOffice.git] / sw / source / uibase / sidebar / WriterInspectorTextPanel.hxx
blob5fd3402af2228409a3a2b76668a9d45be63908c5
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 #pragma once
21 #include <sfx2/weldutils.hxx>
22 #include <svx/sidebar/InspectorTextPanel.hxx>
24 class SwWrtShell;
26 namespace sw::sidebar
28 class WriterInspectorTextPanel final : public svx::sidebar::InspectorTextPanel
30 public:
31 static VclPtr<vcl::Window> Create(vcl::Window* pParent,
32 const css::uno::Reference<css::frame::XFrame>& rxFrame);
34 WriterInspectorTextPanel(vcl::Window* pParent,
35 const css::uno::Reference<css::frame::XFrame>& rxFrame);
37 virtual ~WriterInspectorTextPanel() override;
38 virtual void dispose() override;
40 private:
41 SwWrtShell* m_pShell;
42 Link<LinkParamNone*, void> m_oldLink;
44 // attributes have changed
45 DECL_LINK(AttrChangedNotify, LinkParamNone*, void);
48 } // end of namespace svx::sidebar
50 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */