Use COMReference to handle COM pointers in CreateShortcut
[LibreOffice.git] / offapi / com / sun / star / graphic / XGraphicMapper.idl
blob3de68e5bcfd66b765e3c3b29466d01be67f49021
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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 */
10 module com { module sun { module star { module graphic
13 /** This interface allows mapping of XGraphics for a certain string key
15 @since LibreOffice 7.1
17 interface XGraphicMapper
19 /** Find if we have the XGraphic for the certain key */
20 com::sun::star::graphic::XGraphic findGraphic([in] string Id);
22 /** Insert a new entry to map an id/key to the XGraphic */
23 void putGraphic([in] string Id, [in] com::sun::star::graphic::XGraphic Graphic);
26 }; }; }; };
28 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */