2 /* This file is part of*
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 1997-2000 The LyX Team.
9 * ====================================================== */
18 #include "insetcommand.h"
24 class InsetUrl : public InsetCommand {
28 InsetUrl(InsetCommandParams const &);
30 Inset * Clone() const { return new InsetUrl(params()); }
32 Inset::Code LyxCode() const { return Inset::URL_CODE; }
34 void Validate(LaTeXFeatures &) const;
36 string const getScreenLabel() const;
38 EDITABLE Editable() const { return IS_EDITABLE; }
40 void Edit(BufferView *, int, int, unsigned int);
42 bool display() const { return false; }
44 int Latex(Buffer const *, std::ostream &,
45 bool fragile, bool free_spc) const;
47 int Ascii(Buffer const *, std::ostream &) const;
49 int Linuxdoc(Buffer const *, std::ostream &) const;
51 int DocBook(Buffer const *, std::ostream &) const;