| 1 | /* |
| 2 | This file is part of a KMetaData File Extractor |
| 3 | SPDX-FileCopyrightText: 2013 Denis Steckelmacher <steckdenis@yahoo.fr> |
| 4 | |
| 5 | SPDX-License-Identifier: LGPL-2.1-or-later |
| 6 | */ |
| 7 | |
| 8 | |
| 9 | #ifndef OFFICE_EXTRACTOR_H |
| 10 | #define |
| 11 | |
| 12 | #include "extractorplugin.h" |
| 13 | |
| 14 | namespace KFileMetaData |
| 15 | { |
| 16 | |
| 17 | class : public ExtractorPlugin |
| 18 | { |
| 19 | Q_OBJECT |
| 20 | Q_PLUGIN_METADATA(IID kfilemetadata_extractor_iid |
| 21 | FILE "officeextractor.json" ) |
| 22 | Q_INTERFACES(KFileMetaData::ExtractorPlugin) |
| 23 | |
| 24 | public: |
| 25 | explicit (QObject* parent = nullptr); |
| 26 | |
| 27 | QStringList () const override; |
| 28 | void (ExtractionResult* result) override; |
| 29 | |
| 30 | private: |
| 31 | void (const QString& mimeType, const QString& name, QString& fullPath); |
| 32 | QString (const QString& fileUrl, const QString& command, QStringList& arguments); |
| 33 | |
| 34 | private: |
| 35 | QStringList ; |
| 36 | |
| 37 | QString ; |
| 38 | QString ; |
| 39 | QString ; |
| 40 | }; |
| 41 | } |
| 42 | |
| 43 | #endif |
| 44 | |