KTextAddons

exportlibreofficeautocorrection.h
1/*
2 SPDX-FileCopyrightText: 2022-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#pragma once
8
9#include "exportabstractautocorrection.h"
10#include "textautocorrectioncore_private_export.h"
11class KZip;
12namespace TextAutoCorrectionCore
13{
14class TEXTAUTOCORRECTIONCORE_TESTS_EXPORT ExportLibreOfficeAutocorrection : public ExportAbstractAutocorrection
15{
16public:
17 ExportLibreOfficeAutocorrection();
18 ~ExportLibreOfficeAutocorrection() override;
19
20 [[nodiscard]] bool exportData(const QString &language, const QString &fileName, QString &errorMessage, const QString &writablePath) override;
21
22private:
23 [[nodiscard]] bool exportDocumentList();
24 [[nodiscard]] bool exportSentenceExceptList();
25 [[nodiscard]] bool exportWordExceptList();
26 [[nodiscard]] bool exportManifest();
27 KZip *mZip = nullptr;
28};
29}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:19:49 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.