00001 /* -*- mode: C++; tab-width: 4; c-basic-offset: 4; -*- */ 00002 00003 /* AbiWord 00004 * Copyright (c) 2011 Ben Martin 00005 * 00006 * This program is free software; you can redistribute it and/or 00007 * modify it under the terms of the GNU General Public License 00008 * as published by the Free Software Foundation; either version 2 00009 * of the License, or (at your option) any later version. 00010 * 00011 * This program is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 * GNU General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU General Public License 00017 * along with this program; if not, write to the Free Software 00018 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 00019 * 02110-1301 USA. 00020 */ 00021 00022 #ifndef PD_RDFSUPPORT_H 00023 #define PD_RDFSUPPORT_H 00024 00025 #include "pd_DocumentRDF.h" 00026 00027 ABI_EXPORT std::string toRDFXML( const std::list< PD_RDFModelHandle >& ml ); 00028 ABI_EXPORT std::string toRDFXML( PD_RDFModelHandle m ); 00029 ABI_EXPORT UT_Error loadRDFXML( PD_DocumentRDFMutationHandle m, 00030 const std::string& rdfxml, 00031 const std::string& baseuri = "" ); 00032 00033 #endif