Warning, file /office/calligra/filters/sheets/latex/export/document.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 0002 /* 0003 ** Header file for inclusion with words_xml2latex.c 0004 ** 0005 ** SPDX-FileCopyrightText: 2000, 2003 Robert JACOLIN 0006 ** 0007 ** This library is free software; you can redistribute it and/or 0008 ** modify it under the terms of the GNU Library General Public 0009 ** License as published by the Free Software Foundation; either 0010 ** version 2 of the License, or (at your option) any later version. 0011 ** 0012 ** This library is distributed in the hope that it will be useful, 0013 ** but WITHOUT ANY WARRANTY; without even the implied warranty of 0014 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 0015 ** Library General Public License for more details. 0016 ** 0017 ** To receive a copy of the GNU Library General Public License, write to the 0018 ** Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 0019 * Boston, MA 02110-1301, USA. 0020 ** 0021 */ 0022 0023 #ifndef __CALLIGRA_SHEETS_LATEX_DOCUMENT_H__ 0024 #define __CALLIGRA_SHEETS_LATEX_DOCUMENT_H__ 0025 0026 #include <QFile> /* for QFile class */ 0027 #include <QTextStream> /* for QTextStream class */ 0028 #include <QString> /* for QString class */ 0029 0030 #include "xmlparser.h" 0031 #include "config.h" 0032 #include "spreadsheet.h" 0033 0034 class Document : public XmlParser, Config 0035 { 0036 QFile _file; 0037 QTextStream _out; 0038 QString _filename; 0039 0040 //FileHeader _header; 0041 Spreadsheet _document; 0042 0043 /* Options */ 0044 0045 0046 public: 0047 /** 0048 * @param in tar file. 0049 * @param fileOut Output latex filename. 0050 */ 0051 Document(const KoStore* in, QString fileOut); 0052 0053 ~Document() override; 0054 0055 /* Accessors */ 0056 0057 void analyze(); 0058 void generate(); 0059 0060 private: 0061 0062 }; 0063 0064 #endif /* __CALLIGRA_SHEETS_LATEX_DOCUMENT_H__ */