Bibletime – a bible study tool
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.

cplaintextexportrendering.h 1.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. #include "chtmlexportrendering.h"
  15. namespace Rendering {
  16. /**
  17. * This implementation can be used to export content as plain text.
  18. * @short Text rendering as plain text.
  19. * @author The BibleTime team
  20. */
  21. class CPlainTextExportRendering : public CHTMLExportRendering {
  22. public:
  23. CPlainTextExportRendering(
  24. const Settings& settings,
  25. CSwordBackend::DisplayOptions displayOptions = CBTConfig::getDisplayOptionDefaults(),
  26. CSwordBackend::FilterOptions filterOptions = CBTConfig::getFilterOptionDefaults()
  27. );
  28. virtual ~CPlainTextExportRendering();
  29. protected:
  30. virtual const TQString renderEntry( const KeyTreeItem&, CSwordKey* = 0 );
  31. virtual const TQString finishText( const TQString&, KeyTree& tree );
  32. };
  33. };
  34. #endif