]> git.lyx.org Git - lyx.git/blobdiff - src/output_plaintext.h
Fix for bug 4135
[lyx.git] / src / output_plaintext.h
index 1b32a558e3bc4ed7bb0b525bb2b8d9c9b1050fc0..5e88d0e765fd95dcb459b02866f4ad093d840920 100644 (file)
 #ifndef OUTPUT_PLAINTEXT_H
 #define OUTPUT_PLAINTEXT_H
 
-#include "ParagraphList_fwd.h"
+#include "support/docstream.h"
 
-#include <iosfwd>
-#include <string>
+
+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,
+void writePlaintextParagraph(Buffer const & buf,
                    Paragraph const & paragraphs,
-                   std::ostream & ofs,
+                   odocstream & ofs,
                    OutputParams const &,
-                   bool noparbreak = false);
+                   bool & ref_printed);
+
+} // namespace lyx
 
 #endif