]> 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 36d395d4092495cd39aeb32b8c96f4bb2dcdcb2b..e4331b9faad63807c414bdf62c5cbb8800384f54 100644 (file)
@@ -16,6 +16,9 @@
 
 #include "insetfootlike.h"
 
+
+namespace lyx {
+
 /** The marginal note inset
 
 */
@@ -24,16 +27,25 @@ public:
        ///
        InsetMarginal(BufferParams const &);
        ///
-       InsetOld::Code lyxCode() const { return InsetOld::MARGIN_CODE; }
+       InsetBase::Code lyxCode() const { return InsetBase::MARGIN_CODE; }
+       ///
+       int latex(Buffer const &, odocstream &,
+                 OutputParams const &) const;
        ///
-       int latex(Buffer const &, std::ostream &,
-                 OutputParams const &) const;
+       int plaintext(Buffer const &, odocstream &,
+                     OutputParams const & runparams) const;
        ///
-       std::string const editMessage() const;
+       int docbook(Buffer const &, odocstream &,
+                   OutputParams const & runparams) const;
+       ///
+       virtual docstring const editMessage() const;
 protected:
        InsetMarginal(InsetMarginal const &);
 private:
        virtual std::auto_ptr<InsetBase> doClone() const;
 };
 
+
+} // namespace lyx
+
 #endif