// -*- C++ -*-
/* This file is part of
* ======================================================
- *
+ *
* LyX, The Document Processor
- *
+ *
* Copyright 1995 Matthias Ettrich
* Copyright 1995-2001 The LyX Team.
*
class LyXLayout {
public:
///
- LyXLayout ();
-
+ LyXLayout();
///
- bool Read (LyXLex &, LyXTextClass const &);
+ bool Read(LyXLex &, LyXTextClass const &);
///
void readAlign(LyXLex &);
///
///
void readSpacing(LyXLex &);
///
- string const & name() const { return name_; }
+ string const & name() const;
///
- void setName(string const & n) { name_ = n; }
+ void setName(string const & n);
///
- string const & obsoleted_by() const { return obsoleted_by_; }
+ string const & obsoleted_by() const;
///
string const & latexname() const { return latexname_; }
///
return latextype == LATEX_PARAGRAPH;
}
///
- bool isCommand() const {
+ bool isCommand() const {
return latextype == LATEX_COMMAND;
}
///
/** Name of an layout that has replaced this layout.
This is used to rename a layout, while keeping backward
- compatibility
+ compatibility
*/
string obsoleted_by_;