mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-14 06:57:01 +00:00
71f8ac34a9
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1095 a592a061-630c-0410-9148-cb99ea01b6c8
55 lines
1.2 KiB
C++
55 lines
1.2 KiB
C++
// -*- C++ -*-
|
|
/* This file is part of*
|
|
* ======================================================
|
|
*
|
|
* LyX, The Document Processor
|
|
*
|
|
* Copyright 1997-2000 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 &);
|
|
///
|
|
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
|