LibreOffice Module sw (master)
1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
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: */
DropDownFormFieldButton::~DropDownFormFieldButton
virtual ~DropDownFormFieldButton() override
Definition:
DropDownFormFieldButton.cxx:97
DropDownFormFieldButton::InitDropdown
void InitDropdown()
Popup dialog for drop-down form field showing the list items of the field.
Definition:
DropDownFormFieldButton.cxx:26
sw::mark
Definition:
annotationmark.cxx:34
weld::TreeView
DropDownFormFieldButton::LaunchPopup
virtual void LaunchPopup() override
Definition:
DropDownFormFieldButton.cxx:99
FormFieldButton
This button is shown when the cursor is on a form field with drop-down capability.
Definition:
FormFieldButton.hxx:25
DropDownFormFieldButton::DestroyPopup
virtual void DestroyPopup() override
Definition:
DropDownFormFieldButton.cxx:111
SwEditWin
Window class for the Writer edit area, this is the one handling mouse and keyboard events and doing t...
Definition:
edtwin.hxx:59
FormFieldButton.hxx
DropDownFormFieldButton::m_xTreeView
std::unique_ptr< weld::TreeView > m_xTreeView
Definition:
DropDownFormFieldButton.hxx:27
DropDownFormFieldButton::DropDownFormFieldButton
DropDownFormFieldButton(SwEditWin *pEditWin, sw::mark::DropDownFieldmark &rFieldMark)
Definition:
DropDownFormFieldButton.cxx:91
DropDownFormFieldButton::DECL_LINK
DECL_LINK(MyListBoxHandler, weld::TreeView &, bool)
sw::mark::DropDownFieldmark
Fieldmark representing a drop-down form field.
Definition:
core/inc/bookmark.hxx:281
DropDownFormFieldButton
This button is shown when the cursor is on a drop-down form field.
Definition:
DropDownFormFieldButton.hxx:24
Generated on Tue Jun 21 2022 19:47:55 for LibreOffice Module sw (master) by
1.8.10