Kaydet (Commit) e51a5546 authored tarafından osnola's avatar osnola Kaydeden (comit) David Tardon

try to retrieve the .fm3 file when reading a .wp3 file

Change-Id: Ib2c2af423b92a65c08c2647a1e931ea54228c203
üst 707c81bd
......@@ -36,6 +36,7 @@ $(eval $(call gb_Library_use_libraries,wpftcalc,\
sot \
svx \
tl \
ucbhelper \
utl \
vcl \
writerperfect \
......
......@@ -64,6 +64,11 @@ public:
{
}
const css::uno::Reference< css::uno::XComponentContext > &getXContext() const
{
return mxContext;
}
// XFilter
virtual sal_Bool SAL_CALL filter(const css::uno::Sequence< css::beans::PropertyValue > &rDescriptor)
throw (css::uno::RuntimeException, std::exception) override
......@@ -107,6 +112,10 @@ public:
}
// XImporter
const css::uno::Reference< css::lang::XComponent > &getTargetDocument() const
{
return mxDoc;
}
virtual void SAL_CALL setTargetDocument(const css::uno::Reference< css::lang::XComponent > &xDoc)
throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override
{
......
......@@ -34,6 +34,9 @@ public:
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
throw (css::uno::RuntimeException, std::exception) override;
//XFilter
virtual sal_Bool SAL_CALL filter(const css::uno::Sequence< css::beans::PropertyValue > &rDescriptor)
throw (css::uno::RuntimeException, std::exception) override;
private:
virtual bool doDetectFormat(librevenge::RVNGInputStream &rInput, OUString &rTypeName) override;
virtual bool doImportDocument(librevenge::RVNGInputStream &rInput, OdsGenerator &rGenerator, utl::MediaDescriptor &) override;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment