bump product version to 5.0.4.1
[LibreOffice.git] / sc / qa / unit / helper / xpath.hxx
blobdedd929617627db4b1960d573ed56ed46a60b5f1
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
10 #ifndef INCLUDED_SC_QA_UNIT_HELPER_XPATH_HXX
11 #define INCLUDED_SC_QA_UNIT_HELPER_XPATH_HXX
13 #include <com/sun/star/lang/XMultiServiceFactory.hpp>
15 #include <libxml/xpathInternals.h>
16 #include <libxml/parserInternals.h>
18 #include <rtl/string.hxx>
19 #include <rtl/ustring.hxx>
21 #if defined(SCQAHELPER_DLLIMPLEMENTATION)
22 #define SCQAHELPER_DLLPUBLIC SAL_DLLPUBLIC_EXPORT
23 #else
24 #define SCQAHELPER_DLLPUBLIC SAL_DLLPUBLIC_IMPORT
25 #endif
27 #include "docsh.hxx"
29 using namespace com::sun::star;
31 namespace XPathHelper
33 /**
34 * Given that some problem doesn't affect the result in the importer, we
35 * test the resulting file directly, by opening the zip file, parsing an
36 * xml stream, and asserting an XPath expression. This method returns the
37 * xml stream, so that you can do the asserting.
39 SCQAHELPER_DLLPUBLIC xmlDocPtr parseExport(ScDocShell* pShell, uno::Reference< lang::XMultiServiceFactory> xSFactory,
40 const OUString& rFile, sal_Int32 nFormat);
43 #endif
45 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */