2 /* This file is part of*
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 1997-2000 The LyX Team.
9 * ====================================================== */
18 #include "insetcommand.h"
19 #include "support/utility.hpp"
25 class InsetUrl : public InsetCommand, public noncopyable {
29 InsetUrl(InsetCommandParams const &);
31 Inset * Clone() const { return new InsetUrl(params()); }
33 Inset::Code LyxCode() const { return Inset::URL_CODE; }
35 void Validate(LaTeXFeatures &) const;
37 string getScreenLabel() const;
39 EDITABLE Editable() const { return IS_EDITABLE; }
41 void Edit(BufferView *, int, int, unsigned int);
43 bool display() const { return false; }
45 int Latex(Buffer const *, std::ostream &,
46 bool fragile, bool free_spc) const;
48 int Ascii(Buffer const *, std::ostream &) const;
50 int Linuxdoc(Buffer const *, std::ostream &) const;
52 int DocBook(Buffer const *, std::ostream &) const;