Bug 103343 - Selective direct formatting clean-up tool
Summary: Selective direct formatting clean-up tool
Status: RESOLVED DUPLICATE of bug 130930
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Clear-Formatting
  Show dependency treegraph
 
Reported: 2016-10-20 04:47 UTC by mahfiaz
Modified: 2022-05-08 03:44 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mahfiaz 2016-10-20 04:47:03 UTC
The most tedious task I do with LibreOffice Writer is cleaning up badly formatted documents. To do so I use a "trick" or "workaround" which is described here:
https://ask.libreoffice.org/en/question/17138/selectively-clear-direct-formatting/?comment=41921#post-id-41921

I would suggest to implement this inside of Writer (other programs in suite would benefit as well). Even better, something like this could be the default filter when pasting clipboard text from unknown HTML sources.


Here is a simple text-mockup showing how the dialog could look like:

[Clear direct formatting] button
Except:
[+] Bold
[+] Italic
[ ] Underlining
[ ] Webdings fonts
[ ] Remove all whole-paragraph styling
[ ] Ask when in doubt
Comment 1 Cor Nouws 2016-10-20 15:47:57 UTC
Hi Mahfiaz,

"All bad formatting is equal, but some is less equal than other"  ;)

But I think your idea is useful.

[Side note: From what I remember, I think at some version applying a different paragraph style would not remove direct formatting of words, and now it does - or the other way round.. should just check of course.]
Comment 2 Aron Budea 2022-05-08 03:44:06 UTC
Bug 130930 seems to be about this as well. While this is the older one, there's more discussion in that bug report, so I'm closing this one as duplicate.

*** This bug has been marked as a duplicate of bug 130930 ***