#include <set>
#include <list>
#include <map>
-#include <string>
namespace lyx {
/// The packages needed by the document
std::string const getPackages() const;
/// The macros definitions needed by the document
- std::string const getMacros() const;
+ docstring const getMacros() const;
///
std::string const getBabelOptions() const;
/// The definitions needed by the document's textclass
/// The language dependent definitions needed by the document's textclass
docstring const getTClassI18nPreamble(bool use_babel) const;
///
+ docstring const getTClassHTMLStyles() const;
+ ///
docstring const getTClassHTMLPreamble() const;
/// The sgml definitions needed by the document (docbook)
docstring const getLyXSGMLEntities() const;
/// Include a file for use with the SGML entities
void includeFile(docstring const & key, std::string const & name);
/// The float definitions.
- void getFloatDefinitions(std::ostream & os) const;
+ void getFloatDefinitions(odocstream & os) const;
/// Print requirements to lyxerr
void showStruct() const;
///
void addPreambleSnippet(std::string const &);
+ ///
+ std::string getPreambleSnippets() const;
/// Add a feature name requirements
void require(std::string const & name);
/// Add a set of feature names requirements
typedef std::set<std::string> Features;
///
Features features_;
- /// Static preamble bits from the external material insets
+ /// Static preamble bits, from external templates, or anywhere else
typedef std::list<std::string> SnippetList;
///
SnippetList preamble_snippets_;