]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetmarginal.h
* In the process of fixing the math background color bug, this commit transfer backgr...
[lyx.git] / src / insets / insetmarginal.h
index ddbab180942d3439cb7628439614744a7e98173f..e4331b9faad63807c414bdf62c5cbb8800384f54 100644 (file)
@@ -7,7 +7,7 @@
  * \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
@@ -16,6 +16,9 @@
 
 #include "insetfootlike.h"
 
+
+namespace lyx {
+
 /** The marginal note inset
 
 */
@@ -24,16 +27,25 @@ public:
        ///
        InsetMarginal(BufferParams const &);
        ///
-       InsetMarginal(InsetMarginal const &);
+       InsetBase::Code lyxCode() const { return InsetBase::MARGIN_CODE; }
        ///
-       virtual std::auto_ptr<InsetBase> clone() 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 &) 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