X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetPhantom.h;h=fad50637b23f3206bfe6b277bb91b31df0aa15b8;hb=d044d6afa7192b2119784e1415e71dad644bc335;hp=c49895c5f37a4820d11b4c02f6cc3422b54e5634;hpb=1ef605f6254ef3f3b8cec5440a2e67e6f23a707b;p=lyx.git diff --git a/src/insets/InsetPhantom.h b/src/insets/InsetPhantom.h index c49895c5f3..fad50637b2 100644 --- a/src/insets/InsetPhantom.h +++ b/src/insets/InsetPhantom.h @@ -60,7 +60,7 @@ private: /// InsetCode lyxCode() const { return PHANTOM_CODE; } /// - docstring name() const; + docstring layoutName() const; /// void metrics(MetricsInfo &, Dimension &) const; /// @@ -76,9 +76,10 @@ private: /// bool neverIndent() const { return true; } /// - int latex(otexstream &, 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; /// 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;