class LyXVC;
class LaTeXFeatures;
class Language;
-class Messages;
+class MacroData;
class OutputParams;
class ParagraphList;
class ParConstIterator;
\param par if != 0 insert the file.
\return \c false if file is not completely read.
*/
- bool readBody(LyXLex &);
+ bool readDocument(LyXLex &);
///
void insertStringAsLines(ParagraphList & plist,
///
InsetBase & inset() const;
+ //
+ // Macro handling
+ //
+ ///
+ void buildMacros();
+ ///
+ bool hasMacro(std::string const & name) const;
+ ///
+ MacroData const & getMacro(std::string const & name) const;
+ ///
+ void insertMacro(std::string const & name, MacroData const & data);
+
private:
/** Inserts a file into a document
\param par if != 0 insert the file.