/* This file is part of the KDE project Copyright (C) 2001 Robert JACOLIN This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. */ /* This file is based on the file : koffice/filters/kword/html/htmlexportdia.h Copyright (C) 2001 Nicolas Goutte which was based on the old file: /home/kde/koffice/filters/kspread/csv/csvfilterdia.h The old file was copyrighted by Copyright (C) 1999 David Faure The old file was licensed under the terms of the GNU Library General Public License version 2. */ #ifndef __LATEXIMPORTDIA_H__ #define __LATEXIMPORTDIA_H__ #include #include #include #include #include #include #include #include #include #include class LATEXImportDia : public KDialogBase, public DCOPObject { K_DCOP TQ_OBJECT TQString _fileIn; TQByteArray _arrayIn; KoStore* _out; /* the zipped file containing all pictures, part, ... */ public: LATEXImportDia(KoStore*, TQWidget *parent=0L, const char *name=0L); virtual ~LATEXImportDia() {} void createDialog(); virtual void state(); void setInputFile(TQString file) { _fileIn = file; } //void setOutputFile(TQString file) { _fileOut = file; } private: TQVButtonGroup* styleBox, *langBox, *docBox; TQRadioButton* latexStyleRBtn, *kwordStyleRBtn; /* Document style */ TQRadioButton* unicodeRBtn, *latin1RBtn; /* Language */ TQRadioButton* newDocRBtn, *embededRBtn; /* Latex file */ k_dcop: void useDefaultConfig() { slotOk(); } public slots: virtual void slotOk(); }; #endif /* __LATEXIMPORTDIA_H__ */