]> git.lyx.org Git - lyx.git/blobdiff - src/buffer.h
Minimal fix needed to give Qt a label dialog again.
[lyx.git] / src / buffer.h
index acde4e5af0ca54df877ccfa5ca4ea8c07f9bb43a..e43a5939ad12062df3fe47f6ae79b4965af7b0c0 100644 (file)
 #ifndef BUFFER_H
 #define BUFFER_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
-
 #include "LString.h"
 #include "undo.h"
 #include "support/limited_stack.h"
@@ -116,7 +112,7 @@ public:
                                        LyXFont &);
        ///
        void insertStringAsLines(Paragraph *&, lyx::pos_type &,
-                                LyXFont const &, string const &) const;
+                                LyXFont const &, string const &);
        ///
        Paragraph * getParFromID(int id) const;
 private:
@@ -154,8 +150,10 @@ public:
        /** LaTeX all paragraphs from par to endpar.
            \param \a endpar if == 0 then to the end
        */
-       void latexParagraphs(std::ostream & os, Paragraph * par,
-                            Paragraph * endpar, TexRow & texrow, bool moving_arg = false) const;
+       void latexParagraphs(std::ostream & os,
+                            ParagraphList::iterator par,
+                            ParagraphList::iterator endpar,
+                            TexRow & texrow, bool moving_arg = false) const;
        ///
        void simpleDocBookOnePar(std::ostream &,
                                 Paragraph * par, int & desc_on,
@@ -251,8 +249,8 @@ public:
        */
        void validate(LaTeXFeatures &) const;
 
-       ///
-       std::vector<std::pair<string, string> > const getBibkeyList() const;
+       /// return all bibkeys from buffer and its childs
+       void fillWithBibKeys(std::vector<std::pair<string, string> > & keys) const;
        ///
        std::vector<string> const getLabelList() const;
 
@@ -302,7 +300,7 @@ private:
 
        /// need to regenerate .tex ?
        DepClean dep_clean_;
+
        /// the author list
        AuthorList authorlist;