X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FFont.h;h=6b4aafa00fa61498d4b2ac975e9aff464765c6d2;hb=608603a31d6ae4e3d08ae4e9c18a11d9e705dcf4;hp=2348d1bdf8ae428fa578763afae5c41d9af779c5;hpb=fc6ce7cd08562fd7bab4427880b46390bb7d2f07;p=lyx.git diff --git a/src/Font.h b/src/Font.h index 2348d1bdf8..6b4aafa00f 100644 --- a/src/Font.h +++ b/src/Font.h @@ -25,6 +25,7 @@ namespace lyx { class Lexer; class BufferParams; class Language; +class OutputParams; /// @@ -296,15 +297,19 @@ public: to this font. Returns number of chars written. Base is the font state active now. */ - int latexWriteStartChanges(odocstream &, Font const & base, - Font const & prev) const; + int latexWriteStartChanges(odocstream &, BufferParams const & bparams, + OutputParams const & runparams, + Font const & base, + Font const & prev) const; /** Writes the tail of the LaTeX needed to change to this font. Returns number of chars written. Base is the font state we want to achieve. */ - int latexWriteEndChanges(odocstream &, Font const & base, - Font const & next) const; + int latexWriteEndChanges(odocstream &, BufferParams const & bparams, + OutputParams const & runparams, + Font const & base, + Font const & next) const; /// Build GUI description of font state @@ -348,6 +353,8 @@ private: /// Updates a misc setting according to request Font::FONT_MISC_STATE setMisc(Font::FONT_MISC_STATE newfont, Font::FONT_MISC_STATE org); + /// Did latexWriteStartChanges open an encoding environment? + mutable bool open_encoding_; };