tdf#154285 Check upper bound of arguments in SbRtl_Minute function
[LibreOffice.git] / sd / source / ui / annotations / AnnotationPopup.hxx
blobf7305ad9eecc4060480ce0e1b3691a4fde61429c
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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 */
10 #pragma once
12 #include <svx/annotation/IAnnotationPopup.hxx>
13 #include <vcl/weld.hxx>
15 namespace com::sun::star::office
17 class XAnnotation;
19 namespace sdr::annotation
21 class Annotation;
24 namespace sd
26 class View;
27 class AnnotationWindow;
29 class AnnotationPopup final : public sdr::annotation::IAnnotationPopup
31 public:
32 AnnotationPopup(rtl::Reference<sdr::annotation::Annotation> const& xAnnotation);
33 virtual ~AnnotationPopup() override;
35 void openPopup() override;
36 void closePopup() override;
38 private:
39 DECL_LINK(PopupModeEndHdl, weld::Popover&, void);
41 std::unique_ptr<AnnotationWindow> mpAnnotationWindow;
44 } // end of namespace sd
46 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */