summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHenry Castro <hcastro@collabora.com>2023-09-21 07:11:13 -0400
committerHenry Castro <hcastro@collabora.com>2023-10-31 12:13:59 +0100
commit3068163565e8e07bea6ab38a972ae99a47232feb (patch)
tree0994b880e4ae0ee42b5aedde81ba20631ba0e486 /include
parentdc01c266f09e0f77442c8e2d5df7741b6a1f6af5 (diff)
sc: qa: add loadWithParams and SaveWithParams
Add option to load and save with optional parameters. Signed-off-by: Henry Castro <hcastro@collabora.com> Change-Id: I2d735443da11634d072742f1bf6f38f90bced2c9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157141 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157569 Tested-by: Jenkins Signed-off-by: Xisco Fauli <xiscofauli@libreoffice.org> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158527
Diffstat (limited to 'include')
-rw-r--r--include/test/unoapi_test.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/test/unoapi_test.hxx b/include/test/unoapi_test.hxx
index e329168dfe7b..4ba209c44d39 100644
--- a/include/test/unoapi_test.hxx
+++ b/include/test/unoapi_test.hxx
@@ -36,12 +36,15 @@ public:
OUString createFileURL(std::u16string_view aFileBase);
OUString createFilePath(std::u16string_view aFileBase);
void load(const OUString& rURL, const char* pPassword = nullptr);
+ void loadWithParams(const OUString& rURL,
+ const css::uno::Sequence<css::beans::PropertyValue>& rParams);
OUString loadFromURL(std::u16string_view aFileBase, const char* pPassword = nullptr);
css::uno::Any executeMacro(const OUString& rScriptURL,
const css::uno::Sequence<css::uno::Any>& rParams = {});
void save(const OUString& rFilter, const char* pPassword = nullptr);
+ void saveWithParams(const css::uno::Sequence<css::beans::PropertyValue>& rParams);
void saveAndReload(const OUString& rFilter, const char* pPassword = nullptr);
std::unique_ptr<vcl::pdf::PDFiumDocument> parsePDFExport(const OString& rPassword = OString());