00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 00002 /* 00003 * This file is part of the libabw project. 00004 * 00005 * This Source Code Form is subject to the terms of the Mozilla Public 00006 * License, v. 2.0. If a copy of the MPL was not distributed with this 00007 * file, You can obtain one at http://mozilla.org/MPL/2.0/. 00008 */ 00009 00010 #ifndef __ABWXMLHELPER_H__ 00011 #define __ABWXMLHELPER_H__ 00012 00013 #include <libwpd-stream/libwpd-stream.h> 00014 #include <libxml/xmlreader.h> 00015 00016 namespace libabw 00017 { 00018 00019 // create an xmlTextReader pointer from a WPXInputStream pointer 00020 // needs to be freed using xmlTextReaderFree function. 00021 00022 xmlTextReaderPtr xmlReaderForStream(WPXInputStream *input); 00023 00024 } // namespace libabw 00025 00026 #endif // __ABWXMLHELPER_H__ 00027 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */