LibreOffice
LibreOffice 6.2 SDK API Reference
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 #ifndef __com_sun_star_drawing_XSlidePreviewCache_idl__
21 #define __com_sun_star_drawing_XSlidePreviewCache_idl__
22 
29 
30 module com { module sun { module star { module drawing {
31 
44 {
55  void setDocumentSlides (
57  [in] ::com::sun::star::uno::XInterface xDocument);
58 
64  void setVisibleRange ([in] long nFirstVisibleSlideIndex, [in] long nLastVisibleSlideIndex);
65 
69  void setPreviewSize ([in] ::com::sun::star::geometry::IntegerSize2D aSize);
70 
80  ::com::sun::star::rendering::XBitmap getSlidePreview (
81  [in] long nSlideIndex,
84 
88  void addPreviewCreationNotifyListener ([in] XSlidePreviewCacheListener xListener);
89 
92  void removePreviewCreationNotifyListener ([in] XSlidePreviewCacheListener xListener);
93 
97  void pause ();
98 
101  void resume ();
102 };
103 
104 }; }; }; }; // ::com::sun::star::drawing
105 
106 #endif
107 
108 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Central interface for rendering.
Definition: XCanvas.idl:113
This structure contains data representing a two-dimensional size.
Definition: IntegerSize2D.idl:30
Definition: Ambiguous.idl:22
This is a generic interface to a bitmap.
Definition: XBitmap.idl:40
provides access to the elements of a collection through an index.
Definition: XIndexAccess.idl:39
Listener for asynchronous preview creations.
Definition: XSlidePreviewCacheListener.idl:33
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument...
Definition: IllegalArgumentException.idl:29
A cache of preview bitmaps for the slides of one Impress or Draw document in one size.
Definition: XSlidePreviewCache.idl:43
base interface of all UNO interfaces
Definition: XInterface.idl:47