Quellcodebibliothek Statistik Leitseite products/sources/formale Sprachen/C/Lyx/src/   (Lyx Textverarbeitung ©)  Datei vom 21.11.1998 mit Größe 1 kB image not shown  

Quelle  insetlabel.C   Sprache: C

 
/* This file is part of
 * ======================================================
 * 
 *           LyX, The Document Processor
 *   
 *     Copyright (C) 1995 Matthias Ettrich
 *          Copyright (C) 1995-1998 The LyX Team.
 *
 *======================================================*/


#include <config.h>

#ifdef __GNUG__
#pragma implementation
#endif

#include "insetlabel.h"

//  $Id: insetlabel.C,v 1.1.1.1 1998/04/20 21:14:48 larsbj Exp $

#if !defined(lint) && !defined(WITH_WARNINGS)
static char vcid[] = "$Id: insetlabel.C,v 1.1.1.1 1998/04/20 21:14:48 larsbj Exp $";
#endif /* lint */

/* Label. Used to insert a label automatically */


InsetLabel::InsetLabel(LString const & cmd)
{
 scanCommand(cmd);
}


InsetLabel::~InsetLabel()
{
}


Inset* InsetLabel::Clone()
{
 InsetLabel *result = new InsetLabel(getCommand());
 return result;
}


int InsetLabel::GetNumberOfLabels() const
{
 return 1;
}


LString InsetLabel::getLabel(intconst
{
 return contents;
}

int InsetLabel::Latex(FILE *file, signed char /*fragile*/)
{
 fprintf(file, "%s", escape(getCommand()).c_str());
 return 0;
}


int InsetLabel::Latex(LString &file, signed char /*fragile*/)
{
 file += escape(getCommand());
 return 0;
}


int InsetLabel::Linuxdoc(LString &file)
{
 file += "

¤ Dauer der Verarbeitung: 0.16 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung ist noch experimentell.