#include "ParagraphParameters.h"
#include "Layout.h"
-#include "Lexer.h"
#include "Paragraph.h"
#include "support/debug.h"
#include "support/docstring.h"
+#include "support/Lexer.h"
#include "support/lstrings.h"
#include <sstream>
void ParagraphParameters::apply(
- ParagraphParameters const & p, Layout const & layout)
+ ParagraphParameters const & params, Layout const & layout)
{
- spacing(p.spacing());
+ spacing(params.spacing());
// does the layout allow the new alignment?
- if (p.align() & layout.alignpossible)
- align(p.align());
- labelWidthString(p.labelWidthString());
- noindent(p.noindent());
+ if (params.align() & layout.alignpossible)
+ align(params.align());
+ labelWidthString(params.labelWidthString());
+ noindent(params.noindent());
}