BibleTime
|
Classes | |
class | CDisplayRendering |
Rendering for the html display widget. More... | |
class | CPlainTextExportRendering |
Text rendering as plain text. More... | |
class | CrossRefRendering |
class | CTextRendering |
Text rendering based on trees. More... | |
Typedefs | |
using | InfoData = QPair< InfoType, QString > |
using | ListInfoData = QList< InfoData > |
Enumerations | |
enum | InfoType { Abbreviation , CrossReference , Footnote , Lemma , Morph , Text , Reference } |
Functions | |
ListInfoData | detectInfo (QString const &data) |
QString | formatInfo (const ListInfoData &list, BtConstModuleList const &modules) |
QString | formatInfo (QString const &info, QString const &lang) |
using Rendering::InfoData = typedef QPair<InfoType, QString> |
Definition at line 34 of file btinforendering.h.
using Rendering::ListInfoData = typedef QList<InfoData> |
Definition at line 35 of file btinforendering.h.
enum Rendering::InfoType |
Enumerator | |
---|---|
Abbreviation | |
CrossReference | |
Footnote | |
Lemma | |
Morph | |
Text | |
Reference |
Definition at line 24 of file btinforendering.h.
ListInfoData Rendering::detectInfo | ( | QString const & | data | ) |
Parse string for attributes
Definition at line 372 of file btinforendering.cpp.
References Abbreviation, CrossReference, Footnote, Lemma, Morph, and Reference.
Referenced by BtQmlInterface::timerEvent().
QString Rendering::formatInfo | ( | ListInfoData const & | info, |
BtConstModuleList const & | modules | ||
) |
Process list of InfoData and format all data into string
Definition at line 400 of file btinforendering.cpp.
References Abbreviation, BT_ASSERT, CrossReference, anonymous_namespace{btinforendering.cpp}::decodeAbbreviation(), anonymous_namespace{btinforendering.cpp}::decodeCrossReference(), anonymous_namespace{btinforendering.cpp}::decodeFootnote(), anonymous_namespace{btinforendering.cpp}::decodeMorph(), anonymous_namespace{btinforendering.cpp}::decodeStrongs(), anonymous_namespace{btinforendering.cpp}::decodeSwordReference(), Footnote, Lemma, Morph, Reference, and Text.
Referenced by InfoDisplay::CInfoDisplay::setInfo().
QString Rendering::formatInfo | ( | QString const & | info, |
QString const & | lang | ||
) |
Definition at line 457 of file btinforendering.cpp.
References CDisplayTemplateMgr::activeTemplateName(), BT_ASSERT, CDisplayTemplateMgr::fillTemplate(), CDisplayTemplateMgr::instance(), and CDisplayTemplateMgr::Settings::pageCSS_ID.