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"
20 class InsetLabel : public InsetCommand {
23 InsetLabel(InsetCommandParams const &);
25 docstring const getScreenLabel(Buffer const &) const;
27 EDITABLE editable() const { return IS_EDITABLE; }
29 InsetBase::Code lyxCode() const { return InsetBase::LABEL_CODE; }
30 /// Appends \c list with this label
31 void getLabelList(Buffer const &, std::vector<docstring> & list) const;
33 int latex(Buffer const &, odocstream &, OutputParams const &) const;
35 int plaintext(Buffer const &, odocstream &, OutputParams const &) const;
37 int docbook(Buffer const &, odocstream &, OutputParams const &) const;
39 virtual void doDispatch(LCursor & cur, FuncRequest & cmd);
41 virtual std::auto_ptr<InsetBase> doClone() const;