]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBibitem.h
Pure HTML output for math macros.
[lyx.git] / src / insets / InsetBibitem.h
index 3a23bf925a79a541b7e84e978859c1ad6665122c..4c298c32d9e94f2d39f748d8f00b5ae56041dc38 100644 (file)
@@ -12,8 +12,8 @@
 #ifndef INSET_BIBITEM_H
 #define INSET_BIBITEM_H
 
-#include "InsetCommand.h"
 #include "BiblioInfo.h"
+#include "InsetCommand.h"
 
 
 namespace lyx {
@@ -32,7 +32,7 @@ class InsetBibitem : public InsetCommand
 {
 public:
        ///
-       InsetBibitem(Buffer const &, InsetCommandParams const &);
+       InsetBibitem(Buffer *, InsetCommandParams const &);
        ///
        virtual ~InsetBibitem();
        ///
@@ -53,7 +53,7 @@ private:
        ///
        docstring screenLabel() const;
        ///
-       EDITABLE editable() const { return IS_EDITABLE; }
+       bool hasSettings() const { return true; }
        ///
        InsetCode lyxCode() const { return BIBITEM_CODE; }
        ///
@@ -61,9 +61,11 @@ private:
        ///
        int plaintext(odocstream &, OutputParams const &) const;
        ///
+       docstring xhtml(XHTMLStream &, OutputParams const &) const;
+       ///
        virtual void fillWithBibKeys(BiblioInfo &, InsetIterator const &) const;
        /// Update the counter of this inset
-       virtual void updateLabels(ParIterator const &);
+       void updateBuffer(ParIterator const &, UpdateType);
        ///
        void updateCommand(docstring const & new_key, bool dummy = false);
        ///
@@ -71,8 +73,8 @@ private:
        ///
        Inset * clone() const { return new InsetBibitem(*this); }
 
-       friend docstring bibitemWidest(Buffer const & buffer);
-       /// The label that is set by updateLabels
+       friend docstring bibitemWidest(Buffer const & buffer, OutputParams const &);
+       /// The label that is set by updateBuffer
        docstring autolabel_;
        ///
        static int key_counter;
@@ -80,7 +82,7 @@ private:
 
 
 /// Return the widest label in the Bibliography.
-docstring bibitemWidest(Buffer const &);
+docstring bibitemWidest(Buffer const &, OutputParams const &);
 
 } // namespace lyx