<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Create a per-document "Paragraph style used by default" setting"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=128973">128973</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Create a per-document "Paragraph style used by default" setting
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Keywords</th>
<td>needsUXEval
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Writer
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>mikekaganski@hotmail.com
</td>
</tr></table>
<p>
<div>
<pre>Using styles properly in Writer, among other things, means not using Default
paragraph style directly (which is almost never a good idea, because Default
style is the root of the inheritance hierarchy, and so fine-tuning it to
satisfy "main text body" requirements would propagate those changes on all
styles in the hierarchy which don't explicitly override them).
But currently not only shipped templates start with the Default style, but
also:
1. A document created without any templates (= from pre-compiled defaults)
starts with the Default paragraph style (despite having normal set of styles);
2. Using "Clear formatting" from "Set Paragraph Style" drop-down in the toolbar
resets to Default style;
3. Using Alt+Enter to leave the last cell of a table makes the following
paragraph use the Default style;
... there are more.
The proposal is to add a configurable per-document "Use this style by default",
which would make all cases where we reset to Default now, to reset to that
chosen style instead. In the documents created without a template, it should be
the "Text Body" style. The style marked that way should be marked (e.g., by a
green checkmark) in the styles list; is should be made "used" in the document
(and not deletable). It should not be a style's property (or else it would
introduce uncertainties when copying such styles from one document to another
with own defaults, and provoke bugs with multiple defaults), but the document's
property.
This needs no changes to the ODF (because it only requires a setting that
modifies controls behaviour, not document/styles behaviour; it should be in
<office:settings> under "ooo:configuration-settings").</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>