[Libreoffice-bugs] [Bug 128973] New: Create a per-document "Paragraph style used by default" setting
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sat Nov 23 07:56:32 UTC 2019
https://bugs.documentfoundation.org/show_bug.cgi?id=128973
Bug ID: 128973
Summary: Create a per-document "Paragraph style used by
default" setting
Product: LibreOffice
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Keywords: needsUXEval
Severity: enhancement
Priority: medium
Component: Writer
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: mikekaganski at hotmail.com
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").
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20191123/052dd67f/attachment.html>
More information about the Libreoffice-bugs
mailing list