2003-11-05 12:06:20 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
|
|
|
* \file output_plaintext.h
|
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
*
|
2008-11-14 15:58:50 +00:00
|
|
|
* \author Lars Gullik Bjønnes
|
2003-11-05 12:06:20 +00:00
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef OUTPUT_PLAINTEXT_H
|
|
|
|
#define OUTPUT_PLAINTEXT_H
|
|
|
|
|
2007-11-01 22:17:22 +00:00
|
|
|
#include "support/strfwd.h"
|
2013-03-08 19:52:18 +00:00
|
|
|
#include "support/types.h"
|
|
|
|
|
|
|
|
#include <climits>
|
2003-11-05 12:06:20 +00:00
|
|
|
|
2006-10-21 00:16:43 +00:00
|
|
|
|
|
|
|
namespace lyx {
|
|
|
|
|
2006-12-04 15:46:57 +00:00
|
|
|
namespace support { class FileName; }
|
|
|
|
|
2003-11-05 12:06:20 +00:00
|
|
|
class Buffer;
|
|
|
|
class OutputParams;
|
2004-03-25 09:16:36 +00:00
|
|
|
class Paragraph;
|
|
|
|
|
2003-11-05 12:06:20 +00:00
|
|
|
|
|
|
|
///
|
2007-01-18 22:29:50 +00:00
|
|
|
void writePlaintextFile(Buffer const & buf, support::FileName const &,
|
2004-03-25 09:16:36 +00:00
|
|
|
OutputParams const &);
|
|
|
|
|
2003-11-05 12:06:20 +00:00
|
|
|
///
|
2007-01-18 22:29:50 +00:00
|
|
|
void writePlaintextFile(Buffer const & buf, odocstream &, OutputParams const &);
|
2003-11-05 12:06:20 +00:00
|
|
|
|
|
|
|
///
|
2007-01-18 22:29:50 +00:00
|
|
|
void writePlaintextParagraph(Buffer const & buf,
|
2003-11-05 12:06:20 +00:00
|
|
|
Paragraph const & paragraphs,
|
2006-10-21 00:16:43 +00:00
|
|
|
odocstream & ofs,
|
2003-11-05 12:06:20 +00:00
|
|
|
OutputParams const &,
|
2013-03-08 19:52:18 +00:00
|
|
|
bool & ref_printed,
|
|
|
|
size_t max_length = INT_MAX);
|
2003-11-05 12:06:20 +00:00
|
|
|
|
2006-10-21 00:16:43 +00:00
|
|
|
} // namespace lyx
|
|
|
|
|
2003-11-05 12:06:20 +00:00
|
|
|
#endif
|