X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;ds=inline;f=src%2Foutput_plaintext.h;h=ebecc5ceba6f3317f2b26722306ab176eb711baa;hb=28be7d552f62cc02fa86d7f79201d089bfb2d7b5;hp=682a94794f98b700757ed8c896c971559c3ff4ce;hpb=9eab5fa88a3081ef02aa0effb6117af9715908fa;p=lyx.git diff --git a/src/output_plaintext.h b/src/output_plaintext.h index 682a94794f..ebecc5ceba 100644 --- a/src/output_plaintext.h +++ b/src/output_plaintext.h @@ -4,7 +4,7 @@ * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * - * \author Lars Gullik Bjønnes + * \author Lars Gullik Bjønnes * * Full author contact details are available in file CREDITS. */ @@ -12,7 +12,10 @@ #ifndef OUTPUT_PLAINTEXT_H #define OUTPUT_PLAINTEXT_H -#include "support/docstream.h" +#include "support/strfwd.h" +#include "support/types.h" + +#include namespace lyx { @@ -25,18 +28,19 @@ class Paragraph; /// -void writeFileAscii(Buffer const & buf, support::FileName const &, +void writePlaintextFile(Buffer const & buf, support::FileName const &, OutputParams const &); /// -void writeFileAscii(Buffer const & buf, odocstream &, OutputParams const &); +void writePlaintextFile(Buffer const & buf, odocstream &, OutputParams const &); /// -void asciiParagraph(Buffer const & buf, +void writePlaintextParagraph(Buffer const & buf, Paragraph const & paragraphs, odocstream & ofs, OutputParams const &, - bool & ref_printed); + bool & ref_printed, + size_t max_length = INT_MAX); } // namespace lyx