您最多选择25个主题
主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
43 行
1.0 KiB
43 行
1.0 KiB
//
|
|
// C++ Interface: cplaintextexportrendering
|
|
//
|
|
// Description:
|
|
//
|
|
//
|
|
// Author: The BibleTime team <info@bibletime.info>, (C) 2004
|
|
//
|
|
// Copyright: See COPYING file that comes with this distribution
|
|
//
|
|
//
|
|
#ifndef RENDERINGCPLAINTEXTEXPORTRENDERING_H
|
|
#define RENDERINGCPLAINTEXTEXPORTRENDERING_H
|
|
|
|
#include "chtmlexportrendering.h"
|
|
|
|
namespace Rendering {
|
|
|
|
/**
|
|
* This implementation can be used to export content as plain text.
|
|
* @short Text rendering as plain text.
|
|
* @author The BibleTime team
|
|
*/
|
|
|
|
class CPlainTextExportRendering : public CHTMLExportRendering {
|
|
|
|
public:
|
|
CPlainTextExportRendering(
|
|
const Settings& settings,
|
|
CSwordBackend::DisplayOptions displayOptions = CBTConfig::getDisplayOptionDefaults(),
|
|
CSwordBackend::FilterOptions filterOptions = CBTConfig::getFilterOptionDefaults()
|
|
);
|
|
virtual ~CPlainTextExportRendering();
|
|
|
|
protected:
|
|
virtual const TQString renderEntry( const KeyTreeItem&, CSwordKey* = 0 );
|
|
virtual const TQString finishText( const TQString&, KeyTree& tree );
|
|
};
|
|
|
|
};
|
|
|
|
#endif
|