+void ParagraphParameters::apply(
+ ParagraphParameters const & p, Layout const & layout)
+{
+ spacing(p.spacing());
+ // does the layout allow the new alignment?
+ if (p.align() & layout.alignpossible)
+ align(p.align());
+ labelWidthString(p.labelWidthString());
+ noindent(p.noindent());
+}
+
+
+//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;
+}
+
+