* \author Jürgen Vigna
* \author Lars Gullik Bjønnes
*
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
*/
#ifndef INSETMARGINAL_H
#include "insetfootlike.h"
+
+namespace lyx {
+
/** The marginal note inset
*/
///
InsetMarginal(BufferParams const &);
///
- InsetMarginal(InsetMarginal const &, bool same_id = false);
+ InsetBase::Code lyxCode() const { return InsetBase::MARGIN_CODE; }
///
- Inset * clone(Buffer const &, bool same_id = false) const;
+ int latex(Buffer const &, odocstream &,
+ OutputParams const &) const;
///
- Inset::Code lyxCode() const { return Inset::MARGIN_CODE; }
+ int plaintext(Buffer const &, odocstream &,
+ OutputParams const & runparams) const;
///
- int latex(Buffer const *, std::ostream &, LatexRunParams const &,
- bool fp) const;
+ int docbook(Buffer const &, odocstream &,
+ OutputParams const & runparams) const;
///
- string const editMessage() const;
+ virtual docstring const editMessage() const;
+protected:
+ InsetMarginal(InsetMarginal const &);
+private:
+ virtual std::auto_ptr<InsetBase> doClone() const;
};
+
+} // namespace lyx
+
#endif