summaryrefslogtreecommitdiff
path: root/sw/qa/extras/inc
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2018-03-08 12:10:14 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2018-03-08 13:36:24 +0100
commitae510e67cdc644c541ffa26b2f91bba71a9856d2 (patch)
tree60baa930bffe70961a6a6c71c80b5cd125735c4e /sw/qa/extras/inc
parenta8959a26e18237c458a853f2ca7524e875d4c1b6 (diff)
sw XHTML export: handle native data of OLE objects
Write the native data and refer it from the XHTML stream. Change-Id: I8952ed07108ddc92b1d136bd9af6f21d3ed604f0 Reviewed-on: https://gerrit.libreoffice.org/50941 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'sw/qa/extras/inc')
-rw-r--r--sw/qa/extras/inc/swmodeltestbase.hxx17
1 files changed, 17 insertions, 0 deletions
diff --git a/sw/qa/extras/inc/swmodeltestbase.hxx b/sw/qa/extras/inc/swmodeltestbase.hxx
index 1ac89119a6b4..b4b39aad7f27 100644
--- a/sw/qa/extras/inc/swmodeltestbase.hxx
+++ b/sw/qa/extras/inc/swmodeltestbase.hxx
@@ -739,6 +739,23 @@ protected:
{
setTestInteractionHandler(pPassword, aFilterOptions);
}
+
+ if (!maImportFilterOptions.isEmpty())
+ {
+ beans::PropertyValue aValue;
+ aValue.Name = "FilterOptions";
+ aValue.Value <<= maImportFilterOptions;
+ aFilterOptions.push_back(aValue);
+ }
+
+ if (!maImportFilterName.isEmpty())
+ {
+ beans::PropertyValue aValue;
+ aValue.Name = "FilterName";
+ aValue.Value <<= maImportFilterName;
+ aFilterOptions.push_back(aValue);
+ }
+
mxComponent = loadFromDesktop(maTempFile.GetURL(), "com.sun.star.text.TextDocument", comphelper::containerToSequence(aFilterOptions));
if (pPassword)
{