BibleTime
Public Member Functions | Protected Member Functions | List of all members
Rendering::CPlainTextExportRendering Class Reference

Text rendering as plain text. More...

#include <cplaintextexportrendering.h>

Inheritance diagram for Rendering::CPlainTextExportRendering:

Public Member Functions

 CTextRendering (bool addText)
 
 CTextRendering (bool addText, DisplayOptions const &displayOptions, FilterOptions const &filterOptions)
 
- Public Member Functions inherited from Rendering::CTextRendering
 CTextRendering (bool addText)
 
 CTextRendering (bool addText, DisplayOptions const &displayOptions, FilterOptions const &filterOptions)
 
DisplayOptions const & displayOptions () const noexcept
 
FilterOptions const & filterOptions () const noexcept
 
QString renderKeyRange (CSwordVerseKey const &lowerBound, CSwordVerseKey const &upperBound, const BtConstModuleList &modules, const QString &hightlightKey=QString(), const KeyTreeItem::Settings &settings=KeyTreeItem::Settings())
 
QString renderKeyTree (KeyTree const &tree) const
 
QString renderSingleKey (const QString &key, const BtConstModuleList &modules, const KeyTreeItem::Settings &settings=KeyTreeItem::Settings())
 
void setDisplayOptions (DisplayOptions const &displayOptions) noexcept
 
void setFilterOptions (FilterOptions const &filterOptions) noexcept
 
virtual ~CTextRendering ()
 

Protected Member Functions

QString finishText (QString const &text, KeyTree const &tree) const override
 
QString renderEntry (KeyTreeItem const &item, CSwordKey *key=nullptr) const override
 
- Protected Member Functions inherited from Rendering::CTextRendering
virtual QString entryLink (KeyTreeItem const &item, CSwordModuleInfo const &module) const
 

Additional Inherited Members

- Public Types inherited from Rendering::CTextRendering
using KeyTree = std::list< KeyTreeItem >
 
- 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
 

Detailed Description

Text rendering as plain text.

This implementation can be used to export content as plain text.

Author
The BibleTime team

Definition at line 30 of file cplaintextexportrendering.h.

Member Function Documentation

◆ CTextRendering() [1/2]

CTextRendering::CTextRendering

Definition at line 119 of file ctextrendering.cpp.

◆ CTextRendering() [2/2]

CTextRendering::CTextRendering

Definition at line 120 of file ctextrendering.cpp.

◆ finishText()

QString Rendering::CPlainTextExportRendering::finishText ( QString const &  text,
KeyTree const &  tree 
) const
overrideprotectedvirtual

Reimplemented from Rendering::CTextRendering.

Definition at line 54 of file cplaintextexportrendering.cpp.

◆ renderEntry()

QString Rendering::CPlainTextExportRendering::renderEntry ( KeyTreeItem const &  item,
CSwordKey key = nullptr 
) const
overrideprotectedvirtual

The documentation for this class was generated from the following files: