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