add XGraphicStorageHandler interface

Desktop / LibreOffice - Toma┼ż Vajngerl [collabora.co.uk] - 1 February 2018 10:53 EST

This is a XGraphicObjectResolver (future) replacement as it will not be needed anymore. All resolving from URL to URL will be replaced by loading, saving and serialization of XGraphic objects (when appropriate), which is covered by this interface and implementation by XmlGraphicHelper - the same that implements the XGraphicObjectResolver.

Change-Id: I227634e443ce336218c2a2effaf34f9ef3576382 Reviewed-on: https://gerrit.libreoffice.org/49073

a61747c2c375 add XGraphicStorageHandler interface
include/svx/xmlgrhlp.hxx | 21 +-
offapi/UnoApi_offapi.mk | 1 +
.../sun/star/document/XGraphicStorageHandler.idl | 34 ++
svx/source/xml/xmlgrhlp.cxx | 478 ++++++++++++++++++++-
4 files changed, 516 insertions(+), 18 deletions(-)

Upstream: cgit.freedesktop.org


  • Share