#include <iosfwd>
+namespace lyx {
+
+
/*!
* Small helper struct that holds font properties.
* The names are in LyX language, not LaTeX.
/// Output changed font parameters if \p oldfont and \p newfont differ
void output_font_change(std::ostream & os, Font const & oldfont,
- Font const & newfont);
+ Font const & newfont);
/*!
LyXTextClass const & textclass_,
LyXLayout_ptr layout_ = LyXLayout_ptr(),
LyXLayout_ptr parent_layout_= LyXLayout_ptr(),
- Font font_ = Font());
+ Font font_ = Font());
~Context();
/// Output a \\begin_layout if requested
* would not work.
*/
bool new_layout_allowed;
+ /// Did we output anything yet in any context?
+ static bool empty;
/// The textclass of the document. Could actually be a global variable
LyXTextClass const & textclass;
static Font normalfont;
};
+
+} // namespace lyx
+
#endif