X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftex2lyx%2FContext.h;h=4a6c74907c78e41d7954aa3bd467cbf98cf62ab0;hb=848c89564fce9c4bfec79b915746dc6bc47abc3d;hp=63f4b342f45962f71a219dc6fdba09f1ad445f0f;hpb=fc6ce7cd08562fd7bab4427880b46390bb7d2f07;p=lyx.git diff --git a/src/tex2lyx/Context.h b/src/tex2lyx/Context.h index 63f4b342f4..4a6c74907c 100644 --- a/src/tex2lyx/Context.h +++ b/src/tex2lyx/Context.h @@ -12,7 +12,7 @@ #ifndef CONTEXT_H #define CONTEXT_H -#include "LyXTextClass.h" +#include "TextClass.h" #include @@ -77,9 +77,9 @@ void output_font_change(std::ostream & os, TeXFont const & oldfont, class Context { public: Context(bool need_layout_, - LyXTextClass const & textclass_, - LyXLayout_ptr layout_ = LyXLayout_ptr(), - LyXLayout_ptr parent_layout_= LyXLayout_ptr(), + TextClass const & textclass_, + Layout_ptr layout_ = Layout_ptr(), + Layout_ptr parent_layout_= Layout_ptr(), TeXFont font_ = TeXFont()); ~Context(); @@ -140,11 +140,11 @@ public: static bool empty; /// The textclass of the document. Could actually be a global variable - LyXTextClass const & textclass; + TextClass const & textclass; /// The layout of the current paragraph - LyXLayout_ptr layout; + Layout_ptr layout; /// The layout of the outer paragraph (for environment layouts) - LyXLayout_ptr parent_layout; + Layout_ptr parent_layout; /// font attributes of this context TeXFont font; /// font attributes of normal text