class InsetExternal : public Inset, public boost::signals::trackable
{
public:
- InsetExternal(Buffer &);
+ InsetExternal(Buffer *);
///
~InsetExternal();
///
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;
///
///
InsetCode lyxCode() const { return EXTERNAL_CODE; }
///
- EDITABLE editable() const { return IS_EDITABLE; }
+ bool hasSettings() const { return true; }
///
void metrics(MetricsInfo &, Dimension &) const;
///
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;
///