+ bool readDocument(LyXLex &);
+
+ ///
+ void insertStringAsLines(ParagraphList & plist,
+ pit_type &, pos_type &,
+ LyXFont const &, docstring const &, bool);
+ ///
+ ParIterator getParFromID(int id) const;
+ /// do we have a paragraph with this id?
+ bool hasParWithID(int id) const;
+
+ /// This signal is emitted when the buffer is changed.
+ boost::signal<void()> changed;
+ /// This signal is emitted when some parsing error shows up.
+ boost::signal<void(std::string)> errors;
+ /// This signal is emitted when some message shows up.
+ boost::signal<void(docstring)> message;
+ /// This signal is emitted when the buffer busy status change.
+ boost::signal<void(bool)> busy;
+ /// This signal is emitted when the buffer readonly status change.
+ boost::signal<void(bool)> readonly;
+ /// Update window titles of all users.
+ boost::signal<void()> updateTitles;
+ /// Reset autosave timers for all users.
+ boost::signal<void()> resetAutosaveTimers;
+ /// This signal is emitting if the buffer is being closed.
+ boost::signal<void()> closing;