Bug 103343 - Selective direct formatting clean-up tool
Summary: Selective direct formatting clean-up tool
Status: NEW
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: 2019-01-26 12:00 UTC (History)
1 user (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.]