summaryrefslogtreecommitdiff
path: root/sw/inc/shellio.hxx
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2019-12-18 15:01:38 +0100
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2019-12-23 08:21:14 +0100
commit0322a41224a7264bbe03a068647ab093bcc88f90 (patch)
treef3727c86193227546c9e5e5a393395f3da769522 /sw/inc/shellio.hxx
parentf3e0595fcba689b07f6419c2fb540731a3aadecf (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>
Diffstat (limited to 'sw/inc/shellio.hxx')
-rw-r--r--sw/inc/shellio.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/sw/inc/shellio.hxx b/sw/inc/shellio.hxx
index 82da722ac10d..a959136a5244 100644
--- a/sw/inc/shellio.hxx
+++ b/sw/inc/shellio.hxx
@@ -112,6 +112,7 @@ class SwgReaderOption
bool m_bTextFormats;
bool m_bNumRules;
bool m_bMerge;
+ css::uno::Reference<css::io::XInputStream> m_xInputStream;
public:
void ResetAllFormatsOnly() { m_bFrameFormats = m_bPageDescs = m_bTextFormats = m_bNumRules = m_bMerge = false; }
bool IsFormatsOnly() const { return m_bFrameFormats || m_bPageDescs || m_bTextFormats || m_bNumRules || m_bMerge; }
@@ -135,6 +136,12 @@ public:
void SetASCIIOpts( const SwAsciiOptions& rOpts ) { aASCIIOpts = rOpts; }
void ResetASCIIOpts() { aASCIIOpts.Reset(); }
+ css::uno::Reference<css::io::XInputStream>& GetInputStream() { return m_xInputStream; }
+ void SetInputStream(css::uno::Reference<css::io::XInputStream>& xInputStream)
+ {
+ m_xInputStream = xInputStream;
+ }
+
SwgReaderOption()
{ ResetAllFormatsOnly(); aASCIIOpts.Reset(); }
};