]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetPhantom.h
InsetPhantom::latex(): use a switch
[lyx.git] / src / insets / InsetPhantom.h
index a6711acdccf576e96397d336291fea8afaa2d0f6..fad50637b23f3206bfe6b277bb91b31df0aa15b8 100644 (file)
@@ -60,7 +60,7 @@ private:
        ///
        InsetCode lyxCode() const { return PHANTOM_CODE; }
        ///
-       docstring name() const;
+       docstring layoutName() const;
        ///
        void metrics(MetricsInfo &, Dimension &) const;
        ///
@@ -78,7 +78,8 @@ private:
        ///
        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;
        /// Makes no sense fof XHTML.
@@ -94,7 +95,7 @@ private:
        /// used by the constructors
        void init();
        ///
-       docstring contextMenuName() const;
+       std::string contextMenuName() const;
        ///
        friend class InsetPhantomParams;