X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetPhantom.h;h=46e8576678f5a1567ccefde72fcf441ecafeda21;hb=639aa354448188f45e69d6bd1e0ef3dfcc938c5f;hp=d27721f098f2e06581db25b6316e2bffbaa08e92;hpb=77c771e3b6599a81173a1834aa60e33d66f1b7a4;p=lyx.git diff --git a/src/insets/InsetPhantom.h b/src/insets/InsetPhantom.h index d27721f098..46e8576678 100644 --- a/src/insets/InsetPhantom.h +++ b/src/insets/InsetPhantom.h @@ -12,7 +12,7 @@ #ifndef INSET_PHANTOM_H #define INSET_PHANTOM_H -#include "InsetCollapsable.h" +#include "InsetCollapsible.h" namespace lyx { @@ -43,7 +43,7 @@ public: ///////////////////////////////////////////////////////////////////////// /// The phantom inset -class InsetPhantom : public InsetCollapsable +class InsetPhantom : public InsetCollapsible { public: /// @@ -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 contextMenu(BufferView const & bv, int x, int y) const; + std::string contextMenuName() const; /// friend class InsetPhantomParams;