]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetPhantom.h
Cocoa based Qt-4.6 needs to paint every character separately to match metrics computa...
[lyx.git] / src / insets / InsetPhantom.h
index 41fba8fb42868c64aa5de5d8a5da2f726995502f..548bdb0b9cde7c7cbecf76d940aa128d82c8b38e 100644 (file)
@@ -47,7 +47,7 @@ class InsetPhantom : public InsetCollapsable
 {
 public:
        ///
-       InsetPhantom(Buffer const &, std::string const &);
+       InsetPhantom(Buffer *, std::string const &);
        ///
        ~InsetPhantom();
        ///
@@ -57,12 +57,10 @@ public:
        ///
        InsetPhantomParams const & params() const { return params_; }
 private:
-       ///
-       docstring editMessage() const;
        ///
        InsetCode lyxCode() const { return PHANTOM_CODE; }
        ///
-       docstring name() const;
+       docstring layoutName() const;
        ///
        void metrics(MetricsInfo &, Dimension &) const;
        ///
@@ -78,13 +76,13 @@ 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 docbook(odocstream &, OutputParams const &) const;
        /// Makes no sense fof XHTML.
-       docstring xhtml(odocstream &, OutputParams const &) const;
+       docstring xhtml(XHTMLStream &, OutputParams const &) const;
        ///
        bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
        ///
@@ -96,7 +94,7 @@ private:
        /// used by the constructors
        void init();
        ///
-       docstring contextMenu(BufferView const & bv, int x, int y) const;
+       docstring contextMenuName() const;
        ///
        friend class InsetPhantomParams;