]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBibtex.h
InsetTabular.cpp: fix #6585 also for wrapped floats - thanks Vincent
[lyx.git] / src / insets / InsetBibtex.h
index 7b37ee9524c26e865bbbfafd53462014e2736058..d4e1ad7ecbfaf2a687d7d30086835cde03567588 100644 (file)
@@ -28,9 +28,17 @@ public:
        ///
        InsetBibtex(Buffer *, InsetCommandParams const &);
        ///
-       virtual ~InsetBibtex();
+       ~InsetBibtex();
+
        ///
-       docstring screenLabel() const;
+       support::FileNameList getBibFiles() const;
+       ///
+       bool addDatabase(docstring const &);
+       ///
+       bool delDatabase(docstring const &);
+
+       /// \name Public functions inherited from Inset class
+       //@{
        ///
        docstring toolTip(BufferView const & bv, int x, int y) const;
        ///
@@ -44,37 +52,47 @@ public:
        ///
        void fillWithBibKeys(BiblioInfo &, InsetIterator const &) const;
        ///
-       support::FileNameList getBibFiles() const;
-       ///
-       bool addDatabase(docstring const &);
-       ///
-       bool delDatabase(docstring const &);
-       ///
        void validate(LaTeXFeatures &) const;
        ///
-       docstring xhtml(odocstream &, OutputParams const &) const;
+       docstring xhtml(XHTMLStream &, OutputParams const &) const;
+       ///
+       docstring contextMenu(BufferView const &, int, int) const;
+       //@}
+
+       /// \name Static public methods obligated for InsetCommand derived classes
+       //@{
        ///
        static ParamInfo const & findInfo(std::string const &);
        ///
-       static std::string defaultCommand() { return "bibtex"; };
+       static std::string defaultCommand() { return "bibtex"; }
        ///
        static bool isCompatibleCommand(std::string const & s) 
                { return s == "bibtex"; }
+       //@}
+
+private:
        /// look up the path to the file using TeX
        static support::FileName 
                getBibTeXPath(docstring const & filename, Buffer const & buf);
        ///
-       docstring contextMenu(BufferView const &, int, int) const;
-private:
-       ///
-       void doDispatch(Cursor & cur, FuncRequest & cmd);
+       void editDatabases() const;
+
+       /// \name Private functions inherited from Inset class
+       //@{
        ///
        bool getStatus(Cursor & cur, FuncRequest const & cmd,
                FuncStatus & flag) const;
        ///
-       void editDatabases() const;
+       void doDispatch(Cursor & cur, FuncRequest & cmd);
        ///
        Inset * clone() const { return new InsetBibtex(*this); }
+       //@}
+
+       /// \name Private functions inherited from InsetCommand class
+       //@{
+       ///
+       docstring screenLabel() const;
+       //@}
 };