1 // -*- C++ -*- 2 /** 3 * \file output_plaintext.h 4 * This file is part of LyX, the document processor. 5 * Licence details can be found in the file COPYING. 6 * 7 * \author Lars Gullik Bjønnes 8 * 9 * Full author contact details are available in file CREDITS. 10 */ 11 12 #ifndef OUTPUT_PLAINTEXT_H 13 #define OUTPUT_PLAINTEXT_H 14 15 #include "support/strfwd.h" 16 #include "support/types.h" 17 18 #include <climits> 19 20 21 namespace lyx { 22 23 namespace support { class FileName; } 24 25 class Buffer; 26 class OutputParams; 27 class Paragraph; 28 29 30 /// 31 void writePlaintextFile(Buffer const & buf, support::FileName const &, 32 OutputParams const &); 33 34 /// 35 void writePlaintextFile(Buffer const & buf, odocstream &, OutputParams const &); 36 37 /// 38 void writePlaintextParagraph(Buffer const & buf, 39 Paragraph const & paragraphs, 40 odocstream & ofs, 41 OutputParams const &, 42 bool & ref_printed, 43 size_t max_length = INT_MAX); 44 45 } // namespace lyx 46 47 #endif 48