tdf#130857 qt weld: Implement QtInstanceWidget::strip_mnemonic
[LibreOffice.git] / sd / source / ui / remotecontrol / ImagePreparer.hxx
blob10c282ccd75db569afaa2a8e4751ced940b19500
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 */
9 #pragma once
11 #include <vcl/timer.hxx>
12 #include <com/sun/star/uno/Reference.hxx>
14 namespace com::sun::star::presentation { class XSlideShowController; }
15 namespace sd { class Transmitter; }
17 namespace sd
20 class ImagePreparer : private Timer
22 sal_uInt32 mnSendingSlide;
23 public:
24 ImagePreparer( css::uno::Reference<css::presentation::XSlideShowController> xController,
25 sd::Transmitter *aTransmitter );
26 virtual ~ImagePreparer() override;
28 private:
29 css::uno::Reference<css::presentation::XSlideShowController> xController;
30 Transmitter *pTransmitter;
32 virtual void Invoke() override;
34 void sendPreview( sal_uInt32 aSlideNumber );
35 css::uno::Sequence<sal_Int8> preparePreview( sal_uInt32 aSlideNumber,
36 sal_uInt32 aWidth, sal_uInt32 aHeight, sal_uInt64 &rSize );
38 void sendNotes( sal_uInt32 aSlideNumber );
39 OString prepareNotes( sal_uInt32 aSlideNumber );
44 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */