- /// Inserts a lyx file at cursor position. Returns false if it fails.
- //bool insertLyXFile(string const & filename);
-
+ /* This parses a single LyXformat-Token */
+ bool parseSingleLyXformat2Token(LyXLex &, LyXParagraph *& par,
+ LyXParagraph *& return_par,
+ string const & token, int & pos,
+ char & depth, LyXFont &,
+ LyXParagraph::footnote_flag &,
+ LyXParagraph::footnote_kind &);
+
+ /** Save file
+ Takes care of auto-save files and backup file if requested.
+ Returns true if the save is successful, false otherwise.
+ */
+ bool save() const;
+