X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetPhantom.h;h=42c3da1f26cebc94216ca86d857ceae44e9b4c7d;hb=b73879691f816b0874d9dec0c09e2db7889c4e8e;hp=c5a805b64d8863df03354805a45ddf04de5f6090;hpb=e7f2bbe1eec4752ae2c88481bd77320186bbb8fb;p=lyx.git diff --git a/src/insets/InsetPhantom.h b/src/insets/InsetPhantom.h index c5a805b64d..42c3da1f26 100644 --- a/src/insets/InsetPhantom.h +++ b/src/insets/InsetPhantom.h @@ -60,9 +60,7 @@ private: /// InsetCode lyxCode() const { return PHANTOM_CODE; } /// - docstring name() const; - /// - void metrics(MetricsInfo &, Dimension &) const; + docstring layoutName() const; /// void draw(PainterInfo & pi, int x, int y) const; /// @@ -76,9 +74,10 @@ private: /// bool neverIndent() const { return true; } /// - 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; /// Makes no sense fof XHTML. @@ -94,7 +93,7 @@ private: /// used by the constructors void init(); /// - docstring contextMenuName() const; + std::string contextMenuName() const; /// friend class InsetPhantomParams;