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

LibreOffice LibreOffice 24.2 SDK API Reference |

Loading...
Searching...
No Matches
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
21module com { module sun { module star { module drawing {
22
25 interface XSlideRenderer
26{
55 com::sun::star::awt::XBitmap createPreview (
56 [in] XDrawPage xSlide,
57 [in] com::sun::star::awt::Size aMaximumPreviewPixelSize,
58 [in] short nSuperSampleFactor);
59
74 com::sun::star::rendering::XBitmap createPreviewForCanvas (
75 [in] XDrawPage xSlide,
76 [in] com::sun::star::awt::Size aMaximumPreviewPixelSize,
77 [in] short nSuperSampleFactor,
78 [in] com::sun::star::rendering::XCanvas xCanvas);
79
87 com::sun::star::awt::Size calculatePreviewSize (
88 [in] double nSlideAspectRatio,
89 [in] com::sun::star::awt::Size aMaximumPreviewPixelSize);
90};
91
92}; }; }; }; // ::com::sun::star::drawing
93
94/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::awt::XBitmap
provides a bitmap in the Microsoft DIB format.
Definition XBitmap.idl:28
com::sun::star::drawing::XDrawPage
identifies an XShapes as a DrawPage.
Definition XDrawPage.idl:28
com::sun::star::drawing::XSlideRenderer
Create preview bitmaps for single slides.
Definition XSlideRenderer.idl:26
com::sun::star::drawing::XSlideRenderer::createPreview
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::drawing::XSlideRenderer::createPreviewForCanvas
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::drawing::XSlideRenderer::calculatePreviewSize
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...
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
Definition Ambiguous.idl:20
com::sun::star::awt::Size
specifies the 2-dimensional size of an area using width and height.
Definition Size.idl:28