]> git.lyx.org Git - lyx.git/blob - src/insets/insethfill.h
Rename LatexRunParams::fragile as moving_arg.
[lyx.git] / src / insets / insethfill.h
1 // -*- C++ -*-
2 /**
3  * \file insethfill.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author André Pönitz
8  *
9  * Full author contact details are available in file CREDITS
10  */
11
12 #ifndef INSET_HFILL_H
13 #define INSET_HFILL_H
14
15
16 #include "insetcommand.h"
17
18 class InsetHFill : public InsetCommand {
19 public:
20         ///
21         InsetHFill();
22         ///
23         virtual Inset * clone(Buffer const &, bool = false) const {
24                 return new InsetHFill();
25         }
26         ///
27         string const getScreenLabel(Buffer const *) const { return getContents(); }
28         ///
29         Inset::Code lyxCode() const { return Inset::HFILL_CODE; }
30         ///
31         int latex(Buffer const *, std::ostream &,
32                   LatexRunParams const &) const;
33         ///
34         int ascii(Buffer const *, std::ostream &, int linelen) const;
35         ///
36         void write(Buffer const * buf, std::ostream & os) const;
37         /// We don't need \begin_inset and \end_inset
38         bool directWrite() const { return true; }
39 };
40
41 #endif