Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 


Quellcode-Bibliothek

© Kompilation durch diese Firma

[Weder Korrektheit noch Funktionsfähigkeit der Software werden zugesichert.]

Datei: insetspecialchar.C   Sprache: C

Original von: Lyx©

// -*- C++ -*-
/* This file is part of*
 * ======================================================
 *
 *           LyX, The Document Processor
 *   
 *     Copyright (C) 1997 Asger Alstrup
 *
 *======================================================*/


#ifndef _INSET_SPECIALCHAR_H
#define _INSET_SPECIALCHAR_H

#ifdef __GNUG__
#pragma interface
#endif

#include "lyxinset.h"
#include "LString.h"

///  Used to insert special chars
class InsetSpecialChar: public Inset {
public:

 /// The different kinds of special chars we support
 enum Kind {
  /// Optional hyphenation point (\-)
  HYPHENATION,
  /// ... (\ldots)
  LDOTS,
  /// End of sentence punctuation (\@)
  END_OF_SENTENCE
 };

 ///
 InsetSpecialChar();
 ///
 InsetSpecialChar(Kind k);
 ///
 ~InsetSpecialChar();
 ///
 int Ascent(LyXFont const &font) const;
 ///
 int Descent(LyXFont const &font) const;
 ///
 int Width(LyXFont const &font) const;
 ///
 void Draw(LyXFont, LyXScreen &scr, int baseline, float &x);
 ///
 void Write(FILE *file);
 /// Will not be used when lyxf3
 void Read(LyXLex &lex);
 /// 
 int Latex(FILE *file, signed char fragile);
 ///
 int Latex(LString &file, signed char fragile);
 ///
 int Linuxdoc(LString &file);
 ///
 Inset* Clone();
 ///  
 Inset::Code LyxCode() const
 {
  return Inset::NO_CODE;
 }
 /// We don't need \begin_inset and \end_inset
 bool DirectWrite() const 
 {
  return true;
 };
private:
 /// And which kind is this?
 Kind kind;
};

#endif

¤ Dauer der Verarbeitung: 0.17 Sekunden  (vorverarbeitet)  ¤





Download des
Quellennavigators
Download des
sprechenden Kalenders

in der Quellcodebibliothek suchen




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.


Bot Zugriff



                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Software

     Produkte
     Quellcodebibliothek

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik