]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBibtex.h
Don't add localswitch if no language changes
[lyx.git] / src / insets / InsetBibtex.h
index 4f6f68cef2d96fd89eaf41a772356cf0ef6ea53c..ec783d857bfc4e0edaf33aaa307f15594083f668 100644 (file)
 namespace lyx {
 
 class BiblioInfo;
+class docstring_list;
 
 namespace support {
        class FileName;
-       class FileNamePairList;
-}
+} // namespace support
 
 /** Used to insert BibTeX's information
   */
@@ -33,7 +33,7 @@ public:
        ~InsetBibtex();
 
        ///
-       support::FileNamePairList getBibFiles() const;
+       docstring_list getBibFiles() const;
        ///
        bool addDatabase(docstring const &);
        ///
@@ -48,8 +48,6 @@ public:
        ///
        bool hasSettings() const { return true; }
        ///
-       bool inheritFont() const { return true; }
-       ///
        InsetCode lyxCode() const { return BIBTEX_CODE; }
        ///
        DisplayType display() const { return AlignCenter; }
@@ -59,7 +57,7 @@ public:
        int plaintext(odocstringstream & ods, OutputParams const & op,
                      size_t max_length = INT_MAX) const;
        ///
-       void collectBibKeys(InsetIterator const &) const;
+       void collectBibKeys(InsetIterator const &, support::FileNameList &) const;
        ///
        void validate(LaTeXFeatures &) const;
        ///
@@ -80,13 +78,10 @@ public:
        //@}
 
 private:
-       /// look up the path to the file using TeX
-       static support::FileName
-               getBibTeXPath(docstring const & filename, Buffer const & buf);
        ///
        void editDatabases() const;
        ///
-       void parseBibTeXFiles() const;
+       void parseBibTeXFiles(support::FileNameList &) const;
        ///
        bool usingBiblatex() const;