diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2017-05-02 18:02:20 +0200 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2017-05-03 20:05:29 +0200 |
commit | acfda3dd7cab2a27780a162310bd8a457f9bfa33 (patch) | |
tree | 8dd23edf17e9d3840351f7fe8354f130be3e89f6 /sw/source/filter/basflt | |
parent | 946f3f491d3f7e47be6c5b943e725009b4cf2d16 (diff) |
AutoText: first tests & windows fix
First tests for AutoText DOCX import:
+ checking if nothing will be imported when
there is no AutoText, only normal content
+ checking count of loaded entries
+ checking names of entries
+ checking first and last paragraph
Windows fix: Added swdocxreader to msword library
Change-Id: I3cf02572dd85e72b1566ce523e373753a4bd346c
Reviewed-on: https://gerrit.libreoffice.org/37176
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'sw/source/filter/basflt')
-rw-r--r-- | sw/source/filter/basflt/fltini.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sw/source/filter/basflt/fltini.cxx b/sw/source/filter/basflt/fltini.cxx index 8c46c757e454..a1459c780fa3 100644 --- a/sw/source/filter/basflt/fltini.cxx +++ b/sw/source/filter/basflt/fltini.cxx @@ -164,6 +164,11 @@ Reader* GetRtfReader() return aReaderWriter[READER_WRITER_RTF].GetReader(); } +Reader* GetDOCXReader() +{ + return aReaderWriter[READER_WRITER_DOCX].GetReader(); +} + void GetWriter( const OUString& rFltName, const OUString& rBaseURL, WriterRef& xRet ) { for( int n = 0; n < MAXFILTER; ++n ) |