X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Foutput_plaintext.h;h=8b2e4f9d1c04f68d99b9f21a22b0029813d8ef57;hb=c9146e5be087638d0dc115e862fd685c74e257e4;hp=1b32a558e3bc4ed7bb0b525bb2b8d9c9b1050fc0;hpb=505cba7cad92cb466eff8ed42c4b6f8e7c0b0a69;p=lyx.git diff --git a/src/output_plaintext.h b/src/output_plaintext.h index 1b32a558e3..8b2e4f9d1c 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,24 +12,36 @@ #ifndef OUTPUT_PLAINTEXT_H #define OUTPUT_PLAINTEXT_H -#include "ParagraphList_fwd.h" +#include "support/strfwd.h" +#include "support/types.h" -#include -#include +#include + + +namespace lyx { + +namespace support { class FileName; } class Buffer; class OutputParams; +class Paragraph; + /// -void writeFileAscii(Buffer const & buf, std::string const &, OutputParams const &); +void writePlaintextFile(Buffer const & buf, support::FileName const &, + OutputParams const &); + /// -void writeFileAscii(Buffer const & buf, std::ostream &, OutputParams const &); +void writePlaintextFile(Buffer const & buf, odocstream &, OutputParams const &); /// -void asciiParagraph(Buffer const & buf, - Paragraph const & paragraphs, - std::ostream & ofs, +void writePlaintextParagraph(Buffer const & buf, + Paragraph const & par, + odocstream & ofs, OutputParams const &, - bool noparbreak = false); + bool & ref_printed, + size_t max_length = INT_MAX); + +} // namespace lyx #endif