#include <ie_exp_OpenDocument.h>
Public Member Functions | |
| IE_Exp_OpenDocument (PD_Document *pDocument) | |
| Constructor. | |
| virtual | ~IE_Exp_OpenDocument () |
| Destructor. | |
| void | setGSFOutput (GsfOutput *pBuf) |
Protected Member Functions | |
| virtual GsfOutput * | _openFile (const char *szFilename) |
| virtual UT_Error | _writeDocument (void) |
| This writes out our AbiWord file as an OpenOffice compound document. | |
| virtual UT_Error | copyToBuffer (PD_DocumentRange *pDocRange, const UT_ByteBufPtr &bufODT) |
Private Attributes | |
| GsfOutfile * | m_odt |
| IE_Exp_OpenDocument::IE_Exp_OpenDocument | ( | PD_Document * | pDocument | ) |
Constructor.
| IE_Exp_OpenDocument::~IE_Exp_OpenDocument | ( | ) | [virtual] |
Destructor.
| GsfOutput * IE_Exp_OpenDocument::_openFile | ( | const char * | szFilename | ) | [protected, virtual] |
Reimplemented from IE_Exp.
References IE_Exp::getProperty(), UT_go_filename_from_uri(), and UT_parseBool().
| UT_Error IE_Exp_OpenDocument::_writeDocument | ( | void | ) | [protected, virtual] |
This writes out our AbiWord file as an OpenOffice compound document.
Implements IE_Exp.
References DELETEP, ODe_DocumentData::doPostListeningWork(), ODe_DocumentData::doPreListeningWork(), abicollab::service::error(), ODe_AbiDocListener::finished(), IE_Exp::getDoc(), PD_Document::getDocumentRDF(), IE_Exp::getFp(), IE_Exp::getProperty(), ODe_AuxiliaryData::m_additionalRDF, m_odt, ODe_AuxiliaryData::m_pTOCContents, ODe_DocumentData::m_styles, ODe_gsf_output_close(), ODe_gsf_output_write(), UT_ASSERT_HARMLESS, UT_DEBUGMSG, UT_ERROR, UT_parseBool(), UT_return_val_if_fail, UT_SHOULD_NOT_HAPPEN, ODe_DocumentData::writeContentXML(), ODe_ManifestWriter::writeManifest(), ODe_MetaDataWriter::writeMetaData(), ODe_PicturesWriter::writePictures(), ODe_RDFWriter::writeRDF(), ODe_SettingsWriter::writeSettings(), ODe_DocumentData::writeStylesXML(), and ODe_ThumbnailsWriter::writeThumbnails().
| UT_Error IE_Exp_OpenDocument::copyToBuffer | ( | PD_DocumentRange * | pDocRange, | |
| const UT_ByteBufPtr & | bufODT | |||
| ) | [protected, virtual] |
This method copies the selection defined by pDocRange to ODT format placed in the ByteBuf bufODT
References IE_Exp::constructExporter(), PD_Document::createRawDocument(), IE_Exp::fileTypeForMimetype(), PD_Document::finishRawCreation(), PD_Document::getDocumentRDF(), PD_DocumentRange::m_pDoc, PD_DocumentRange::m_pos1, PD_DocumentRange::m_pos2, PD_Document::tellListenerSubset(), UNREFP, UT_DEBUGMSG, UT_OK, and IE_Exp::writeFile().
| void IE_Exp_OpenDocument::setGSFOutput | ( | GsfOutput * | pBuf | ) |
References m_odt.
GsfOutfile* IE_Exp_OpenDocument::m_odt [private] |
Referenced by _writeDocument(), and setGSFOutput().
1.7.1