LibreOffice
LibreOffice 7.4 SDK API Reference
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 #ifndef __com_sun_star_document_XGraphicStorageHandler_idl__
11 #define __com_sun_star_document_XGraphicStorageHandler_idl__
12 
15 
16 module com { module sun { module star { module document {
17 
24 {
28 
32 
37 
42  string saveGraphicByName([in] com::sun::star::graphic::XGraphic xGraphic, [out] string savedMimeType, [in] string aRequestedName);
43 
47 };
48 
49 }; }; }; };
50 
51 #endif
52 
53 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
interface for loading, saving and serializing of XGraphic objects to a document storage
Definition: XGraphicStorageHandler.idl:24
com::sun::star::graphic::XGraphic loadGraphic([in] string aURL)
load a graphic defined by the URL from the storage
com::sun::star::graphic::XGraphic loadGraphicFromOutputStream([in] com::sun::star::io::XOutputStream xOutputStream)
load a graphic from the output stream
com::sun::star::io::XInputStream createInputStream([in] com::sun::star::graphic::XGraphic xGraphic)
create an input stream from the input graphic
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
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...
This interface acts as a container for the loaded graphic.
Definition: XGraphic.idl:44
This is the basic interface to read data from a stream.
Definition: XInputStream.idl:38
This is the basic interface to write data to a stream.
Definition: XOutputStream.idl:38
base interface of all UNO interfaces
Definition: XInterface.idl:48
Definition: Ambiguous.idl:22