]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetPhantom.h
New DocBook support
[lyx.git] / src / insets / InsetPhantom.h
index fad50637b23f3206bfe6b277bb91b31df0aa15b8..89ccfb3d765ea6d2c9d6183d331770533d36368a 100644 (file)
@@ -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:
        ///
@@ -62,8 +62,6 @@ private:
        ///
        docstring layoutName() const;
        ///
-       void metrics(MetricsInfo &, Dimension &) const;
-       ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
        void write(std::ostream &) const;
@@ -81,9 +79,9 @@ private:
        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;
        ///