LibreOffice Module sw (master) 1
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
13
14class SwEditWin;
17
23{
24private:
26
27 std::unique_ptr<weld::Calendar> m_xCalendar;
28
29 DECL_LINK(SelectHandler, weld::Calendar&, void);
30
31public:
33 const std::shared_ptr<SwContentControl>& pContentControl,
34 SvNumberFormatter* pNumberFormatter);
36
37 void LaunchPopup() override;
38 void DestroyPopup() override;
39};
40
41/* 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 on a date content control.
DECL_LINK(SelectHandler, weld::Calendar &, void)
std::unique_ptr< weld::Calendar > m_xCalendar
SwDateContentControlButton(SwEditWin *pEditWin, const std::shared_ptr< SwContentControl > &pContentControl, SvNumberFormatter *pNumberFormatter)
Window class for the Writer edit area, this is the one handling mouse and keyboard events and doing t...
Definition: edtwin.hxx:61