diff options
author | Mihai <mihai.varga@collabora.com> | 2015-02-13 12:56:11 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-02-17 13:31:29 +0000 |
commit | 98b27ea907517d585f5d951895ae733653a442d2 (patch) | |
tree | 34972139f7f63cbd51a7b917e4a9dc0d77a5c89c /sdext/source/pdfimport/inc | |
parent | 61e9e6d08f79a5b75674b94bccc05880256671e8 (diff) |
SkipImages option for PDF import
This option allows images and drawings to be skipped while importing
a PDF, the main reason was performance improvement where images were
not needed.
Change-Id: Ibca342ff6e7005bedf7b16869473832ce2576fb2
Reviewed-on: https://gerrit.libreoffice.org/14470
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sdext/source/pdfimport/inc')
-rw-r--r-- | sdext/source/pdfimport/inc/wrapper.hxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sdext/source/pdfimport/inc/wrapper.hxx b/sdext/source/pdfimport/inc/wrapper.hxx index 8f0fc10f5a97..6bafce4939d7 100644 --- a/sdext/source/pdfimport/inc/wrapper.hxx +++ b/sdext/source/pdfimport/inc/wrapper.hxx @@ -40,7 +40,8 @@ namespace pdfi css::task::XInteractionHandler >& xIHdl, const OUString& rPwd, const css::uno::Reference< - css::uno::XComponentContext >& xContext ); + css::uno::XComponentContext >& xContext, + const OUString& rFilterOptions = OUString()); bool xpdf_ImportFromStream( const css::uno::Reference< css::io::XInputStream >& xInput, const ContentSinkSharedPtr& rSink, @@ -48,7 +49,8 @@ namespace pdfi css::task::XInteractionHandler >& xIHdl, const OUString& rPwd, const css::uno::Reference< - css::uno::XComponentContext >& xContext ); + css::uno::XComponentContext >& xContext, + const OUString& rFilterOptions = OUString() ); } #endif // INCLUDED_SDEXT_SOURCE_PDFIMPORT_INC_WRAPPER_HXX |