1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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/.
10 #ifndef INCLUDED_TOOLS_XMLWALKER_HXX
11 #define INCLUDED_TOOLS_XMLWALKER_HXX
13 #include <tools/toolsdllapi.h>
14 #include <rtl/string.hxx>
24 * XmlWalker main purpose is to make it easier for walking the
25 * parsed XML DOM tree.
27 * It hides all the libxml2 and C -isms and makes the usage more
28 * comfortable from LO developer point of view.
31 class TOOLS_DLLPUBLIC XmlWalker final
34 std::unique_ptr
<XmlWalkerImpl
> mpImpl
;
41 bool open(SvStream
* pStream
);
50 OString
attribute(const OString
& sName
);
53 } // end tools namespace
55 #endif // INCLUDED_TOOLS_XMLWRITER_HXX
57 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */