]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCitation.h
Fix mis-nomer
[lyx.git] / src / insets / InsetCitation.h
index af817dddb87d6db1e958d3708ce4e8026d550bab..417b46f518700d857066bba6b179c64388858e7d 100644 (file)
@@ -15,9 +15,6 @@
 
 #include "InsetCommand.h"
 
-#include "Citation.h"
-#include "support/strfwd.h"
-
 namespace lyx {
 
 /////////////////////////////////////////////////////////////////////////
@@ -53,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;
        ///
@@ -61,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;
        //@}
@@ -108,7 +107,7 @@ private:
 
        ///
        struct Cache {
-               Cache() : recalculate(true) {};
+               Cache() : recalculate(true) {}
                ///
                bool recalculate;
                ///