LibreOffice: com/sun/star/document/XGraphicStorageHandler.idl Source File

LibreOffice LibreOffice 26.2 SDK API Reference

Loading...
Searching...
No Matches
XGraphicStorageHandler.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 */
10
11module com { module sun { module star { module document {
12
18 interface XGraphicStorageHandler : com::sun::star::uno::XInterface
19{
22 com::sun::star::graphic::XGraphic loadGraphic([in] string aURL);
23
26 com::sun::star::graphic::XGraphic loadGraphicFromOutputStream([in] com::sun::star::io::XOutputStream xOutputStream);
27
31 string saveGraphic([in] com::sun::star::graphic::XGraphic xGraphic);
32
37 string saveGraphicByName([in] com::sun::star::graphic::XGraphic xGraphic, [out] string savedMimeType, [in] string aRequestedName);
38
41 com::sun::star::io::XInputStream createInputStream([in] com::sun::star::graphic::XGraphic xGraphic);
42};
43
44}; }; }; };
45
46/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::document::XGraphicStorageHandler
interface for loading, saving and serializing of XGraphic objects to a document storage
Definition XGraphicStorageHandler.idl:19
com::sun::star::document::XGraphicStorageHandler::loadGraphic
com::sun::star::graphic::XGraphic loadGraphic([in] string aURL)
load a graphic defined by the URL from the storage
com::sun::star::document::XGraphicStorageHandler::loadGraphicFromOutputStream
com::sun::star::graphic::XGraphic loadGraphicFromOutputStream([in] com::sun::star::io::XOutputStream xOutputStream)
load a graphic from the output stream
com::sun::star::document::XGraphicStorageHandler::createInputStream
com::sun::star::io::XInputStream createInputStream([in] com::sun::star::graphic::XGraphic xGraphic)
create an input stream from the input graphic
com::sun::star::document::XGraphicStorageHandler::saveGraphic
string saveGraphic([in] com::sun::star::graphic::XGraphic xGraphic)
save the graphic to the storage and return the URL reference to its location inside the storage
com::sun::star::document::XGraphicStorageHandler::saveGraphicByName
string saveGraphicByName([in] com::sun::star::graphic::XGraphic xGraphic, [out] string savedMimeType, [in] string aRequestedName)
save the graphic to the storage with a requested name and return the URL reference to its location in...
com::sun::star::graphic::XGraphic
This interface acts as a container for the loaded graphic.
Definition XGraphic.idl:38
com::sun::star::io::XInputStream
This is the basic interface to read data from a stream.
Definition XInputStream.idl:30
com::sun::star::io::XOutputStream
This is the basic interface to write data to a stream.
Definition XOutputStream.idl:30
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition XInterface.idl:46
com
Definition Ambiguous.idl:20