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

LibreOffice LibreOffice 5.4 SDK API Reference

XSlideRenderer.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_XSlideRenderer_idl__
21 #define __com_sun_star_drawing_XSlideRenderer_idl__
22
23 #include <com/sun/star/awt/XBitmap.idl>
24 #include <com/sun/star/drawing/XDrawPage.idl>
25 #include <com/sun/star/rendering/XBitmap.idl>
26 #include <com/sun/star/rendering/XSpriteCanvas.idl>
27
28
29 module com { module sun { module star { module drawing {
30
33 interface XSlideRenderer
34 {
63 com::sun::star::awt::XBitmap createPreview (
64 [in] XDrawPage xSlide,
65 [in] com::sun::star::awt::Size aMaximumPreviewPixelSize,
66 [in] short nSuperSampleFactor);
67
82 com::sun::star::rendering::XBitmap createPreviewForCanvas (
83 [in] XDrawPage xSlide,
84 [in] com::sun::star::awt::Size aMaximumPreviewPixelSize,
85 [in] short nSuperSampleFactor,
86 [in] com::sun::star::rendering::XCanvas xCanvas);
87
95 com::sun::star::awt::Size calculatePreviewSize (
96 [in] double nSlideAspectRatio,
97 [in] com::sun::star::awt::Size aMaximumPreviewPixelSize);
98 };
99
100 }; }; }; }; // ::com::sun::star::drawing
101
102 #endif
103
104 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::rendering::XCanvas
Central interface for rendering.
Definition: XCanvas.idl:113
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::awt::XBitmap
provides a bitmap in the Microsoft DIB format.
Definition: XBitmap.idl:33
XBitmap.idl
XSpriteCanvas.idl
com::sun::star::awt::Size
specifies the 2-dimensional size of an area using width and height.
Definition: Size.idl:29
XBitmap.idl
com::sun::star::drawing::XSlideRenderer
Create preview bitmaps for single slides.
Definition: XSlideRenderer.idl:33
XDrawPage.idl
com::sun::star::drawing::XDrawPage
identifies an XShapes as a DrawPage.
Definition: XDrawPage.idl:31