#include "InsetMathNest.h"
#include "Buffer.h"
+#include "DocIterator.h"
#include "InsetList.h"
#include "Text.h"
#include "support/debug.h"
-#include "DocIterator.h"
#include <boost/assert.hpp>
}
+void MacroTable::getMacroNames(std::set<docstring> & names) const
+{
+ for (const_iterator it = begin(); it != end(); ++it)
+ names.insert(it->first);
+}
+
+
void MacroTable::dump()
{
lyxerr << "\n------------------------------------------" << endl;