X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetBibitem.h;h=ba33732ad0b01d33a7ee6c6ce02d1df6235b508e;hb=131f4b92bac3ecb75b47c266dfa3d8543bd4d578;hp=c28f66aa5206dec22ee30858cbdc0eab1156da05;hpb=840f2baf9185ca50d3ea94b0eea668cd56647d65;p=lyx.git diff --git a/src/insets/InsetBibitem.h b/src/insets/InsetBibitem.h index c28f66aa52..ba33732ad0 100644 --- a/src/insets/InsetBibitem.h +++ b/src/insets/InsetBibitem.h @@ -55,11 +55,12 @@ 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; /// - void collectBibKeys(InsetIterator const &) const; + void collectBibKeys(InsetIterator const &, support::FileNameList &) const; /// update the counter of this inset void updateBuffer(ParIterator const &, UpdateType); ///@} @@ -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