#include <vector>
+
+namespace lyx {
+
+namespace support { class FileName; }
+
class LyXLex;
class Counters;
class FloatList;
std::string latexparam;
LyXFont font;
LyXFont labelfont;
- std::string preamble;
+ docstring preamble;
};
const_iterator end() const { return layoutlist_.end(); }
/// Performs the read of the layout file.
- bool read(std::string const & filename, bool merge = false);
+ bool read(support::FileName const & filename, bool merge = false);
///
void readOutputType(LyXLex &);
///
LyXLayout_ptr const & operator[](std::string const & vname) const;
/// Sees to that the textclass structure has been loaded
- bool load(std::string const & path=".") const;
+ bool load(std::string const & path = std::string()) const;
/// Has this layout file been loaded yet?
bool loaded() const { return loaded_; }
///
std::string const & pagestyle() const;
///
- std::string const & preamble() const;
+ docstring const & preamble() const;
/// Packages that are already loaded by the class
enum Provides {
///
int tocdepth() const;
- /// Can be LaTeX, LinuxDoc, etc.
+ /// Can be LaTeX, DocBook, etc.
OutputType outputType() const;
///
///
std::string defaultlayout_;
/// preamble text to support layout styles
- std::string preamble_;
+ docstring preamble_;
/// latex packages loaded by document class.
Provides provides_;
///
int secnumdepth_;
/// header depth to appear in table of contents
int tocdepth_;
- /// Can be LaTeX, LinuxDoc, etc.
+ /// Can be LaTeX, DocBook, etc.
OutputType outputType_;
/** Base font. The paragraph and layout fonts are resolved against
this font. This has to be fully instantiated. Attributes
/// convert page sides option to text 1 or 2
std::ostream & operator<<(std::ostream & os, LyXTextClass::PageSides p);
+
+} // namespace lyx
+
#endif