summaryrefslogtreecommitdiff
path: root/sc/inc/tablink.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/inc/tablink.hxx')
-rw-r--r--sc/inc/tablink.hxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/sc/inc/tablink.hxx b/sc/inc/tablink.hxx
index aabb2e25dcbe..d8d173e9b744 100644
--- a/sc/inc/tablink.hxx
+++ b/sc/inc/tablink.hxx
@@ -72,6 +72,7 @@ public:
class ScDocument;
class SfxMedium;
+class SfxFilter;
class SC_DLLPUBLIC ScDocumentLoader
{
@@ -92,7 +93,12 @@ public:
void ReleaseDocRef(); // without calling DoClose
- static OUString GetOptions( SfxMedium& rMedium );
+ /** Create SfxMedium for stream read with SfxFilter and filter options set
+ at the medium's SfxItemSet.
+ */
+ static SfxMedium* CreateMedium( const OUString& rFileName, const SfxFilter* pFilter, const OUString& rOptions );
+
+ static OUString GetOptions( SfxMedium& rMedium );
/** Returns the filter name and options from a file name.
@param bWithContent