diff options
Diffstat (limited to 'sw/inc/shellio.hxx')
-rw-r--r-- | sw/inc/shellio.hxx | 7 |
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(); } }; |