#ifndef LYXTEXTCLASS_H
#define LYXTEXTCLASS_H
-#ifdef __GNUG__
-#pragma interface
-#endif
-
#include "lyxlayout.h"
#include "LString.h"
#include "lyxlayout_ptr_fwd.h"
///
void readOutputType(LyXLex &);
///
+ void readTitleType(LyXLex &);
+ ///
void readMaxCounter(LyXLex &);
///
void readClassOptions(LyXLex &);
///
LyXLayout_ptr const & operator[](string const & vname) const;
+ ///
+ LyXLayout_ptr const & getEnv(string const & vname) const;
/// Sees to that the textclass structure has been loaded
bool load() const;
string const & rightmargin() const;
///
int maxcounter() const;
+
+ /// The type of command used to produce a title
+ LYX_TITLE_LATEX_TYPES titletype() const;
+ /// The name of the title command
+ string const & titlename() const;
+
///
int size() const;
private:
///
bool delete_layout(string const &);
///
+ bool delete_env(string const &);
+ ///
bool do_readStyle(LyXLex &, LyXLayout &);
/// Layout file name
string name_;
/// highest header level used in this layout.
int maxcounter_; // add approp. signedness
+ /// The type of command used to produce a title
+ LYX_TITLE_LATEX_TYPES titletype_;
+ /// The name of the title command
+ string titlename_;
+
/// Paragraph styles used in this layout
LayoutList layoutlist_;
+ /// Environment styles used in this layout
+ LayoutList envlist_;
+
/// available types of float, eg. figure, algorithm.
boost::shared_ptr<FloatList> floatlist_;