]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetExternal.h
Pure HTML output for math macros.
[lyx.git] / src / insets / InsetExternal.h
index a9f8adbe5347b2ce7cef040a3c72d65d9fd3a636..22c909b0e27b1d62afd176c3447124794c62ad5e 100644 (file)
@@ -94,7 +94,7 @@ class RenderBase;
 class InsetExternal : public Inset, public boost::signals::trackable
 {
 public:
-       InsetExternal(Buffer &);
+       InsetExternal(Buffer *);
        ///
        ~InsetExternal();
        ///
@@ -107,6 +107,8 @@ public:
        InsetExternalParams const & params() const;
        ///
        void setParams(InsetExternalParams const &);
+       /// Update not loaded previews
+       void updatePreview();
        /// \returns the number of rows (\n's) of generated code.
        int latex(odocstream &, OutputParams const &) const;
        ///
@@ -118,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;
        ///
@@ -131,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;
        ///