Files
loongoffice/offapi/com/sun/star/document/GraphicStorageHandler.idl
Tomaž Vajngerl 45f20a893a [API CHANGE] deprecate XGraphicObjectResolver
XGraphicObjectResolver was used to get the GraphicObject URL from
an storage (package) URL. This isn't possible anymore in LO 6.1
since creating GraphicObject from uniqueID was removed for its
lifecycle issues. XGraphicObjectResolver is now deprecated and
when the "resolveGraphicObjectURL" is called, it throws a
RuntimeExeption.

In places where XGraphicObjectResolver was used, we now use the
XGraphicStorageHandler as the alternative. Both share a common
implementation so previously we could cast one to the other at
any time. Now only XGraphicStorageHandler is used.

GraphicObjectResolver was removed and replaced by the alternative
GraphicStorageHandler for instance creation - where needed.

Change-Id: I5d3f759c6f95b7dbe2d93688d99c8aa4899ffa84
Reviewed-on: https://gerrit.libreoffice.org/53279
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2018-04-26 18:19:32 +02:00

35 lines
924 B
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/.
*
*/
#ifndef __com_sun_star_document_GraphicStorageHandler_idl__
#define __com_sun_star_document_GraphicStorageHandler_idl__
#include <com/sun/star/document/GraphicStorageHandler.idl>
#include <com/sun/star/embed/XStorage.idl>
module com { module sun { module star { module document {
/**
Default implementation of XGraphicStorageHandler
@since LibreOffice 6.1
*/
service GraphicStorageHandler : XGraphicStorageHandler
{
createWithStorage([in] com::sun::star::embed::XStorage Storage);
};
}; }; }; };
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */