You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.0 KiB
43 lines
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
|