BibleTime
cplaintextexportrendering.h
Go to the documentation of this file.
1/*********
2*
3* In the name of the Father, and of the Son, and of the Holy Spirit.
4*
5* This file is part of BibleTime's source code, https://bibletime.info/
6*
7* Copyright 1999-2025 by the BibleTime developers.
8* The BibleTime source code is licensed under the GNU General Public License
9* version 2.0.
10*
11**********/
12
13#pragma once
14
15#include <QString>
16#include "ctextrendering.h"
17
18
19class CSwordKey;
20struct DisplayOptions;
21struct FilterOptions;
22
23namespace Rendering {
24
25/**
26 * This implementation can be used to export content as plain text.
27 * @short Text rendering as plain text.
28 * @author The BibleTime team
29 */
31
32 public: // methods:
33
35
36 protected: // methods:
37
38 QString renderEntry(KeyTreeItem const & item, CSwordKey * key = nullptr)
39 const override;
40 QString finishText(QString const & text, KeyTree const & tree)
41 const override;
42
43}; /* class CPlainTextExportRendering */
44
45} /* namespace Rendering */
QString finishText(QString const &text, KeyTree const &tree) const override
QString renderEntry(KeyTreeItem const &item, CSwordKey *key=nullptr) const override
Text rendering based on trees.
std::list< KeyTreeItem > KeyTree