home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dream 52
/
Amiga_Dream_52.iso
/
Linux
/
Divers
/
lyx-0.13.2.tar.gz
/
lyx-0.13.2.tar
/
lyx-0.13.2
/
src
/
insetlabel.h
< prev
next >
Wrap
C/C++ Source or Header
|
1998-04-23
|
1KB
|
53 lines
// -*- C++ -*-
/* This file is part of*
* ======================================================
*
* LyX, The Document Processor
*
* Copyright (C) 1995 Matthias Ettrich
* 1995-1998 The LyX Team
*
*======================================================*/
#ifndef _INSET_LABEL_H
#define _INSET_LABEL_H
#ifdef __GNUG__
#pragma interface
#endif
#include "insetcommand.h"
#include "LString.h"
///
class InsetLabel: public InsetCommand {
public:
///
InsetLabel(LString const & cmd);
///
InsetLabel() : InsetCommand("label") {;}
///
~InsetLabel();
///
Inset* Clone();
///
Inset::Code LyxCode() const { return Inset::LABEL_CODE; }
///
int GetNumberOfLabels() const;
///
LString getLabel(int) const;
///
LString getScreenLabel() const { return getContents(); }
///
unsigned char Editable() const { return 0; }
///
int Latex(FILE *file, signed char fragile);
///
int Latex(LString &file, signed char fragile);
private:
/// This function escapes 8-bit characters
LString escape(LString const &) const;
};
#endif