LibreOffice Module sd (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
sd::ImagePreparer Class Reference

#include <ImagePreparer.hxx>

Inheritance diagram for sd::ImagePreparer:
[legend]
Collaboration diagram for sd::ImagePreparer:
[legend]

Public Member Functions

 ImagePreparer (css::uno::Reference< css::presentation::XSlideShowController > xController, sd::Transmitter *aTransmitter)
 
virtual ~ImagePreparer () override
 

Private Member Functions

virtual void Invoke () override
 
void sendPreview (sal_uInt32 aSlideNumber)
 
css::uno::Sequence< sal_Int8preparePreview (sal_uInt32 aSlideNumber, sal_uInt32 aWidth, sal_uInt32 aHeight, sal_uInt64 &rSize)
 
void sendNotes (sal_uInt32 aSlideNumber)
 
OString prepareNotes (sal_uInt32 aSlideNumber)
 
- Private Member Functions inherited from Timer
 Timer (const char *pDebugName)
 
 Timer (const Timer &rTimer)
 
virtual ~Timer () override
 
Timeroperator= (const Timer &rTimer)
 
virtual void Invoke () override
 
void Invoke (Timer *arg)
 
void SetInvokeHandler (const Link< Timer *, void > &rLink)
 
void ClearInvokeHandler ()
 
void SetTimeout (sal_uInt64 nTimeoutMs)
 
sal_uInt64 GetTimeout () const
 
virtual void Start (bool bStartTimer=true) override
 
virtual void SetDeletionFlags () override
 
virtual sal_uInt64 UpdateMinPeriod (sal_uInt64 nTimeNow) const override
 
 Timer (bool bAuto, const char *pDebugName)
 
- Private Member Functions inherited from Task
 Task (const char *pDebugName)
 
 Task (const Task &rTask)
 
virtual ~Task () COVERITY_NOEXCEPT_FALSE
 
Taskoperator= (const Task &rTask)
 
void SetPriority (TaskPriority ePriority)
 
TaskPriority GetPriority () const
 
const char * GetDebugName () const
 
virtual void Invoke ()=0
 
virtual void Start (bool bStartTimer=true)
 
void Stop ()
 
bool IsActive () const
 
void SetStatic ()
 
bool IsStatic () const
 
const ImplSchedulerDataGetSchedulerData () const
 
virtual void SetDeletionFlags ()
 
virtual sal_uInt64 UpdateMinPeriod (sal_uInt64 nTimeNow) const=0
 

Private Attributes

sal_uInt32 mnSendingSlide
 
css::uno::Reference< css::presentation::XSlideShowController > xController
 
TransmitterpTransmitter
 

Detailed Description

Definition at line 20 of file ImagePreparer.hxx.

Constructor & Destructor Documentation

◆ ImagePreparer()

ImagePreparer::ImagePreparer ( css::uno::Reference< css::presentation::XSlideShowController >  xController,
sd::Transmitter aTransmitter 
)

◆ ~ImagePreparer()

ImagePreparer::~ImagePreparer ( )
overridevirtual

Definition at line 56 of file ImagePreparer.cxx.

References SAL_INFO, and Task::Stop().

Member Function Documentation

◆ Invoke()

void ImagePreparer::Invoke ( )
overrideprivatevirtual

Reimplemented from Timer.

Definition at line 62 of file ImagePreparer.cxx.

References mnSendingSlide, SAL_INFO, sendNotes(), sendPreview(), Timer::Start(), Task::Stop(), and xController.

◆ prepareNotes()

OString ImagePreparer::prepareNotes ( sal_uInt32  aSlideNumber)
private

Definition at line 179 of file ImagePreparer.cxx.

References i, nCount, nIndex, OUStringToOString(), sType, u, and xController.

Referenced by sendNotes().

◆ preparePreview()

uno::Sequence< sal_Int8 > ImagePreparer::preparePreview ( sal_uInt32  aSlideNumber,
sal_uInt32  aWidth,
sal_uInt32  aHeight,
sal_uInt64 &  rSize 
)
private

Definition at line 102 of file ImagePreparer.cxx.

References File, comphelper::makePropertyValue(), and xController.

Referenced by sendPreview().

◆ sendNotes()

void ImagePreparer::sendNotes ( sal_uInt32  aSlideNumber)
private

◆ sendPreview()

void ImagePreparer::sendPreview ( sal_uInt32  aSlideNumber)
private

Member Data Documentation

◆ mnSendingSlide

sal_uInt32 sd::ImagePreparer::mnSendingSlide
private

Definition at line 22 of file ImagePreparer.hxx.

Referenced by ImagePreparer(), and Invoke().

◆ pTransmitter

Transmitter* sd::ImagePreparer::pTransmitter
private

Definition at line 30 of file ImagePreparer.hxx.

Referenced by sendNotes(), and sendPreview().

◆ xController

css::uno::Reference<css::presentation::XSlideShowController> sd::ImagePreparer::xController
private

Definition at line 29 of file ImagePreparer.hxx.

Referenced by Invoke(), prepareNotes(), preparePreview(), sendNotes(), and sendPreview().


The documentation for this class was generated from the following files: