#ifndef INSET_PHANTOM_H
#define INSET_PHANTOM_H
-#include "InsetCollapsable.h"
+#include "InsetCollapsible.h"
namespace lyx {
/////////////////////////////////////////////////////////////////////////
/// The phantom inset
-class InsetPhantom : public InsetCollapsable
+class InsetPhantom : public InsetCollapsible
{
public:
///
///
docstring layoutName() const;
///
- void metrics(MetricsInfo &, Dimension &) const;
- ///
void draw(PainterInfo & pi, int x, int y) const;
///
void write(std::ostream &) 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.
- docstring xhtml(XHTMLStream &, OutputParams const &) const;
+ void docbook(XMLStream &, OutputParams const &) const;
+ /// Makes no sense for XHTML.
+ docstring xhtml(XMLStream &, OutputParams const &) const;
///
bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
///
/// used by the constructors
void init();
///
- docstring contextMenuName() const;
+ std::string contextMenuName() const;
///
friend class InsetPhantomParams;