]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetBibitem.h
Rename XHTMLStream to XMLStream, move it to another file, and prepare for DocBook...
[features.git] / src / insets / InsetBibitem.h
index c28f66aa5206dec22ee30858cbdc0eab1156da05..22e3ac112b2aa94e31cac39dc3b7819039a91ea3 100644 (file)
@@ -55,13 +55,14 @@ public:
        ///
        void read(Lexer & lex);
        ///
-       int plaintext(odocstream &, OutputParams const &) const;
+       int plaintext(odocstringstream &, OutputParams const &,
+                     size_t max_length = INT_MAX) const;
        ///
-       docstring xhtml(XHTMLStream &, OutputParams const &) const;
+       docstring xhtml(XMLStream &, OutputParams const &) const;
        ///
-       void collectBibKeys(InsetIterator const &) const;
+       void collectBibKeys(InsetIterator const &, support::FileNameList &) const;
        /// update the counter of this inset
-       void updateBuffer(ParIterator const &, UpdateType);
+       void updateBuffer(ParIterator const &, UpdateType, bool const deleted = false);
        ///@}
 
        /// \name Static public methods obligated for InsetCommand derived classes
@@ -71,7 +72,7 @@ public:
        ///
        static std::string defaultCommand() { return "bibitem"; }
        ///
-       static bool isCompatibleCommand(std::string const & s) 
+       static bool isCompatibleCommand(std::string const & s)
                { return s == "bibitem"; }
        ///@}
 
@@ -85,6 +86,8 @@ private:
        void doDispatch(Cursor & cur, FuncRequest & cmd);
        ///
        Inset * clone() const { return new InsetBibitem(*this); }
+       /// Is the content of this inset part of the immediate (visible) text sequence?
+       bool isPartOfTextSequence() const { return false; }
        ///@}
 
        /// \name Private functions inherited from InsetCommand class