Summary: | CLEAR ALL FORMATTING -- in addition to clear direct formatting | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | peter josvai <jepe> |
Component: | Writer | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | RESOLVED WONTFIX | ||
Severity: | enhancement | CC: | libreoffice-ux-advise, thomas.lendo, vsfoote |
Priority: | medium | Keywords: | needsUXEval |
Version: | 6.0.5.2 release | ||
Hardware: | All | ||
OS: | Linux (All) | ||
See Also: |
https://bugs.documentfoundation.org/show_bug.cgi?id=78371 https://bugs.documentfoundation.org/show_bug.cgi?id=70759 |
||
Whiteboard: | |||
Crash report or crash signature: | Regression By: | ||
Bug Depends on: | |||
Bug Blocks: | 107318, 107326 | ||
Attachments: | a sample text.. one line in 1+2 versions and the HTML code |
Description
peter josvai
2018-07-27 13:23:09 UTC
Created attachment 143803 [details] a sample text.. one line in 1+2 versions and the HTML code this is a short cutout from a text... line #1: sample from a text line #2: the same copy+ paste special - unformatted line #3: the same copy+ paste unformatted as you can see, the HTML is xtrmely jammed up, and even in the "unformatted pasted" versions there is an EM tag.. BUT all this would not matter so much, if it could be cleaned up by "CLEAR ALL FORMATTING" :) unfortunately, an ODT file couldn't be uploaded :) but you can download it from here: https://cspv.hu/test--LibreOffice-bugzilla.odt You _can_ do this simply now. Select the paragraph with the errant formatting (with mix of styles and direct formatting), first clear the Direct Formatting with Format -> Clear Direct Formattingn (<ctl>+M). Then with selection still in place, from the Sidebar's Style Deck (F11), pick the Character Styles (the A icon) and apply (double click) Default Style. Do the same from the Paragraph Styles (the Pilcrow) apply Default Style (double click). All text in the selected paragraph will be formatted with only the attributes of the Default paragraph style. An .uno command to do this exactly might be of use, but it is pretty simple to accomplish now without it. IMHO => WF Also, strongly suggest when needing to look at the formatting applied to ODF (our only "natively" supported file format) that you save to so called "flat ODF" as that will let you review both the document textual content and the styling/formatting being applied. Save-as a flat ODF generates a complete single XML structured document, much easier than jumping around inside the ODF zip archive for configuration and content. Don't see much need for UX. Peter, do you accept Stuart's answer? (In reply to Heiko Tietze from comment #4) > Don't see much need for UX. Peter, do you accept Stuart's answer? Heiko, I do like Stuart's approach... and I sure "accept" his answer.. but I also need to elaborate what I actually think.. cause this is all new to me... which means that my practice is not relevant enough.. I'm still only trying out the styles formatting toolbar... - - - - - - - - PS: let me stress that for most people the transition from the DF to the Styles method is a silent change... and that in reality, someone only wants the italic to disappear or to reappear again... and at this point it can all get confused... cause you clear all DF... but some... "DF" remains :) :) I'm saying this cause "bold and italic" is "DF"... (as at least 15% of all users know it) but after clearing DF, some "bold" and "italic" stays (strong and emphasis).. and it is confusing.. and you won't trust the HTML clarity of your text anymore... and when confusion appears, all you want is a clean text... that could be copied to an html editor like this "<p>some text</p>... okay, one argument: in Ardour, you have a panic button :) I think I was trying to outline something like that... about a mixed-ways formatted text.. :) thanks to both of you ! Peter Phrasing the use case differently might be helpful: "I'm looking for easy means to reset styles to default". Meaning the function reverts the paragraph style to Text Body, or Default today, and clears all character styles. Is that correct? (In reply to Heiko Tietze from comment #6) > ... means to reset styles to default... Would be bug 118979 (In reply to Heiko Tietze from comment #6) > Phrasing the use case differently might be helpful: "I'm looking for easy > means to reset styles to default". Meaning the function reverts the > paragraph style to Text Body, or Default today, and clears all character > styles. Is that correct? YES, that's what meant... and after re-thinking it all, I would say that the functionality I was trying to outline and ask for is exactly: a one button or one click functionality that does "copy AND paste_back_as_unformatted".. as a new paragraph - - - PS: and I meant it sort of like a "panic button"... or a fail-safe solution :) like "resetting it to clean text"... but I also understand that such a functionality cannot just be dropped into an application that has decades of usage-culture behind and underlying it.. it would, in any case, take lots of user input and discussion.. // sorry for the length... |