4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Lars Gullik Bjønnes
9 * Full author contact details are available in file CREDITS.
15 #include "insetcommand.h"
17 class InsetLabel : public InsetCommand {
20 InsetLabel(InsetCommandParams const &);
22 std::auto_ptr<InsetBase> clone() const;
24 std::string const getScreenLabel(Buffer const &) const;
26 EDITABLE editable() const { return IS_EDITABLE; }
28 InsetOld::Code lyxCode() const { return InsetOld::LABEL_CODE; }
29 /// Appends \c list with this label
30 void getLabelList(Buffer const &, std::vector<std::string> & list) const;
32 int latex(Buffer const &, std::ostream &,
33 OutputParams const &) const;
35 int plaintext(Buffer const &, std::ostream &,
36 OutputParams const &) const;
38 int linuxdoc(Buffer const &, std::ostream &,
39 OutputParams const &) const;
41 int docbook(Buffer const &, std::ostream &,
42 OutputParams const &) const;
45 virtual void priv_dispatch(LCursor & cur, FuncRequest const & cmd);