[Libreoffice-bugs] [Bug 90507] Tools - AutoCorrect - Apply converts non-empty "Default Paragraph Style" paragraphs to "Text Body" PS --even when no [M] options are selected

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Jan 25 15:46:48 UTC 2021


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

--- Comment #7 from V Stuart Foote <vstuart.foote at utsa.edu> ---
(In reply to sdc.blanco from comment #6)
> (In reply to V Stuart Foote from comment #5)
> > Probably need to figure out why the [M] modify AutoCorrect options only
> > apply the Default style, bug 59034, as that would need to be fixed before
> > this can be sorted.
> This hypothesis does not seem correct.
> 
> In 7.2.0.0.alpha0+, unselect all [M] options in Tools - AutoCorrect -
> AutoCorrect Options, then use Tools - AutoCorrect - Apply in a document with
> some non-empty paragraphs with "Default Paragraph Style".
> 
> All non-empty "Default PS" are converted to "Text Body" PS with this comment
> (even though no [M] fields are checked). 
> 
> This explains the observation in comment 0.  
> 
> Have changed bug summary accordingly, but not sure why this bug is
> classified as an enhancement.  Seems like a bug (imho).

Right and the issue of  Tools --> Autocorrect --> Apply only applying to
"Default" paragraph style is still involved. Issue of OP would not occur if
their PS is something other than Default.  It effectively clears the DF applied
to default paragraphs, and casts them to Text Body--to me that is happening
within the edit shell.  

Also, either the 'Default' or the 'Text Body' PS may be modified (i.e. not by
DF) from template defaults to suite authoring needs--so this is a styles based
editing feature--poorly documented and in need of rework.  But it is
consistently implemented.

The Autocorrect 'M' modify applicable to 'Default' PS is involved. For example
use the markdown we support: bold, italic, strikeout and underline.  Set up a
FODT with dummy text in a paragraph of Default, vs dummy text in a paragraph of
Quotation. Edit the FODT externally (notepad++, or vi) to bracket a few text
spans with the flags.  Then open in Writer and Tools -> Autocorrect -> Apply. 
Only the Default PS will be affected.

-- 
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/20210125/700f914f/attachment.htm>


More information about the Libreoffice-bugs mailing list