X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetlatex.h;h=c3b5b52a500622c18ab241ffc82623a9ddd1a5cd;hb=3c8aba3b556871fb1100a2f98cd93d5d4e3f70c9;hp=4950d09dbad5a03dfc771537aa6db491a295cc15;hpb=0eccdd1c3613e5170deb77b22174dd0afde833e9;p=lyx.git diff --git a/src/insets/insetlatex.h b/src/insets/insetlatex.h index 4950d09dba..c3b5b52a50 100644 --- a/src/insets/insetlatex.h +++ b/src/insets/insetlatex.h @@ -6,10 +6,10 @@ * * Copyright (C) 1995 Matthias Ettrich * - *======================================================*/ + * ====================================================== */ -#ifndef _INSET_LATEX_H -#define _INSET_LATEX_H +#ifndef INSET_LATEX_H +#define INSET_LATEX_H #ifdef __GNUG__ #pragma interface @@ -24,38 +24,41 @@ delete/backspace operations. This is used when you insert a LaTeX figure (done as "\input "), but you still have to type the filename yourself after the inset. */ -class InsetLatex: public Inset { +class InsetLatex : public Inset { public: /// InsetLatex(); /// + explicit InsetLatex(string const & string); /// ~InsetLatex(); /// - int Ascent(LyXFont const &font) const; + int Ascent(LyXFont const & font) const; /// - int Descent(LyXFont const &font) const; + int Descent(LyXFont const & font) const; /// - int Width(LyXFont const &font) const; + int Width(LyXFont const & font) const; /// - void Draw(LyXFont font, LyXScreen &scr, int baseline, float &x); + void Draw(LyXFont font, LyXScreen & scr, int baseline, float & x); /// - void Write(FILE *file); + void Write(FILE * file); /// - void Read(LyXLex &lex); + void Read(LyXLex & lex); /// - int Latex(FILE *file, signed char fragile); + int Latex(FILE * file, signed char fragile, bool free_spc); /// - int Latex(string &file, signed char fragile); + int Latex(string & file, signed char fragile, bool free_spc); /// - int Linuxdoc(string &file); + int Ascii(string & file) const; /// - int DocBook(string &file); + int Linuxdoc(string & file); + /// + int DocBook(string & file); /// bool Deletable() const; /// - Inset* Clone(); + Inset * Clone() const; /// Inset::Code LyxCode() const; private: