#include <string>
#include <ut_types.h>
#include <gsf/gsf-output.h>
#include <stdio.h>
#include <iosfwd>
Go to the source code of this file.
Functions | |
void | ODe_gsf_output_write (GsfOutput *output, size_t num_bytes, guint8 const *data) |
void | ODe_gsf_output_close (GsfOutput *output) |
void | ODe_writeToStream (GsfOutput *stream, const char *const message[], size_t nElements) |
Write out a message to the stream. | |
void | ODe_writeUTF8String (GsfOutput *output, const UT_UTF8String &str) |
void | ODe_writeUTF8StdString (GsfOutput *output, const std::string &str) |
void | ODe_write (GsfOutput *output, std::stringstream &ss) |
void | ODe_writeAttribute (UT_UTF8String &rOutput, const gchar *pName, const UT_UTF8String &rValue) |
void | ODe_writeAttribute (UT_UTF8String &rOutput, const gchar *pName, const gchar *pValue) |
void | ODe_writeToFile (GsfOutput *pDestinationFile, GsfInput *pSourceFile) |
The source file is rewinded before writing its contents into the destination and after that it's left on its EOF state. |
void ODe_gsf_output_close | ( | GsfOutput * | output | ) |
References UT_ASSERT, UT_DEBUGMSG, and UT_SHOULD_NOT_HAPPEN.
Referenced by ODe_Text_Listener::_closeODParagraph(), IE_Exp_OpenDocument::_writeDocument(), ODe_DocumentData::writeContentXML(), ODe_ManifestWriter::writeManifest(), ODe_MetaDataWriter::writeMetaData(), ODe_PicturesWriter::writePictures(), ODe_RDFWriter::writeRDF(), ODe_SettingsWriter::writeSettings(), ODe_DocumentData::writeStylesXML(), ODe_AuxiliaryData::~ODe_AuxiliaryData(), ODe_DocumentData::~ODe_DocumentData(), ODe_Style_MasterPage::~ODe_Style_MasterPage(), and ODe_Table_Cell::~ODe_Table_Cell().
void ODe_gsf_output_write | ( | GsfOutput * | output, | |
size_t | num_bytes, | |||
guint8 const * | data | |||
) |
References UT_ASSERT, UT_DEBUGMSG, and UT_SHOULD_NOT_HAPPEN.
Referenced by IE_Exp_OpenDocument::_writeDocument(), ODe_ManifestWriter::ensureDirectoryManifest(), ODe_write(), ODe_writeToStream(), ODe_writeUTF8StdString(), ODe_writeUTF8String(), ODe_Style_MasterPage::write(), ODe_DocumentData::writeContentXML(), ODe_ManifestWriter::writeManifest(), ODe_PicturesWriter::writePictures(), and ODe_RDFWriter::writeRDF().
void ODe_write | ( | GsfOutput * | output, | |
std::stringstream & | ss | |||
) |
References ODe_gsf_output_write().
Referenced by ODe_Text_Listener::endAnnotation().
void ODe_writeAttribute | ( | UT_UTF8String & | rOutput, | |
const gchar * | pName, | |||
const gchar * | pValue | |||
) |
void ODe_writeAttribute | ( | UT_UTF8String & | rOutput, | |
const gchar * | pName, | |||
const UT_UTF8String & | rValue | |||
) |
References UT_UTF8String::empty().
Referenced by ODe_Frame_Listener::_openODTextbox(), ODe_ListLevelStyle::_writeListLevelProperties(), ODe_Table_Listener::closeTable(), ODe_Text_Listener::insertInlinedImage(), ODe_Text_Listener::insertPositionedImage(), ODe_Table_Row::write(), ODe_Table_Column::write(), ODe_Table_Cell::write(), ODe_Style_Style::GraphicProps::write(), ODe_Style_Style::CellProps::write(), ODe_Style_Style::RowProps::write(), ODe_Style_Style::ColumnProps::write(), ODe_Style_Style::TableProps::write(), ODe_Style_Style::TextProps::write(), ODe_Style_Style::ParagraphProps::write(), ODe_Style_Style::SectionProps::write(), ODe_Style_Style::write(), ODe_Style_PageLayout::write(), and ODe_Numbered_ListLevelStyle::write().
void ODe_writeToFile | ( | GsfOutput * | pDestinationFile, | |
GsfInput * | pSourceFile | |||
) |
The source file is rewinded before writing its contents into the destination and after that it's left on its EOF state.
void ODe_writeToStream | ( | GsfOutput * | stream, | |
const char *const | message[], | |||
size_t | nElements | |||
) |
Write out a message to the stream.
Message is an array of content
References ODe_gsf_output_write().
Referenced by ODe_DocumentData::writeContentXML(), ODe_ManifestWriter::writeManifest(), ODe_MetaDataWriter::writeMetaData(), ODe_SettingsWriter::writeSettings(), and ODe_DocumentData::writeStylesXML().
void ODe_writeUTF8StdString | ( | GsfOutput * | output, | |
const std::string & | str | |||
) |
References ODe_gsf_output_write().
Referenced by ODe_MetaDataWriter::writeMetaData().
void ODe_writeUTF8String | ( | GsfOutput * | output, | |
const UT_UTF8String & | str | |||
) |
References UT_UTF8String::byteLength(), ODe_gsf_output_write(), and UT_UTF8String::utf8_str().
Referenced by ODe_Note_Listener::_closeNote(), ODe_Text_Listener::_closeODList(), ODe_Note_Listener::_openNote(), ODe_Text_Listener::_openODListItem(), ODe_Frame_Listener::_openODTextbox(), ODe_Text_Listener::_openParagraphDelayed(), ODe_ListLevelStyle::_writeListLevelProperties(), ODe_ListLevelStyle::_writeTextProperties(), ODe_Text_Listener::closeAnnotation(), ODe_TOC_Listener::closeBlock(), ODe_Text_Listener::closeBookmark(), ODe_Text_Listener::closeField(), ODe_Frame_Listener::closeFrame(), ODe_Text_Listener::closeHyperlink(), ODe_Text_Listener::closeRDFAnchor(), ODe_Main_Listener::closeSection(), ODe_Text_Listener::closeSpan(), ODe_Table_Listener::closeTable(), ODe_Text_Listener::closeTOC(), ODe_Text_Listener::insertInlinedImage(), ODe_Text_Listener::insertLineBreak(), ODe_Text_Listener::insertPositionedImage(), ODe_TOC_Listener::insertTabChar(), ODe_Text_Listener::insertTabChar(), ODe_TOC_Listener::insertText(), ODe_Text_Listener::insertText(), ODe_Text_Listener::openAnnotation(), ODe_TOC_Listener::openBlock(), ODe_Text_Listener::openBookmark(), ODe_Text_Listener::openField(), ODe_Text_Listener::openFrame(), ODe_Text_Listener::openHyperlink(), ODe_Text_Listener::openRDFAnchor(), ODe_Main_Listener::openSection(), ODe_Text_Listener::openSpan(), ODe_Text_Listener::openTOC(), ODe_Table_Row::write(), ODe_Table_Column::write(), ODe_Table_Cell::write(), ODe_Styles::write(), ODe_Style_Style::write(), ODe_Style_PageLayout::write(), ODe_Style_MasterPage::write(), ODe_Style_List::write(), ODe_Numbered_ListLevelStyle::write(), ODe_Bullet_ListLevelStyle::write(), ODe_FontFaceDecls::write(), ODe_AutomaticStyles::write(), ODe_DocumentData::writeContentXML(), ODe_MetaDataWriter::writeMetaData(), and ODe_DocumentData::writeStylesXML().