summaryrefslogtreecommitdiff
path: root/sw/inc/shellio.hxx
diff options
context:
space:
mode:
authorLászló Németh <laszlo.nemeth@collabora.com>2015-03-23 16:16:28 +0100
committerNémeth László <nemeth@numbertext.org>2015-03-24 07:38:04 +0000
commit9b0e09dedc76a3bc4fd7a128a3a115b328727e00 (patch)
treeea05f0ca70cf559c679f5f3bb0b7d2a107bae443 /sw/inc/shellio.hxx
parent799a7878fd5b3a5a01b59d0a4139a2b0908ccc43 (diff)
SkipImages option for document import
This option allows images and drawings to be skipped while importing DOC and DOCX, for text-only conversion or indexing. Change-Id: Id4bfbbe48d8a8e970b1cb5922187768bf94dc918 Reviewed-on: https://gerrit.libreoffice.org/14733 Reviewed-by: Németh László <nemeth@numbertext.org> Tested-by: Németh László <nemeth@numbertext.org>
Diffstat (limited to 'sw/inc/shellio.hxx')
-rw-r--r--sw/inc/shellio.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/inc/shellio.hxx b/sw/inc/shellio.hxx
index 980282c381e6..f62df9ad2f7a 100644
--- a/sw/inc/shellio.hxx
+++ b/sw/inc/shellio.hxx
@@ -154,6 +154,7 @@ class SW_DLLPUBLIC SwReader: public SwDocFac
SwPaM* pCrsr;
OUString aFileName;
OUString sBaseURL;
+ bool mbSkipImages;
public:
@@ -179,6 +180,7 @@ public:
protected:
void SetBaseURL( const OUString& rURL ) { sBaseURL = rURL; }
+ void SetSkipImages( bool bSkipImages ) { mbSkipImages = bSkipImages; }
};
// Special Readers can be both!! (Excel, W4W, .. ).
@@ -209,6 +211,7 @@ protected:
bool bOrganizerMode : 1;
bool bHasAskTemplateName : 1;
bool bIgnoreHTMLComments : 1;
+ bool bSkipImages : 1;
virtual OUString GetTemplateName() const;