File indexing completed on 2024-05-19 05:05:35

0001 /***************************************************************************
0002  *   SPDX-License-Identifier: GPL-2.0-or-later
0003  *                                                                         *
0004  *   SPDX-FileCopyrightText: 2023 Thomas Fischer <fischer@unix-ag.uni-kl.de>
0005  *                                                                         *
0006  *   This program is free software; you can redistribute it and/or modify  *
0007  *   it under the terms of the GNU General Public License as published by  *
0008  *   the Free Software Foundation; either version 2 of the License, or     *
0009  *   (at your option) any later version.                                   *
0010  *                                                                         *
0011  *   This program is distributed in the hope that it will be useful,       *
0012  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
0013  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
0014  *   GNU General Public License for more details.                          *
0015  *                                                                         *
0016  *   You should have received a copy of the GNU General Public License     *
0017  *   along with this program; if not, see <https://www.gnu.org/licenses/>. *
0018  ***************************************************************************/
0019 
0020 #ifndef KBIBTEX_IO_FILEEXPORTERWORDBIBXML_H
0021 #define KBIBTEX_IO_FILEEXPORTERWORDBIBXML_H
0022 
0023 #include <FileExporter>
0024 
0025 /**
0026  * @author Thomas Fischer <fischer@unix-ag.uni-kl.de>
0027  */
0028 class KBIBTEXIO_EXPORT FileExporterWordBibXML : public FileExporter
0029 {
0030     Q_OBJECT
0031 
0032 public:
0033     explicit FileExporterWordBibXML(QObject *parent);
0034     ~FileExporterWordBibXML() override;
0035 
0036     bool save(QIODevice *iodevice, const File *bibtexfile) override;
0037     bool save(QIODevice *iodevice, const QSharedPointer<const Element> &element, const File *bibtexfile) override;
0038 
0039 public Q_SLOTS:
0040     void cancel() override;
0041 
0042 private:
0043     class Private;
0044     Private *const d;
0045 
0046 };
0047 
0048 #endif // KBIBTEX_IO_FILEEXPORTERWORDBIBXML_H