BibleTime
|
Manages the print item queue and printing. More...
#include <btprinter.h>
Private Member Functions | |
QString | entryLink (KeyTreeItem const &item, CSwordModuleInfo const &module) const override |
QString | finishText (QString const &text, KeyTree const &tree) const override |
QString | renderEntry (KeyTreeItem const &item, CSwordKey *const key=nullptr) const override |
Additional Inherited Members | |
Public Types inherited from Rendering::CTextRendering | |
using | KeyTree = std::list< KeyTreeItem > |
Static Public Member Functions inherited from Rendering::CDisplayRendering | |
static QString | keyToHTMLAnchor (QString const &key) |
Static Protected Member Functions inherited from Rendering::CTextRendering | |
static BtConstModuleList | collectModules (KeyTree const &tree) |
Protected Attributes inherited from Rendering::CTextRendering | |
bool const | m_addText |
DisplayOptions | m_displayOptions |
FilterOptions | m_filterOptions |
Manages the print item queue and printing.
Definition at line 20 of file btprinter.h.
BtPrinter::BtPrinter | ( | DisplayOptions const & | displayOptions, |
FilterOptions const & | filterOptions, | ||
QObject *const | parent = nullptr |
||
) |
Definition at line 36 of file btprinter.cpp.
|
overrideprivatevirtual |
Reimplemented from Rendering::CDisplayRendering.
Definition at line 53 of file btprinter.cpp.
References CSwordModuleInfo::Bible, Rendering::CTextRendering::KeyTreeItem::key(), CSwordVerseKey::key(), Rendering::CTextRendering::KeyTreeItem::Settings::keyRenderingFace, CSwordVerseKey::setKey(), Rendering::CTextRendering::KeyTreeItem::settings(), CSwordVerseKey::shortText(), CSwordModuleInfo::type(), and CSwordVerseKey::verse().
|
overrideprivatevirtual |
Reimplemented from Rendering::CDisplayRendering.
Definition at line 96 of file btprinter.cpp.
References CDisplayTemplateMgr::activeTemplateName(), BT_ASSERT, Rendering::CTextRendering::collectModules(), CDisplayTemplateMgr::fillTemplate(), CDisplayTemplateMgr::instance(), CDisplayTemplateMgr::Settings::langAbbrev, CDisplayTemplateMgr::Settings::pageCSS_ID, and CDisplayTemplateMgr::Settings::textDirection.
void BtPrinter::printKeyTree | ( | KeyTree const & | tree | ) |
Definition at line 43 of file btprinter.cpp.
References Rendering::CTextRendering::renderKeyTree().
|
overrideprivatevirtual |
Reimplemented from Rendering::CTextRendering.
Definition at line 77 of file btprinter.cpp.
References Rendering::CTextRendering::KeyTreeItem::childList(), Rendering::CTextRendering::KeyTreeItem::getAlternativeContent(), and Rendering::CTextRendering::KeyTreeItem::hasAlternativeContent().