X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetCitation.h;h=417b46f518700d857066bba6b179c64388858e7d;hb=e4c46abeb7385960c9dd42494e3c7c1f3e699b56;hp=0cdde7b2ee7ece7666fcaa85ffcece71dc95a36c;hpb=1e947e3a18f3676c527684affa96cd41aa61345c;p=lyx.git diff --git a/src/insets/InsetCitation.h b/src/insets/InsetCitation.h index 0cdde7b2ee..417b46f518 100644 --- a/src/insets/InsetCitation.h +++ b/src/insets/InsetCitation.h @@ -15,8 +15,6 @@ #include "InsetCommand.h" -#include "Citation.h" - namespace lyx { ///////////////////////////////////////////////////////////////////////// @@ -31,6 +29,11 @@ class InsetCitation : public InsetCommand public: /// InsetCitation(Buffer * buf, InsetCommandParams const &); + /// + ~InsetCitation(); + + /// + bool addKey(std::string const & key); /// \name Public functions inherited from Inset class //@{ @@ -47,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; /// @@ -55,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; //@} @@ -102,7 +107,7 @@ private: /// struct Cache { - Cache() : recalculate(true) {}; + Cache() : recalculate(true) {} /// bool recalculate; ///