[Libreoffice-bugs] [Bug 129363] New: FORMATTING, UI: Add the option to reset the Area property so that it will be re-assigned to the parent style

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Dec 13 06:54:02 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=129363

            Bug ID: 129363
           Summary: FORMATTING, UI: Add the option to reset the Area
                    property so that it will be re-assigned to the parent
                    style
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: johnsmithbeatles at gmail.com

Description:
1. Open the properties of some paragraph style based on Default Style. For
example, Table Contents.

2. Select Area tab, then select Hatch, then select red color for your hatch and
then press OK to close the window.

3. Insert some table to be sure its cells have red hatch. Just for convenience.

4. Reopen the window of the Table Contents style and repeat the previous steps:
select Area tab and then select Hatch. Press Standard button. Note that it
doesn't reset the hatching to that of the parent style, i.e. to none.

To reset the hatching to none you need select Area tab and then None. But from
now, the hatching of the Table Contents style will not inherit the hatching of
its parent style. So that, if you add some hatching to Default Style, then
Table Contents will not have it.

The only way I have found to fix it is to manually edit styles.xml, i.e.
manually remove this:

```
<style:style style:name="Table_20_Contents" style:display-name="Table Contents"
style:family="paragraph" style:parent-style-name="Standard"
style:class="extra"><loext:graphic-properties draw:fill="hatch"
draw:fill-hatch-name="Hatching_20_2"
draw:fill-hatch-solid="false"/><style:paragraph-properties
fo:background-color="#ff0000" text:number-lines="false"
text:line-number="0"/></style:style>
```

The lack of this enhancement could be very frustrating for some users. They
have _no_ way (except editing styles.xml) to properly reset the Area.

Steps to Reproduce:
-

Actual Results:
-

Expected Results:
-


Reproducible: Always


User Profile Reset: No



Additional Info:

-- 
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/20191213/ee0912b5/attachment.htm>


More information about the Libreoffice-bugs mailing list