]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetExternal.h
Pure HTML output for math macros.
[lyx.git] / src / insets / InsetExternal.h
index 962ac48de16f6e0376996f54015e43b9ff35bd4c..22c909b0e27b1d62afd176c3447124794c62ad5e 100644 (file)
@@ -94,7 +94,7 @@ class RenderBase;
 class InsetExternal : public Inset, public boost::signals::trackable
 {
 public:
-       InsetExternal(Buffer &);
+       InsetExternal(Buffer *);
        ///
        ~InsetExternal();
        ///
@@ -120,7 +120,7 @@ private:
        ///
        InsetCode lyxCode() const { return EXTERNAL_CODE; }
        ///
-       EDITABLE editable() const { return IS_EDITABLE; }
+       bool hasSettings() const { return true; }
        ///
        void metrics(MetricsInfo &, Dimension &) const;
        ///
@@ -133,12 +133,15 @@ private:
        int plaintext(odocstream &, OutputParams const &) const;
        ///
        int docbook(odocstream &, OutputParams const &) const;
+       /// For now, this does nothing. Someone who knows about this
+       /// should see what needs doing for XHTML output.
+       docstring xhtml(XHTMLStream &, OutputParams const &) const;
        /// Update needed features for this inset.
        void validate(LaTeXFeatures & features) const;
        ///
-       void addPreview(graphics::PreviewLoader &) const;
+       void addPreview(DocIterator const &, graphics::PreviewLoader &) const;
        ///
-       void edit(Cursor & cur, bool front, EntryDirection entry_from);
+       bool showInsetDialog(BufferView * bv) const;
        ///
        bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
        ///