Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #ifndef _ODE_COMMON_H_
00026 #define _ODE_COMMON_H_
00027
00028 #include <string>
00029
00030
00031 #include <ut_types.h>
00032
00033
00034 #include <gsf/gsf-output.h>
00035 #include <stdio.h>
00036
00037 #include <iosfwd>
00038
00039
00040 class UT_UTF8String;
00041
00042 void ODe_gsf_output_write(GsfOutput* output, size_t num_bytes,
00043 guint8 const *data);
00044
00045 void ODe_gsf_output_close(GsfOutput* output);
00046
00047 void ODe_writeToStream (GsfOutput* stream, const char* const message [],
00048 size_t nElements);
00049
00050 void ODe_writeUTF8String (GsfOutput* output, const UT_UTF8String& str);
00051 void ODe_writeUTF8StdString (GsfOutput* output, const std::string& str);
00052
00053 void ODe_write (GsfOutput* output, std::stringstream& ss );
00054
00055 void ODe_writeAttribute(UT_UTF8String& rOutput,
00056 const gchar* pName,
00057 const UT_UTF8String& rValue);
00058
00059 void ODe_writeAttribute(UT_UTF8String& rOutput,
00060 const gchar* pName,
00061 const gchar* pValue);
00062
00063
00064
00065 void ODe_writeToFile(GsfOutput* pDestinationFile, GsfInput* pSourceFile);
00066
00067 #endif //_ODE_COMMON_H_