diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2013-12-17 18:17:33 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2013-12-17 20:52:35 +0100 |
commit | 73a808f6b300fddcaab1d3c916d92785a1801d63 (patch) | |
tree | 9ce7df6c939cff99deea9f5a1f09cad2c2ec566e /include | |
parent | 25dc9aaf693ba1e4aac75659f0762f5169c10f28 (diff) |
test::FiltersTest: add support for export tests
For now, this is only implemented for the Writer RTF filter.
Change-Id: I0c7ae5b0e544bd4738652a38474f4d262ce65661
Diffstat (limited to 'include')
-rw-r--r-- | include/unotest/filters-test.hxx | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/include/unotest/filters-test.hxx b/include/unotest/filters-test.hxx index 64e368c85a05..3bcdf07432a0 100644 --- a/include/unotest/filters-test.hxx +++ b/include/unotest/filters-test.hxx @@ -43,7 +43,9 @@ public: //Clipboard id for SfxFilter unsigned int nClipboardID = 0, //additional filter version for SfxFilter - unsigned int nFilterVersion = 0); + unsigned int nFilterVersion = 0, + //export or import? + bool bExport = false); virtual bool load( const OUString &rFilter, @@ -53,6 +55,17 @@ public: unsigned int nClipboardID, unsigned int nFilterVersion) = 0; + virtual bool save( + const OUString &/*rFilter*/, + const OUString &/*rURL*/, + const OUString &/*rUserData*/, + unsigned int /*nFilterFlags*/, + unsigned int /*nClipboardID*/, + unsigned int /*nFilterVersion*/) + { + return true; + } + protected: ~FiltersTest() {} @@ -63,7 +76,8 @@ protected: const OUString &rUserData, unsigned int nFilterFlags, unsigned int nClipboardID, - unsigned int nFilterVersion); + unsigned int nFilterVersion, + bool bExport); }; } |