LibreOffice Module sw (master) 1
DateFormFieldButton.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#ifndef INCLUDED_SW_SOURCE_CORE_TEXT_DATEFORMEFIELDBUTTO_HXX
11#define INCLUDED_SW_SOURCE_CORE_TEXT_DATEFORMEFIELDBUTTO_HXX
12
13#include "FormFieldButton.hxx"
14
15class SwEditWin;
17namespace sw::mark
18{
19class DateFieldmark;
20}
21
27{
28private:
31
32 std::unique_ptr<weld::Calendar> m_xCalendar;
33
34 DECL_LINK(ImplSelectHdl, weld::Calendar&, void);
35
36public:
38 SvNumberFormatter* pNumberFormatter);
39 virtual ~DateFormFieldButton() override;
40
41 virtual void LaunchPopup() override;
42 virtual void DestroyPopup() override;
43};
44
45#endif
46
47/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
This button is shown when the cursor is on a date form field.
SvNumberFormatter * m_pNumberFormatter
DateFormFieldButton(SwEditWin *pEditWin, sw::mark::DateFieldmark &rFieldMark, SvNumberFormatter *pNumberFormatter)
sw::mark::DateFieldmark * m_pDateFieldmark
DECL_LINK(ImplSelectHdl, weld::Calendar &, void)
std::unique_ptr< weld::Calendar > m_xCalendar
virtual ~DateFormFieldButton() override
virtual void LaunchPopup() override
virtual void DestroyPopup() override
This button is shown when the cursor is on a form field with drop-down capability.
Window class for the Writer edit area, this is the one handling mouse and keyboard events and doing t...
Definition: edtwin.hxx:61
Fieldmark representing a date form field.