LibreOffice Module sw (master)
1
sw
source
core
inc
datecontentcontrolbutton.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 "
contentcontrolbutton.hxx
"
13
14
class
SwEditWin
;
15
class
SvNumberFormatter
;
16
class
SwContentControl
;
17
22
class
SwDateContentControlButton
final :
public
SwContentControlButton
23
{
24
private
:
25
SvNumberFormatter
*
m_pNumberFormatter
;
26
27
std::unique_ptr<weld::Calendar>
m_xCalendar
;
28
29
DECL_LINK
(SelectHandler,
weld::Calendar
&,
void
);
30
31
public
:
32
SwDateContentControlButton
(
SwEditWin
* pEditWin,
33
const
std::shared_ptr<SwContentControl>& pContentControl,
34
SvNumberFormatter
* pNumberFormatter);
35
~SwDateContentControlButton
()
override
;
36
37
void
LaunchPopup
()
override
;
38
void
DestroyPopup
()
override
;
39
};
40
41
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
SwContentControlButton
This button is shown when the cursor is inside a content control with drop-down capability.
Definition:
contentcontrolbutton.hxx:21
SwContentControl
Stores the properties of a content control.
Definition:
formatcontentcontrol.hxx:111
SwDateContentControlButton
This button is shown when the cursor is on a date content control.
Definition:
datecontentcontrolbutton.hxx:23
SwDateContentControlButton::DECL_LINK
DECL_LINK(SelectHandler, weld::Calendar &, void)
SwDateContentControlButton::~SwDateContentControlButton
~SwDateContentControlButton() override
Definition:
datecontentcontrolbutton.cxx:40
SwDateContentControlButton::LaunchPopup
void LaunchPopup() override
Definition:
datecontentcontrolbutton.cxx:42
SwDateContentControlButton::m_xCalendar
std::unique_ptr< weld::Calendar > m_xCalendar
Definition:
datecontentcontrolbutton.hxx:27
SwDateContentControlButton::SwDateContentControlButton
SwDateContentControlButton(SwEditWin *pEditWin, const std::shared_ptr< SwContentControl > &pContentControl, SvNumberFormatter *pNumberFormatter)
Definition:
datecontentcontrolbutton.cxx:32
SwDateContentControlButton::m_pNumberFormatter
SvNumberFormatter * m_pNumberFormatter
Definition:
datecontentcontrolbutton.hxx:25
SwDateContentControlButton::DestroyPopup
void DestroyPopup() override
Definition:
datecontentcontrolbutton.cxx:65
SwEditWin
Window class for the Writer edit area, this is the one handling mouse and keyboard events and doing t...
Definition:
edtwin.hxx:61
weld::Calendar
contentcontrolbutton.hxx
SvNumberFormatter
Generated on Sun Jul 30 2023 04:28:35 for LibreOffice Module sw (master) by
1.9.3