+// -*- C++ -*-
/**
* \file insetwrap.h
* This file is part of LyX, the document processor.
void write(std::ostream &) const;
///
void read(LyXLex &);
-
+
///
string type;
///
///
InsetWrap(BufferParams const &, string const &);
///
- InsetWrap(InsetWrap const &, bool same_id = false);
- ///
~InsetWrap();
///
- virtual dispatch_result localDispatch(FuncRequest const & cmd);
+ virtual dispatch_result localDispatch(FuncRequest const & cmd);
///
void write(Buffer const * buf, std::ostream & os) const;
///
///
void validate(LaTeXFeatures & features) const;
///
- Inset * clone(Buffer const &, bool same_id = false) const;
+ virtual std::auto_ptr<InsetBase> clone() const;
///
- Inset::Code lyxCode() const { return Inset::WRAP_CODE; }
+ InsetOld::Code lyxCode() const { return InsetOld::WRAP_CODE; }
///
- int latex(Buffer const *, std::ostream &, bool fragile, bool fp) const;
+ int latex(Buffer const *, std::ostream &,
+ LatexRunParams const &) const;
///
int docbook(Buffer const *, std::ostream &, bool mixcont) const;
///
string const editMessage() const;
///
- bool insetAllowed(Inset::Code) const;
- ///
- int getMaxWidth(BufferView *, UpdatableInset const *) const;
- ///
- string const & type() const;
- ///
- LyXLength const & pageWidth() const;
- ///
- void pageWidth(LyXLength const &);
- ///
- void placement(string const & p);
- ///
- string const & placement() const;
+ bool insetAllowed(InsetOld::Code) const;
///
- void addToToc(toc::TocList &, Buffer const *) const;
+ void addToToc(lyx::toc::TocList &, Buffer const *) const;
///
bool showInsetDialog(BufferView *) const;
///
///
virtual string const & name() const { return name_; }
///
- virtual string const inset2string() const;
+ virtual string const inset2string(Buffer const &) const;
///
static void string2params(string const &, InsetWrapParams &);
///