LibreOffice
LibreOffice 7.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 
27 
28 
29 module com { module sun { module star { module drawing {
30 
33 interface XSlideRenderer
34 {
64  [in] XDrawPage xSlide,
65  [in] com::sun::star::awt::Size aMaximumPreviewPixelSize,
66  [in] short nSuperSampleFactor);
67 
83  [in] XDrawPage xSlide,
84  [in] com::sun::star::awt::Size aMaximumPreviewPixelSize,
85  [in] short nSuperSampleFactor,
87 
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: */
provides a bitmap in the Microsoft DIB format.
Definition: XBitmap.idl:34
identifies an XShapes as a DrawPage.
Definition: XDrawPage.idl:32
Create preview bitmaps for single slides.
Definition: XSlideRenderer.idl:34
com::sun::star::awt::XBitmap createPreview([in] XDrawPage xSlide, [in] com::sun::star::awt::Size aMaximumPreviewPixelSize, [in] short nSuperSampleFactor)
Create a preview for the given slide that has the same aspect ratio as the page and is as large as po...
com::sun::star::rendering::XBitmap createPreviewForCanvas([in] XDrawPage xSlide, [in] com::sun::star::awt::Size aMaximumPreviewPixelSize, [in] short nSuperSampleFactor, [in] com::sun::star::rendering::XCanvas xCanvas)
Exactly the same functionality as createPreview(), only a different return type: com::sun::star::rend...
com::sun::star::awt::Size calculatePreviewSize([in] double nSlideAspectRatio, [in] com::sun::star::awt::Size aMaximumPreviewPixelSize)
Return a size that has the given aspect ratio and shares either the width or the height with the give...
This is a generic interface to a bitmap.
Definition: XBitmap.idl:41
Central interface for rendering.
Definition: XCanvas.idl:114
Definition: Ambiguous.idl:22
specifies the 2-dimensional size of an area using width and height.
Definition: Size.idl:30