Version 7.6.3.2-android, tag libreoffice-7.6.3.2-android
[LibreOffice.git] / test / source / unoapixml_test.cxx
blob23dc826cbc97df58fde3e66d07c0a0205a7e239d
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 #include <test/unoapixml_test.hxx>
12 #include <com/sun/star/frame/Desktop.hpp>
13 #include <com/sun/star/frame/XStorable.hpp>
14 #include <comphelper/processfactory.hxx>
15 #include <comphelper/propertyvalue.hxx>
17 #include <sfx2/app.hxx>
18 #include <sfx2/objsh.hxx>
19 #include <utility>
21 using namespace css;
22 using namespace css::uno;
24 UnoApiXmlTest::UnoApiXmlTest(OUString path)
25 : UnoApiTest(path)
29 xmlDocUniquePtr UnoApiXmlTest::parseExport(OUString const& rStreamName)
31 std::unique_ptr<SvStream> const pStream(parseExportStream(maTempFile.GetURL(), rStreamName));
32 xmlDocUniquePtr pXmlDoc = parseXmlStream(pStream.get());
33 return pXmlDoc;
36 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */