summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2018-02-08 05:13:49 +0900
committerTomaž Vajngerl <quikee@gmail.com>2018-02-11 07:34:53 +0100
commitd4a44dc4cd5b4a1679a5325bc202dc9ca39d75c5 (patch)
treef603ba2b15ef0fb2668668bc05659d1d740b1d56 /offapi
parent2a6997ddd7b48a2e53f6e53b81de8eccd5e5083b (diff)
extend XGraphicStorageHandler with saveGraphicByName
We want to save the graphic with a specific name, usually this is when we want to use the same name that was used when reading the image from the document. Change-Id: I7419f0593dea333a60ce513190211e0409480e66 Reviewed-on: https://gerrit.libreoffice.org/49553 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'offapi')
-rw-r--r--offapi/com/sun/star/document/XGraphicStorageHandler.idl6
1 files changed, 4 insertions, 2 deletions
diff --git a/offapi/com/sun/star/document/XGraphicStorageHandler.idl b/offapi/com/sun/star/document/XGraphicStorageHandler.idl
index 7172710df56d..b0c9ee2efa26 100644
--- a/offapi/com/sun/star/document/XGraphicStorageHandler.idl
+++ b/offapi/com/sun/star/document/XGraphicStorageHandler.idl
@@ -15,15 +15,17 @@
module com { module sun { module star { module document {
-/** used to load, save and serialize XGraphic objects
-
+/** used to load, save and serialize XGraphic objects to the document storage
*/
interface XGraphicStorageHandler : com::sun::star::uno::XInterface
{
+
com::sun::star::graphic::XGraphic loadGraphic([in] string aURL);
string saveGraphic([in] com::sun::star::graphic::XGraphic xGraphic);
+ string saveGraphicByName([in] com::sun::star::graphic::XGraphic xGraphic, [in] string aRequestedName);
+
com::sun::star::io::XInputStream createInputStream([in] com::sun::star::graphic::XGraphic xGraphic);
};