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 virtual dispatch_result localDispatch(FuncRequest const & cmd);
28 std::string const getScreenLabel(Buffer const &) const;
30 EDITABLE editable() const { return IS_EDITABLE; }
32 InsetOld::Code lyxCode() const { return InsetOld::LABEL_CODE; }
33 /// Appends \c list with this label
34 void getLabelList(Buffer const &, std::vector<std::string> & list) const;
36 int latex(Buffer const &, std::ostream &,
37 LatexRunParams const &) const;
39 int ascii(Buffer const &, std::ostream &, int linelen) const;
41 int linuxdoc(Buffer const &, std::ostream &) const;
43 int docbook(Buffer const &, std::ostream &, bool mixcont) const;