]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetScript.h
Prettify the tooltip for footnotes.
[lyx.git] / src / insets / InsetScript.h
index b2062dabfde1fc6f88097f80fa4414771d95edf4..decfee37aeca3a3e7683ac51759295f2e40950c8 100644 (file)
@@ -65,7 +65,7 @@ public:
        ///
        InsetCode lyxCode() const { return SCRIPT_CODE; }
        ///
-       docstring name() const;
+       docstring layoutName() const;
        ///
        DisplayType display() const;
        ///
@@ -82,20 +82,11 @@ public:
        ///
        bool neverIndent() const { return true; }
        ///
-       bool forcePlainLayout(idx_type = 0) const { return true; }
-       ///
-       bool allowParagraphCustomization(idx_type = 0) const { return false; }
-       ///
-       virtual void validate(LaTeXFeatures &) 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;
        ///
-       docstring xhtml(XHTMLStream &, OutputParams const &) const;
-       ///
        void edit(Cursor & cur, bool front,
                  EntryDirection entry_from = ENTRY_DIRECTION_IGNORE);
        ///
@@ -109,7 +100,7 @@ public:
        ///
        Inset * clone() const { return new InsetScript(*this); }
        ///
-       docstring contextMenuName() const;
+       std::string contextMenuName() const;
        //@}
 
        /// \name Public functions inherited from InsetText class