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
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?