lyx_mirror/src/insets/inseturl.h
Lars Gullik Bjønnes 85a5ea7bfc change a lot of methods to begin with small char
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2150 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-28 10:25:20 +00:00

57 lines
1.2 KiB
C++

// -*- C++ -*-
/* This file is part of*
* ======================================================
*
* LyX, The Document Processor
*
* Copyright 1997-2001 The LyX Team.
*
* ====================================================== */
#ifndef INSET_URL_H
#define INSET_URL_H
#ifdef __GNUG__
#pragma interface
#endif
#include "insetcommand.h"
struct LaTeXFeatures;
/** The url inset
*/
class InsetUrl : public InsetCommand {
public:
///
explicit
InsetUrl(InsetCommandParams const &);
///
virtual Inset * clone(Buffer const &) const {
return new InsetUrl(params());
}
///
Inset::Code LyxCode() const { return Inset::URL_CODE; }
///
void Validate(LaTeXFeatures &) const;
///
string const getScreenLabel() const;
///
EDITABLE Editable() const { return IS_EDITABLE; }
///
void Edit(BufferView *, int, int, unsigned int);
///
bool display() const { return false; }
///
int Latex(Buffer const *, std::ostream &,
bool fragile, bool free_spc) const;
///
int Ascii(Buffer const *, std::ostream &, int linelen) const;
///
int Linuxdoc(Buffer const *, std::ostream &) const;
///
int DocBook(Buffer const *, std::ostream &) const;
};
#endif