Version 24.8.3.2, tag libreoffice-24.8.3.2
[LibreOffice.git] / include / test / htmltesttools.hxx
blobd72d43f8c988629e8fdaa5225e2eea9eb25ce459
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_TEST_HTMLTESTTOOLS_HXX
11 #define INCLUDED_TEST_HTMLTESTTOOLS_HXX
13 #include <sal/config.h>
14 #include <test/testdllapi.hxx>
15 #include <test/xmltesttools.hxx>
17 #include <libxml/HTMLparser.h>
18 #include <libxml/HTMLtree.h>
20 #include <unotools/tempfile.hxx>
22 using htmlDocUniquePtr = xmlDocUniquePtr;
24 class OOO_DLLPUBLIC_TEST HtmlTestTools
26 protected:
27 static htmlDocUniquePtr parseHtml(utl::TempFileNamed const& aTempFile);
28 static htmlDocUniquePtr parseHtmlStream(SvStream* pStream);
31 #endif
32 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */