From 0322a41224a7264bbe03a068647ab093bcc88f90 Mon Sep 17 00:00:00 2001
From: Samuel Mehrbrodt
Date: Wed, 18 Dec 2019 15:01:38 +0100
Subject: XStyleLoader::loadStylesFromURL Allow loading from stream
Change-Id: Iab0c301096118203466dd91c724c25f1283a0488
Reviewed-on: https://gerrit.libreoffice.org/85392
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt
---
offapi/com/sun/star/style/XStyleLoader.idl | 3 +++
1 file changed, 3 insertions(+)
(limited to 'offapi')
diff --git a/offapi/com/sun/star/style/XStyleLoader.idl b/offapi/com/sun/star/style/XStyleLoader.idl
index a695b79dde21..2899f23d61b2 100644
--- a/offapi/com/sun/star/style/XStyleLoader.idl
+++ b/offapi/com/sun/star/style/XStyleLoader.idl
@@ -38,8 +38,10 @@ published interface XStyleLoader: com::sun::star::uno::XInterface
defined in this document are loaded.
@param URL
The directory and the filename from document with the styles
+ You can also load from stream. Use "private:stream" as the URL and the InputStream parameter below.
@param aOptions
Specifies which of the Style families the method should load.
+
The sequence
has the following, optional items:
- boolean LoadCellStyles
@@ -48,6 +50,7 @@ published interface XStyleLoader: com::sun::star::uno::XInterface
- boolean LoadPageStyles
- boolean LoadNumberingStyles
- boolean OverwriteStyles
+ - com::sun::star::io::XInputStream InputStream (since LibreOffice 6.5)
As the default, all supported style families are loaded and existing styles are overwritten.
*/
--
cgit