https://bugs.documentfoundation.org/show_bug.cgi?id=138628
--- Comment #9 from Mike Kaganski <mikekagan...@hotmail.com> ---
Core pointers:
The entry points for "Clear DF" for Writer are:
SwAnnotationShell::Exec in sw/source/uibase/shells/annotsh.cxx
SwDrawTextShell::ExecDraw in sw/source/uibase/shells/drwtxtsh.cxx
SwTextShell::Execute in sw/source/uibase/shells/textsh1.cxx
(look for FN_FORMAT_RESET in all three)
The last one is relevant for text.
In SwTextShell::Execute, #i78856 and tdf#40496 are handled, excluding language
attributes and writing direction.
In SwDoc::ResetAttrs (sw/source/core/doc/docfmt.cxx), which does the actual
work, additional things are excluded (e.g., see "not including META here"
comment).
Lastly, lcl_RstAttr excludes more, e.g. RES_PAGEDESC and RES_BREAK that define
page break and its style, and also numbering rules.
Note that SwDoc::ResetAttrs is used not only in .uno:ResetAttributes, so handle
with care.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs