]> git.lyx.org Git - lyx.git/blobdiff - src/MetricsInfo.h
Further cleanup of InsetFlex, InsetCollapsable and InsetLayout:
[lyx.git] / src / MetricsInfo.h
index 1275090702454a5ea97135b247b2b58a242e63d7..f1583d193cebc289b071b6ad21bb1a6089af355c 100644 (file)
@@ -5,6 +5,7 @@
  * Licence details can be found in the file COPYING.
  *
  * \author André Pönitz
+ * \author Stefan Schimanski
  *
  * Full author contact details are available in file CREDITS.
  */
 
 #include "ColorCode.h"
 #include "FontInfo.h"
-#include "support/docstring.h"
+
+#include "support/strfwd.h"
+#include "support/types.h"
+
 #include <string>
 
 class BufferView;
@@ -22,6 +26,7 @@ class BufferView;
 namespace lyx {
 
 namespace frontend { class Painter; }
+class MacroContext;
 
 
 /// Standard Sizes (mode styles)
@@ -69,10 +74,12 @@ public:
        ///
        MetricsInfo();
        ///
-       MetricsInfo(BufferView * bv, FontInfo const & font, int textwidth);
+       MetricsInfo(BufferView * bv, FontInfo const & font, int textwidth, MacroContext const & mc);
 
        ///
        MetricsBase base;
+       /// The context to resolve macros
+       MacroContext const & macrocontext;
 };