• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

ie_exp_OpenDocument.h

Go to the documentation of this file.
00001 /* AbiSource
00002  *
00003  * Copyright (C) 2002 Dom Lachowicz <cinamod@hotmail.com>
00004  * Copyright (C) 2004 Robert Staudinger <robsta@stereolyzer.net>
00005  *
00006  * Copyright (C) 2005 INdT
00007  * Author: Daniel d'Andrada T. de Carvalho <daniel.carvalho@indt.org.br>
00008  *
00009  * This program is free software; you can redistribute it and/or
00010  * modify it under the terms of the GNU General Public License
00011  * as published by the Free Software Foundation; either version 2
00012  * of the License, or (at your option) any later version.
00013  *
00014  * This program is distributed in the hope that it will be useful,
00015  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00016  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00017  * GNU General Public License for more details.
00018  *
00019  * You should have received a copy of the GNU General Public License
00020  * along with this program; if not, write to the Free Software
00021  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
00022  * 02111-1307, USA.
00023  */
00024 
00025 
00026 
00027 #ifndef _IE_EXP_OPENDOCUMENT_H_
00028 #define _IE_EXP_OPENDOCUMENT_H_
00029 
00030 // External includes
00031 #include <gsf/gsf-output.h>
00032 
00033 // AbiWord includes
00034 #include <ie_exp.h>
00035 
00036 class IE_Exp_OpenDocument : public IE_Exp
00037 {
00038 public:
00039     IE_Exp_OpenDocument(PD_Document * pDocument);
00040     virtual ~IE_Exp_OpenDocument();
00041     void setGSFOutput(GsfOutput * pBuf);
00042 protected:
00043     virtual GsfOutput* _openFile(const char *szFilename);
00044     virtual UT_Error  _writeDocument(void);
00045     virtual UT_Error copyToBuffer(PD_DocumentRange * pDocRange,UT_ByteBuf *  bufODT);
00046 
00047 private:
00048     // The OpenDocument Text file.
00049     GsfOutfile* m_odt;
00050 };
00051 
00052 #endif //_IE_EXP_OPENDOCUMENT_H_

Generated on Mon May 28 2012 for AbiWord by  doxygen 1.7.1