BibleTime
src
frontend
btprinter.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-2026 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 "../backend/rendering/cdisplayrendering.h"
16
17
18
/** \brief Manages the print item queue and printing. */
19
class
BtPrinter
final:
public
Rendering::CDisplayRendering
{
20
21
public
:
// methods:
22
23
BtPrinter
(
DisplayOptions
const
&
displayOptions
,
24
FilterOptions
const
&
filterOptions
);
25
26
void
printKeyTree
(
KeyTree
const
&);
27
28
private
:
// methods:
29
30
QString
entryLink
(
KeyTreeItem
const
& item,
31
CSwordModuleInfo
const
& module)
const override
;
32
33
QString
renderEntry
(
KeyTreeItem
const
& item,
34
CSwordKey
*
const
key =
nullptr
)
const override
;
35
QString
finishText
(QString
const
& text,
KeyTree
const
& tree)
36
const override
;
37
38
};
BtPrinter
Manages the print item queue and printing.
Definition
btprinter.h:19
BtPrinter::renderEntry
QString renderEntry(KeyTreeItem const &item, CSwordKey *const key=nullptr) const override
Definition
btprinter.cpp:75
BtPrinter::printKeyTree
void printKeyTree(KeyTree const &)
Definition
btprinter.cpp:41
BtPrinter::entryLink
QString entryLink(KeyTreeItem const &item, CSwordModuleInfo const &module) const override
Definition
btprinter.cpp:51
BtPrinter::finishText
QString finishText(QString const &text, KeyTree const &tree) const override
Definition
btprinter.cpp:94
CSwordKey
Definition
cswordkey.h:22
CSwordModuleInfo
Definition
cswordmoduleinfo.h:48
Rendering::CDisplayRendering
Rendering for the html display widget.
Definition
cdisplayrendering.h:27
Rendering::CTextRendering::KeyTreeItem
Definition
ctextrendering.h:42
Rendering::CTextRendering::KeyTree
std::list< KeyTreeItem > KeyTree
Definition
ctextrendering.h:40
Rendering::CTextRendering::filterOptions
FilterOptions const & filterOptions() const noexcept
Definition
ctextrendering.h:126
Rendering::CTextRendering::displayOptions
DisplayOptions const & displayOptions() const noexcept
Definition
ctextrendering.h:134
DisplayOptions
Definition
btglobal.h:46
FilterOptions
Definition
btglobal.h:25
Generated by
1.9.8