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 InsetBase * clone() const {
31 return new InsetUrl(params());
34 dispatch_result localDispatch(FuncRequest const & cmd);
36 Inset::Code lyxCode() const { return Inset::URL_CODE; }
38 void validate(LaTeXFeatures &) const;
40 string const getScreenLabel(Buffer const *) const;
42 EDITABLE editable() const { return IS_EDITABLE; }
44 bool display() const { return false; }
46 int latex(Buffer const *, std::ostream &,
47 LatexRunParams const &) 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 &, bool mixcont) const;