LibreOffice: com/sun/star/drawing/XSlidePreviewCache.idl Source File

LibreOffice LibreOffice 5.1 SDK API Reference

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List
- File Members

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
23 #include <com/sun/star/container/XIndexAccess.idl>
24 #include <com/sun/star/geometry/IntegerSize2D.idl>
25 #include <com/sun/star/lang/IllegalArgumentException.idl>
26 #include <com/sun/star/rendering/XBitmap.idl>
27 #include <com/sun/star/rendering/XCanvas.idl>
28 #include <com/sun/star/drawing/XSlidePreviewCacheListener.idl>
29
30 module com { module sun { module star { module drawing {
31
43 interface XSlidePreviewCache
44 {
55 void setDocumentSlides (
56 [in] ::com::sun::star::container::XIndexAccess xSlides,
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,
82 [in] ::com::sun::star::rendering::XCanvas xCanvas)
83 raises(::com::sun::star::lang::IllegalArgumentException);
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: */
XCanvas.idl
com::sun::star::rendering::XCanvas
Central interface for rendering.
Definition: XCanvas.idl:113
com::sun::star::geometry::IntegerSize2D
This structure contains data representing a two-dimensional size.
Definition: IntegerSize2D.idl:30
IllegalArgumentException.idl
com
Definition: Ambiguous.idl:22
com::sun::star::rendering::XBitmap
This is a generic interface to a bitmap.
Definition: XBitmap.idl:40
com::sun::star::container::XIndexAccess
provides access to the elements of a collection through an index.
Definition: XIndexAccess.idl:39
XSlidePreviewCacheListener.idl
XIndexAccess.idl
com::sun::star::drawing::XSlidePreviewCacheListener
Listener for asynchronous preview creations.
Definition: XSlidePreviewCacheListener.idl:33
com::sun::star::lang::IllegalArgumentException
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument...
Definition: IllegalArgumentException.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:43
IntegerSize2D.idl
XBitmap.idl
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition: XInterface.idl:47