4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Lars Gullik Bjønnes
9 * Full author contact details are available in file CREDITS.
15 #include "support/docstring.h"
30 bool menuWrite(Buffer * buffer);
31 /// write the given file, or ask if no name given
32 bool writeAs(Buffer * buffer, std::string const & filename = std::string());
34 void autoSave(BufferView * bv);
36 void newFile(BufferView * bv, std::string const & filename);
38 void insertPlaintextFile(BufferView * bv, std::string const & f, bool asParagraph);
39 /// read plain text file (if \p f is empty, prompt for a filename)
40 docstring const getContentsOfPlaintextFile(BufferView * bv,
41 std::string const & f, bool asParagraph);
43 void reconfigure(frontend::LyXView & lv);