]> git.lyx.org Git - lyx.git/blob - src/insets/insetmarginal.h
* src/LyXAction.C: mark goto-clear-bookmark as working without buffer
[lyx.git] / src / insets / insetmarginal.h
1 // -*- C++ -*-
2 /**
3  * \file insetmarginal.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Jürgen Vigna
8  * \author Lars Gullik Bjønnes
9  *
10  * Full author contact details are available in file CREDITS.
11  */
12
13 #ifndef INSETMARGINAL_H
14 #define INSETMARGINAL_H
15
16
17 #include "insetfootlike.h"
18
19
20 namespace lyx {
21
22 /** The marginal note inset
23
24 */
25 class InsetMarginal : public InsetFootlike {
26 public:
27         ///
28         InsetMarginal(BufferParams const &);
29         ///
30         InsetBase::Code lyxCode() const { return InsetBase::MARGIN_CODE; }
31         ///
32         int latex(Buffer const &, odocstream &,
33                   OutputParams const &) const;
34         ///
35         int docbook(Buffer const &, odocstream &,
36                     OutputParams const & runparams) const;
37         ///
38         virtual docstring const editMessage() const;
39 protected:
40         InsetMarginal(InsetMarginal const &);
41 private:
42         virtual std::auto_ptr<InsetBase> doClone() const;
43 };
44
45
46 } // namespace lyx
47
48 #endif