LibreOffice Module sd (master) 1
ImagePreparer.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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#pragma once
10
11#include <vcl/timer.hxx>
12#include <com/sun/star/uno/Reference.hxx>
13
14namespace com::sun::star::presentation { class XSlideShowController; }
15namespace sd { class Transmitter; }
16
17namespace sd
18{
19
20class ImagePreparer : private Timer
21{
22 sal_uInt32 mnSendingSlide;
23public:
24 ImagePreparer( css::uno::Reference<css::presentation::XSlideShowController> xController,
25 sd::Transmitter *aTransmitter );
26 virtual ~ImagePreparer() override;
27
28private:
29 css::uno::Reference<css::presentation::XSlideShowController> xController;
31
32 virtual void Invoke() override;
33
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 );
37
38 void sendNotes( sal_uInt32 aSlideNumber );
39 OString prepareNotes( sal_uInt32 aSlideNumber );
40};
41
42}
43
44/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
ImagePreparer(css::uno::Reference< css::presentation::XSlideShowController > xController, sd::Transmitter *aTransmitter)
virtual void Invoke() override
void sendPreview(sal_uInt32 aSlideNumber)
virtual ~ImagePreparer() override
Transmitter * pTransmitter
void sendNotes(sal_uInt32 aSlideNumber)
css::uno::Sequence< sal_Int8 > preparePreview(sal_uInt32 aSlideNumber, sal_uInt32 aWidth, sal_uInt32 aHeight, sal_uInt64 &rSize)
sal_uInt32 mnSendingSlide
OString prepareNotes(sal_uInt32 aSlideNumber)
css::uno::Reference< css::presentation::XSlideShowController > xController