[Libreoffice-bugs] [Bug 140024] New: "replace custom styles" option in AutoCorrect needs critical review

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Jan 30 15:21:26 UTC 2021


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

            Bug ID: 140024
           Summary: "replace custom styles" option in AutoCorrect needs
                    critical review
           Product: LibreOffice
           Version: 7.2.0.0.alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: sdc.blanco at youmail.dk

1. Apply some Custom paragraph styles to text in a document.
2. Select "Replace Custom Styles" in Tools > AutoCorrect > AutoCorrect Options
- Options tab.
3. Run "Tools > AutoCorrect > Apply

In general, Custom Styles are replaced by this command with "Text Body" PS

Exceptions: 

1. Have been able to get custom styles converted to:
 - Text Body Indent  (when "Before text indent" attribute is used)
 - Hanging Indent    (when "First line indent" and "Before text indent" used)
 - First Line Indent (when "First line indent" is used)

2.  Paragraph Style with four-sided border was NOT converted.

Copied from bug 90507, comment 11

> 'Replace Custom Styles' has some interesting behavior as well. 
> 
> Not clear if those are relative to the Standard Template, or to the 
> Template used to create the document--but its action when applied is 
> to remove other PS and revert to something present in the template.
> 
> So, makes me wonder exactly what is considered a "custom" style as related
> to the AutoFormat in (editeng/acorrcfg.hxx & acorrcfg.cxx)?  
Copied from bug 90507 comment 17

> Need to verify the handling of 'custom' styles, what constitutes them and
> how are they made non-custom so can be protected from the 'Replace Custom
> Styles' action.
> 
> Results of the 'Replace Custom Styles' action seems error prone to
> document layout at best.

> Well we should improve the documentation, obviously. 
Have made some modifications in relation to observed behavior. Can
documentation be improved further? 

Does command work as intended?

-- 
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/20210130/d7d0b4a3/attachment.htm>


More information about the Libreoffice-bugs mailing list