#include "texrow.h"
#include "ParagraphList.h"
#include "paragraph.h"
+#include "author.h"
#include <boost/shared_ptr.hpp>
class LaTeXFeatures;
class Language;
class ParIterator;
+class ParConstIterator;
-///
-struct DEPCLEAN {
- ///
- bool clean;
- ///
- string master;
- ///
- DEPCLEAN * next;
-};
-
/** The buffer object.
This is the buffer object. It contains all the informations about
a document loaded into LyX. I am not sure if the class is complete or
///
void makeDocBookFile(string const & filename,
bool nice, bool only_body = false);
- /// Open SGML/XML tag.
- int sgmlOpenTag(std::ostream & os, Paragraph::depth_type depth, bool mixcont,
- string const & latexname) const;
- /// Closes SGML/XML tag.
- int sgmlCloseTag(std::ostream & os, Paragraph::depth_type depth, bool mixcont,
- string const & latexname) const;
///
void sgmlError(Paragraph * par, int pos, string const & message) const;
/// Used when typesetting to place errorboxes.
TexRow texrow;
+
+ /// the author list for the document
+ AuthorList & authors();
+
private:
+ typedef std::map<string, bool> DepClean;
+
+ /// need to regenerate .tex ?
+ DepClean dep_clean_;
+
+ /// the author list
+ AuthorList authorlist;
+
/// is save needed
mutable bool lyx_clean;
/// is this a unnamed file (New...)
bool unnamed;
- /// is regenerating #.tex# necessary
- DEPCLEAN * dep_clean;
-
/// buffer is r/o
bool read_only;
///
ParIterator par_iterator_begin();
///
+ ParConstIterator par_iterator_begin() const;
+ ///
ParIterator par_iterator_end();
+ ///
+ ParConstIterator par_iterator_end() const;
///
Inset * getInsetFromID(int id_arg) const;