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 &);
24 std::auto_ptr<InsetBase> clone() const;
26 std::string const getScreenLabel(Buffer const &) const;
28 EDITABLE editable() const { return IS_EDITABLE; }
30 InsetOld::Code lyxCode() const { return InsetOld::LABEL_CODE; }
31 /// Appends \c list with this label
32 void getLabelList(Buffer const &, std::vector<std::string> & list) const;
34 int latex(Buffer const &, std::ostream &,
35 OutputParams const &) const;
37 int plaintext(Buffer const &, std::ostream &,
38 OutputParams const &) const;
40 int linuxdoc(Buffer const &, std::ostream &,
41 OutputParams const &) const;
43 int docbook(Buffer const &, std::ostream &,
44 OutputParams const &) const;
49 priv_dispatch(FuncRequest const & cmd, idx_type &, pos_type &);