]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetRef.h
Check in InsetLabel if LFUN_INSET_MODIFY is intended for us.
[lyx.git] / src / insets / InsetRef.h
index ceae6fc4e87fad9d964563f35f2628be6d6dcce9..21a7ec1c7c5a21514120c5c911001f93665bd285 100644 (file)
@@ -51,9 +51,10 @@ public:
        ///
        DisplayType display() const { return Inline; }
        ///
-       int latex(odocstream &, OutputParams const &) const;
+       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,11 +62,13 @@ public:
        /// 
        void toString(odocstream &) const;
        ///
+       void forToc(docstring &, size_t) const;
+       ///
        void validate(LaTeXFeatures & features) const;
        ///
        void updateBuffer(ParIterator const & it, UpdateType);
        ///
-       void addToToc(DocIterator const &);
+       void addToToc(DocIterator const & di, bool output_active) const;
        ///
        bool forceLTR() const { return true; }
        //@}