~vcs-imports/bibletime/trunk

« back to all changes in this revision

Viewing changes to bibletime/backend/cplaintextexportrendering.h

  • Committer: mgruner
  • Date: 2007-05-08 15:51:07 UTC
  • Revision ID: vcs-imports@canonical.com-20070508155107-0rj7jdmm5ivf8685
-imported source and data files to new svn module
-this is where KDE4-based development will take place

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//
 
2
// C++ Interface: cplaintextexportrendering
 
3
//
 
4
// Description:
 
5
//
 
6
//
 
7
// Author: The BibleTime team <info@bibletime.info>, (C) 2004
 
8
//
 
9
// Copyright: See COPYING file that comes with this distribution
 
10
//
 
11
//
 
12
#ifndef RENDERINGCPLAINTEXTEXPORTRENDERING_H
 
13
#define RENDERINGCPLAINTEXTEXPORTRENDERING_H
 
14
 
 
15
#include "chtmlexportrendering.h"
 
16
 
 
17
namespace Rendering {
 
18
 
 
19
        /**
 
20
         * This implementation can be used to export content as plain text.
 
21
         * @short Text rendering as plain text.
 
22
         * @author The BibleTime team
 
23
         */
 
24
 
 
25
class CPlainTextExportRendering : public CHTMLExportRendering {
 
26
 
 
27
public:
 
28
                CPlainTextExportRendering(
 
29
                        const Settings& settings,
 
30
                        CSwordBackend::DisplayOptions displayOptions = CBTConfig::getDisplayOptionDefaults(),
 
31
                        CSwordBackend::FilterOptions filterOptions = CBTConfig::getFilterOptionDefaults()
 
32
                );
 
33
                virtual ~CPlainTextExportRendering();
 
34
 
 
35
protected:
 
36
                virtual const QString renderEntry( const KeyTreeItem&, CSwordKey* = 0 );
 
37
                virtual const QString finishText( const QString&, KeyTree& tree );
 
38
        };
 
39
 
 
40
};
 
41
 
 
42
#endif