X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetCitation.h;h=417b46f518700d857066bba6b179c64388858e7d;hb=83d2c7fa3704a221b143a54b0c78747fbd712504;hp=e29c3997fb8fcfa8953512c13cb2fa40c46f5324;hpb=2ffd130d2bc4b594ab64327479ace742f119b5ae;p=lyx.git diff --git a/src/insets/InsetCitation.h b/src/insets/InsetCitation.h index e29c3997fb..417b46f518 100644 --- a/src/insets/InsetCitation.h +++ b/src/insets/InsetCitation.h @@ -15,8 +15,6 @@ #include "InsetCommand.h" -#include "Citation.h" - namespace lyx { ///////////////////////////////////////////////////////////////////////// @@ -34,6 +32,9 @@ public: /// ~InsetCitation(); + /// + bool addKey(std::string const & key); + /// \name Public functions inherited from Inset class //@{ /// @@ -49,7 +50,8 @@ public: /// void latex(otexstream &, OutputParams const &) const; /// - int plaintext(odocstream &, OutputParams const &) const; + int plaintext(odocstringstream & ods, OutputParams const & op, + size_t max_length = INT_MAX) const; /// int docbook(odocstream &, OutputParams const &) const; /// @@ -57,13 +59,14 @@ public: /// void toString(odocstream &) const; /// - void forToc(docstring &, size_t) const; + void forOutliner(docstring &, size_t const, bool const) const; /// void validate(LaTeXFeatures &) const {} /// void updateBuffer(ParIterator const & it, UpdateType); /// - void addToToc(DocIterator const &) const; + void addToToc(DocIterator const & di, bool output_active, + UpdateType utype) const; /// std::string contextMenuName() const; //@} @@ -104,7 +107,7 @@ private: /// struct Cache { - Cache() : recalculate(true) {}; + Cache() : recalculate(true) {} /// bool recalculate; ///