+ return bufferview()->cursor().innerParagraph().layout().align;
+}
+
+
+bool GuiParagraph::hasLabelwidth() const
+{
+ Layout layout = bufferview()->cursor().innerParagraph().layout();
+ return (layout.margintype == MARGIN_MANUAL
+ || layout.latextype == LATEX_BIB_ENVIRONMENT);
+}
+
+
+void GuiParagraph::saveSession() const
+{
+ Dialog::saveSession();
+ QSettings settings;
+ settings.setValue(sessionKey() + "/autoapply", synchronizedViewCB->isChecked());
+}
+
+
+void GuiParagraph::restoreSession()
+{
+ Dialog::restoreSession();
+ QSettings settings;
+ synchronizedViewCB->setChecked(
+ settings.value(sessionKey() + "/autoapply").toBool());