LibreOffice
LibreOffice 25.8 SDK API Reference
Toggle main menu visibility
Loading...
Searching...
No Matches
XSlidePreviewCache.idl
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
* This file incorporates work covered by the following license notice:
10
*
11
* Licensed to the Apache Software Foundation (ASF) under one or more
12
* contributor license agreements. See the NOTICE file distributed
13
* with this work for additional information regarding copyright
14
* ownership. The ASF licenses this file to you under the Apache
15
* License, Version 2.0 (the "License"); you may not use this file
16
* except in compliance with the License. You may obtain a copy of
17
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
18
*/
19
20
module
com
{ module sun { module star { module drawing {
21
33
interface
XSlidePreviewCache
34
{
45
void
setDocumentSlides
(
46
[in]
::com::sun::star::container::XIndexAccess
xSlides,
47
[in]
::com::sun::star::uno::XInterface
xDocument);
48
54
void
setVisibleRange
([in]
long
nFirstVisibleSlideIndex, [in]
long
nLastVisibleSlideIndex);
55
59
void
setPreviewSize
([in]
::com::sun::star::geometry::IntegerSize2D
aSize);
60
70
::com::sun::star::rendering::XBitmap
getSlidePreview
(
71
[in]
long
nSlideIndex,
72
[in]
::com::sun::star::rendering::XCanvas
xCanvas)
73
raises(
::com::sun::star::lang::IllegalArgumentException
);
74
78
void
addPreviewCreationNotifyListener
([in]
XSlidePreviewCacheListener
xListener);
79
82
void
removePreviewCreationNotifyListener
([in]
XSlidePreviewCacheListener
xListener);
83
87
void
pause
();
88
91
void
resume
();
92
};
93
94
}; }; }; };
// ::com::sun::star::drawing
95
96
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::lang::IllegalArgumentException
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument.
Definition
IllegalArgumentException.idl:27
com::sun::star::container::XIndexAccess
provides access to the elements of a collection through an index.
Definition
XIndexAccess.idl:32
com::sun::star::drawing::XSlidePreviewCacheListener
Listener for asynchronous preview creations.
Definition
XSlidePreviewCacheListener.idl:29
com::sun::star::drawing::XSlidePreviewCache
A cache of preview bitmaps for the slides of one Impress or Draw document in one size.
Definition
XSlidePreviewCache.idl:34
com::sun::star::drawing::XSlidePreviewCache::setVisibleRange
void setVisibleRange([in] long nFirstVisibleSlideIndex, [in] long nLastVisibleSlideIndex)
Define which slides are currently visible on the screen and which are not.
com::sun::star::drawing::XSlidePreviewCache::resume
void resume()
Resume the asynchronous creation of slide previews.
com::sun::star::drawing::XSlidePreviewCache::addPreviewCreationNotifyListener
void addPreviewCreationNotifyListener([in] XSlidePreviewCacheListener xListener)
Register a listener that is called when a preview has been created asynchronously.
com::sun::star::drawing::XSlidePreviewCache::pause
void pause()
Stop the asynchronous creation of previews temporarily.
com::sun::star::drawing::XSlidePreviewCache::removePreviewCreationNotifyListener
void removePreviewCreationNotifyListener([in] XSlidePreviewCacheListener xListener)
Remove a previously registered listener for preview creations.
com::sun::star::drawing::XSlidePreviewCache::getSlidePreview
::com::sun::star::rendering::XBitmap getSlidePreview([in] long nSlideIndex, [in] ::com::sun::star::rendering::XCanvas xCanvas)
Return a preview for the given slide index.
com::sun::star::drawing::XSlidePreviewCache::setDocumentSlides
void setDocumentSlides([in] ::com::sun::star::container::XIndexAccess xSlides, [in] ::com::sun::star::uno::XInterface xDocument)
Set the set of slides for which the cache will provide the previews.
com::sun::star::drawing::XSlidePreviewCache::setPreviewSize
void setPreviewSize([in] ::com::sun::star::geometry::IntegerSize2D aSize)
Define the size of the previews that are managed by the called cache.
com::sun::star::rendering::XBitmap
This is a generic interface to a bitmap.
Definition
XBitmap.idl:33
com::sun::star::rendering::XCanvas
Central interface for rendering.
Definition
XCanvas.idl:96
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition
XInterface.idl:46
com
Definition
Ambiguous.idl:20
com::sun::star::geometry::IntegerSize2D
This structure contains data representing a two-dimensional size.
Definition
IntegerSize2D.idl:29
com
sun
star
drawing
XSlidePreviewCache.idl
Generated by
1.17.0