4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
16 #include "insetcommand.h"
22 class InsetUrl : public InsetCommand {
26 InsetUrl(InsetCommandParams const &);
30 virtual std::auto_ptr<InsetBase> clone() const {
31 return std::auto_ptr<InsetBase>(new InsetUrl(params()));
34 InsetOld::Code lyxCode() const { return InsetOld::URL_CODE; }
36 void validate(LaTeXFeatures &) const;
38 std::string const getScreenLabel(Buffer const &) const;
40 EDITABLE editable() const { return IS_EDITABLE; }
42 bool display() const { return false; }
44 int latex(Buffer const &, std::ostream &,
45 OutputParams const &) const;
47 int plaintext(Buffer const &, std::ostream &,
48 OutputParams const &) const;
50 int linuxdoc(Buffer const &, std::ostream &,
51 OutputParams const &) const;
53 int docbook(Buffer const &, std::ostream &,
54 OutputParams const &) const;
59 priv_dispatch(FuncRequest const & cmd, idx_type &, pos_type &);