#ifndef CONTEXT_H
#define CONTEXT_H
-#include "LyXTextClass.h"
+#include "TextClass.h"
#include <iosfwd>
class Context {
public:
Context(bool need_layout_,
- LyXTextClass const & textclass_,
- LyXLayout_ptr layout_ = LyXLayout_ptr(),
- LyXLayout_ptr parent_layout_= LyXLayout_ptr(),
+ TextClass const & textclass_,
+ LayoutPtr layout_ = LayoutPtr(),
+ LayoutPtr parent_layout_= LayoutPtr(),
TeXFont font_ = TeXFont());
~Context();
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;
+ LayoutPtr layout;
/// The layout of the outer paragraph (for environment layouts)
- LyXLayout_ptr parent_layout;
+ LayoutPtr parent_layout;
/// font attributes of this context
TeXFont font;
/// font attributes of normal text