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

ie_exp_LaTeX.h

Go to the documentation of this file.
00001 /* AbiWord
00002  * Copyright (C) 1998 AbiSource, Inc.
00003  *
00004  * This program is free software; you can redistribute it and/or
00005  * modify it under the terms of the GNU General Public License
00006  * as published by the Free Software Foundation; either version 2
00007  * of the License, or (at your option) any later version.
00008  *
00009  * This program is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  * GNU General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU General Public License
00015  * along with this program; if not, write to the Free Software
00016  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
00017  * 02110-1301 USA.
00018  */
00019 
00020 
00021 #ifndef IE_EXP_LATEX_H
00022 #define IE_EXP_LATEX_H
00023 
00024 #include "ie_exp.h"
00025 #include "pl_Listener.h"
00026 class PD_Document;
00027 class s_LaTeX_Listener;
00028 
00029 // The exporter/writer for LaTeX
00030 
00031 class IE_Exp_LaTeX_Sniffer : public IE_ExpSniffer
00032 {
00033     friend class IE_Exp;
00034 
00035 public:
00036     IE_Exp_LaTeX_Sniffer ();
00037     virtual ~IE_Exp_LaTeX_Sniffer () {}
00038 
00039     virtual bool recognizeSuffix (const char * szSuffix);
00040     virtual bool getDlgLabels (const char ** szDesc,
00041                                const char ** szSuffixList,
00042                                IEFileType * ft);
00043     virtual UT_Error constructExporter (PD_Document * pDocument,
00044                                         IE_Exp ** ppie);
00045 };
00046 
00047 class IE_Exp_LaTeX : public IE_Exp
00048 {
00049 public:
00050     IE_Exp_LaTeX(PD_Document * pDocument);
00051     virtual ~IE_Exp_LaTeX();
00052 
00053 protected:
00054     virtual UT_Error    _writeDocument(void);
00055 
00056 private:
00057     s_LaTeX_Listener *  m_pListener;
00058 };
00059 
00060 #endif /* IE_EXP_LATEX_H */

Generated on Sun Feb 14 2021 for AbiWord by  doxygen 1.7.1