forked from amazingfate/loongoffice
...which were used by ildc, which is gone since a8485d558fab53291e2530fd9a1be581c1628deb "[API CHANGE] Remove deprecated idlc and regmerge from the SDK", and have always been ignored as legacy by its unoidl-write replacement. This change has been carried out (making use of GNU sed extensions) with > for i in $(git ls-files \*.idl); do sed -i -z -E -e 's/\n\n((#[^\n]*\n)+\n)*(#[^\n]*\n)+\n?/\n\n/g' -e 's/\n(#[^\n]*\n)+/\n/g' "$i"; done && git checkout extensions/source/activex/so_activex.idl odk/examples/OLE/activex/so_activex.idl which apparently happened to do the work. (The final two files are not UNOIDL source files.) Change-Id: Ic9369e05d46e8f7e8a304ab01740b171b92335cd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135683 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
47 lines
1.7 KiB
Plaintext
47 lines
1.7 KiB
Plaintext
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
|
/*
|
|
* This file is part of the LibreOffice project.
|
|
*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
*
|
|
*/
|
|
|
|
module com { module sun { module star { module document {
|
|
|
|
/** interface for loading, saving and serializing of XGraphic objects to
|
|
a document storage
|
|
|
|
@since LibreOffice 6.1
|
|
*/
|
|
interface XGraphicStorageHandler : com::sun::star::uno::XInterface
|
|
{
|
|
/** load a graphic defined by the URL from the storage
|
|
*/
|
|
com::sun::star::graphic::XGraphic loadGraphic([in] string aURL);
|
|
|
|
/** load a graphic from the output stream
|
|
*/
|
|
com::sun::star::graphic::XGraphic loadGraphicFromOutputStream([in] com::sun::star::io::XOutputStream xOutputStream);
|
|
|
|
/** save the graphic to the storage and return the URL reference to
|
|
its location inside the storage
|
|
*/
|
|
string saveGraphic([in] com::sun::star::graphic::XGraphic xGraphic);
|
|
|
|
/** save the graphic to the storage with a requested name and return
|
|
the URL reference to its location inside the storage and the mime
|
|
type of the format that the graphic was saved to as an output parameter
|
|
*/
|
|
string saveGraphicByName([in] com::sun::star::graphic::XGraphic xGraphic, [out] string savedMimeType, [in] string aRequestedName);
|
|
|
|
/** create an input stream from the input graphic
|
|
*/
|
|
com::sun::star::io::XInputStream createInputStream([in] com::sun::star::graphic::XGraphic xGraphic);
|
|
};
|
|
|
|
}; }; }; };
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|