17 #include <QStringList>
18 #include "../../util/btassert.h"
19 #include "../drivers/btmodulelist.h"
20 #include "../drivers/cswordmoduleinfo.h"
85 const QString & content,
86 const Settings & settings)
const;
QList< CSwordModuleInfo const * > BtConstModuleList
CDisplayTemplateMgr(QString &errorMessage)
void setMultiModuleHeadersVisible(bool visible)
Turn on or off displaying module names during parallel text rendering.
QString fillTemplate(const QString &name, const QString &content, const Settings &settings) const
Fills the template.
static QString activeTemplateName()
QStringList const & availableTemplates() const
QHash< QString, QString > m_templateMap
void loadCSSTemplate(const QString &filename)
bool m_multiModuleHeaders
QHash< QString, QString > m_cssMap
static CDisplayTemplateMgr * m_instance
static CDisplayTemplateMgr * instance()
void loadTemplate(const QString &filename)
QStringList m_availableTemplateNamesCache
CSwordModuleInfo::TextDirection textDirection
BtConstModuleList modules
char const * textDirectionAsHtmlDirAttr() const noexcept