]> git.lyx.org Git - lyx.git/blobdiff - src/output_plaintext.h
fix a visual cursor edge-case:
[lyx.git] / src / output_plaintext.h
index 1b32a558e3bc4ed7bb0b525bb2b8d9c9b1050fc0..c32a4a2c1988ce794e5e86490035a0d1b0a4cad1 100644 (file)
 #ifndef OUTPUT_PLAINTEXT_H
 #define OUTPUT_PLAINTEXT_H
 
-#include "ParagraphList_fwd.h"
+#include "support/strfwd.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