#include "OutputEnums.h"
#include "OutputParams.h"
-#include "insets/InsetCode.h"
-
#include "support/strfwd.h"
#include "support/types.h"
/// read a new document from a string
bool readString(std::string const &);
/// Reloads the LyX file
- /// \param clearUndo if false, leave alone the undo stack.
- ReadStatus reload(bool clearUndo = true);
+ ReadStatus reload();
//FIXME: The following function should be private
//private:
/// read the header, returns number of unknown tokens
///
BufferParams & params();
BufferParams const & params() const;
+ ///
+ BufferParams const & masterParams() const;
/** The list of paragraphs.
This is a linked list of paragraph, this list holds the
/// get source code (latex/docbook) for some paragraphs, or all paragraphs
/// including preamble
- void getSourceCode(odocstream & os, std::string const format,
+ void getSourceCode(odocstream & os, std::string const & format,
pit_type par_begin, pit_type par_end, OutputWhat output,
bool master) const;