From 58eac1105f8504bd5320911fc6fe967ccaa3d469 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Fri, 24 Feb 2017 13:46:52 +0100 Subject: vcl: add initial CppunitTest_vcl_pdfexport Invoke the PDF export filter and then use the PDF tokenizer from xmlsecurity to assert the contents of created PDF file. The testcase fails with commit 6db0f1feb1d9931d2726dd11a889c58815710ce0 (tdf#106059 PDF export: create a reference XObject for PDF images, 2017-02-22) reverted. Change-Id: I90526fef41d9560ae447f586df766bc50a491c43 Reviewed-on: https://gerrit.libreoffice.org/34609 Reviewed-by: Miklos Vajna Tested-by: Jenkins --- include/xmlsecurity/xmlsecuritydllapi.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 include/xmlsecurity/xmlsecuritydllapi.h (limited to 'include/xmlsecurity/xmlsecuritydllapi.h') diff --git a/include/xmlsecurity/xmlsecuritydllapi.h b/include/xmlsecurity/xmlsecuritydllapi.h new file mode 100644 index 000000000000..48da5464b727 --- /dev/null +++ b/include/xmlsecurity/xmlsecuritydllapi.h @@ -0,0 +1,23 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +#ifndef INCLUDED_XMLSECURITY_XMLSECURITYDLLAPI_H +#define INCLUDED_XMLSECURITY_XMLSECURITYDLLAPI_H + +#include + +#if defined(XMLSECURITY_DLLIMPLEMENTATION) +#define XMLSECURITY_DLLPUBLIC SAL_DLLPUBLIC_EXPORT +#else +#define XMLSECURITY_DLLPUBLIC SAL_DLLPUBLIC_IMPORT +#endif + +#endif // INCLUDED_XMLSECURITY_XMLSECURITYDLLAPI_H + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit