[Libreoffice-bugs] [Bug 138628] ClearDirectFormatting does not remove page break

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Dec 29 06:11:01 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=138628

--- Comment #41 from Octavio Alvarez <octallo at alvarezp.org> ---
(In reply to TorrAB from comment #40)
> > The most natural and fastest way to clear ad hoc formatting from a WRITER
> > file SHOULD be to select ALL and apply "Clear direct formatting".
> 
> **Why would one do DF here and there throughout a (large) document, and
> suddenly decide to remove it all? More likely, "Clear direct formatting"
> will be applied punctually, one parag at-a-time.

Not at all; I do it all the time for different reasons even for large
documents. Examples:

1. Pasted documents from the Internet or imported from other documents will
require cleaning. "Clear All Formatting" and "Paste Unformatted" may not be
desirable when copying large portions if the formatting is decently applied.
Also, existing formatting may be used as visual guides to reapply styles. A
full clean up may be needed afterwards.

2. After applying a set of direct formats a formatting pattern may come up
which will lead to the creation of a Style. Once the Style is created and
applied, Direct Format should be removed to avoid formatting surprises.
Character styles can become the most confusing but the most useful sometimes.

3. The user may lose track of direct formatting. Maybe the file was reverted to
a saved version or format paintbrush was used throughout the document. A quick
clean can be done by issuing "Clear Direct Formatting" to the whole document.

4. If I know that I am keeping the document DF-clean, then it is just way
easier and faster to do Ctrl+A, Ctrl+M and going to specific paragraphs to
clean DF.

In "surprises" and "losing track" I am including what I have called "hidden
Direct Formatting" in the past. Hitting Bold twice does *not* remove
direct-format-bold; it instead sets the text as direct-format-regular.

So, yes, this is why cleaning the whole document from DF is sometimes
necessary.

To keep it on-topic: it would certainly be a bit confusing if I suddenly lose
manually inserted page breaks when doing a document-wide "Clear DF" if I did it
using Insert > Break or Ctrl+Enter.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20201229/f1479c3d/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list