LibreOffice Module sw (master) 1
dropdowncontentcontrolbutton.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
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
13
14class SwEditWin;
16
22{
23private:
24 std::unique_ptr<weld::TreeView> m_xTreeView;
25
26 DECL_LINK(ListBoxHandler, weld::TreeView&, bool);
27
28 void InitDropdown();
29
30public:
32 const std::shared_ptr<SwContentControl>& pContentControl);
33 virtual ~SwDropDownContentControlButton() override;
34
35 virtual void LaunchPopup() override;
36 virtual void DestroyPopup() override;
37};
38
39/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
This button is shown when the cursor is inside a content control with drop-down capability.
Stores the properties of a content control.
This button is shown when the cursor is inside a drop-down content control.
std::unique_ptr< weld::TreeView > m_xTreeView
SwDropDownContentControlButton(SwEditWin *pEditWin, const std::shared_ptr< SwContentControl > &pContentControl)
DECL_LINK(ListBoxHandler, weld::TreeView &, bool)
Window class for the Writer edit area, this is the one handling mouse and keyboard events and doing t...
Definition: edtwin.hxx:61