* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author Lars Gullik Bjønnes
+ * \author Lars Gullik Bjønnes
* \author Angus Leeming
* \author John Levon
- * \author André Pönitz
- * \author Jürgen Vigna
+ * \author André Pönitz
+ * \author Jürgen Vigna
*
* Full author contact details are available in file CREDITS.
*/
void ParagraphParameters::read(string str, bool merge)
{
istringstream is(str);
- Lexer lex(0, 0);
+ Lexer lex;
lex.setStream(is);
read(lex, merge);
}
}
-//FIXME This needs to be made a real method, so that getStatus()
-//can return sensible information.
-bool ParagraphParameters::canApply(
- ParagraphParameters const & /*params*/, Layout const & /*layout*/)
-{
- return true;
-}
-
-
void ParagraphParameters::write(ostream & os) const
{
// Maybe the paragraph has special spacing
}
+LyXErr & operator<<(LyXErr & os, ParagraphParameters const & parp) {
+ parp.write(os.stream());
+ return os;
+}
+
+
/*
bool operator==(ParagraphParameeters const & ps1,
ParagraphParameeters const & ps2)