LibreOffice Module sw (master)
1
sw
source
core
inc
DropDownFormFieldButton.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
12
#include "
FormFieldButton.hxx
"
13
14
class
SwEditWin
;
15
namespace
sw::mark
16
{
17
class
DropDownFieldmark;
18
}
19
24
class
DropDownFormFieldButton
final :
public
FormFieldButton
25
{
26
private
:
27
std::unique_ptr<weld::TreeView>
m_xTreeView
;
28
29
DECL_LINK
(MyListBoxHandler,
weld::TreeView
&,
bool
);
30
31
void
InitDropdown
();
32
33
public
:
34
DropDownFormFieldButton
(
SwEditWin
* pEditWin,
sw::mark::DropDownFieldmark
& rFieldMark);
35
virtual
~DropDownFormFieldButton
()
override
;
36
37
virtual
void
LaunchPopup
()
override
;
38
virtual
void
DestroyPopup
()
override
;
39
};
40
41
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
FormFieldButton.hxx
DropDownFormFieldButton
This button is shown when the cursor is on a drop-down form field.
Definition:
DropDownFormFieldButton.hxx:25
DropDownFormFieldButton::InitDropdown
void InitDropdown()
Popup dialog for drop-down form field showing the list items of the field.
Definition:
DropDownFormFieldButton.cxx:26
DropDownFormFieldButton::DropDownFormFieldButton
DropDownFormFieldButton(SwEditWin *pEditWin, sw::mark::DropDownFieldmark &rFieldMark)
Definition:
DropDownFormFieldButton.cxx:91
DropDownFormFieldButton::m_xTreeView
std::unique_ptr< weld::TreeView > m_xTreeView
Definition:
DropDownFormFieldButton.hxx:27
DropDownFormFieldButton::LaunchPopup
virtual void LaunchPopup() override
Definition:
DropDownFormFieldButton.cxx:99
DropDownFormFieldButton::~DropDownFormFieldButton
virtual ~DropDownFormFieldButton() override
Definition:
DropDownFormFieldButton.cxx:97
DropDownFormFieldButton::DestroyPopup
virtual void DestroyPopup() override
Definition:
DropDownFormFieldButton.cxx:111
DropDownFormFieldButton::DECL_LINK
DECL_LINK(MyListBoxHandler, weld::TreeView &, bool)
FormFieldButton
This button is shown when the cursor is on a form field with drop-down capability.
Definition:
FormFieldButton.hxx:26
SwEditWin
Window class for the Writer edit area, this is the one handling mouse and keyboard events and doing t...
Definition:
edtwin.hxx:61
sw::mark::DropDownFieldmark
Fieldmark representing a drop-down form field.
Definition:
core/inc/bookmark.hxx:297
weld::TreeView
sw::mark
Definition:
annotationmark.cxx:35
Generated on Sun Jul 30 2023 04:28:36 for LibreOffice Module sw (master) by
1.9.3