summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2019-12-18 15:01:38 +0100
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2020-01-08 12:12:44 +0100
commit3871b7247f760cae30b3fb49c9efe0c9aaa95d06 (patch)
tree48e99fd604e039713a5222b320224d7eb2bf3db7 /offapi
parent8c1dc30cc9fc96ef3d3ab0c4445959473248ae4d (diff)
XStyleLoader::loadStylesFromURL Allow loading from stream
Change-Id: Iab0c301096118203466dd91c724c25f1283a0488 Reviewed-on: https://gerrit.libreoffice.org/85392 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> (cherry picked from commit 0322a41224a7264bbe03a068647ab093bcc88f90) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/85728 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'offapi')
-rw-r--r--offapi/com/sun/star/style/XStyleLoader.idl3
1 files changed, 3 insertions, 0 deletions
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.</p>
@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 <code>sequence<PropertyValue></code> has the following, optional items:
<ul>
<li> boolean LoadCellStyles </li>
@@ -48,6 +50,7 @@ published interface XStyleLoader: com::sun::star::uno::XInterface
<li> boolean LoadPageStyles </li>
<li> boolean LoadNumberingStyles </li>
<li> boolean OverwriteStyles</li>
+ <li> com::sun::star::io::XInputStream InputStream (since LibreOffice 6.5)</li>
</ul>
<p>As the default, all supported style families are loaded and existing styles are overwritten.</p>
*/