summaryrefslogtreecommitdiff
path: root/xmloff/inc
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@novell.com>2011-08-26 17:20:39 +0100
committerMichael Meeks <michael.meeks@novell.com>2011-08-26 17:20:39 +0100
commit74881f6a87c260fa32bd3ba5489c6ce6f5b9caf0 (patch)
tree5ac2002086fc69c33d1eed4dbc3ac109c1d35cd6 /xmloff/inc
parenteb9531f9c01b5e3a823103c41bbb34905847b0bf (diff)
export the source storage to import filter, to mirror TargetStorage for export
Diffstat (limited to 'xmloff/inc')
-rw-r--r--xmloff/inc/xmloff/xmlimp.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/xmloff/inc/xmloff/xmlimp.hxx b/xmloff/inc/xmloff/xmlimp.hxx
index 69cbe1fe310d..498aed4e52ae 100644
--- a/xmloff/inc/xmloff/xmlimp.hxx
+++ b/xmloff/inc/xmloff/xmlimp.hxx
@@ -32,6 +32,7 @@
#include "sal/config.h"
#include "xmloff/dllapi.h"
#include "sal/types.h"
+#include <com/sun/star/embed/XStorage.hpp>
#include <com/sun/star/xml/sax/SAXParseException.hpp>
#include <com/sun/star/xml/sax/XExtendedDocumentHandler.hpp>
#include <com/sun/star/xml/sax/SAXException.hpp>
@@ -326,6 +327,10 @@ public:
GetStreamForEmbeddedObjectURLFromBase64();
::rtl::OUString ResolveEmbeddedObjectURLFromBase64();
+ // get source storage we're importing from (if available)
+ ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >
+ GetSourceStorage();
+
void AddStyleDisplayName( sal_uInt16 nFamily,
const ::rtl::OUString& rName,
const ::rtl::OUString& rDisplayName );