Ask Your Question

Writer : The styles could not alter the paragraph font. [closed]

asked 2013-04-02 20:02:15 +0100

jazio gravatar image

updated 2013-04-20 17:41:58 +0100

manj_k gravatar image

There is a very annoying fact I notice in LibreOffice.

I sometimes paste plain text found on internet in my documents.

I always clean it using 'Clear Direct Formatting' feature because I hate alien markups in a document.

However the font specified in my styles e.g 'Liberation Sans' could not override the font of the pasted paragraph e.g. DejaVu Sans Mono, no matter what kind of clean up I try.

It seems like the styles keep track of everything except the font face.

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by Alex Kemp
close date 2015-11-09 04:23:17.329457


@camendil for me your solution won't work as the text is already pasted with markup.

jazio gravatar imagejazio ( 2013-04-03 13:59:09 +0100 )edit

@Mark12547 pasting in a notepad app-like doesn't help either.

jazio gravatar imagejazio ( 2013-04-03 14:12:54 +0100 )edit

2 Answers

Sort by » oldest newest most voted

answered 2013-04-02 20:16:18 +0100

carnendil gravatar image

updated 2013-09-18 18:25:56 +0100

Try pasting without format: Edit | Paste special and select Unformatted text.

Alternatively, the Special paste window can be launched with Ctrl+Shift+V.

special paste window

Click for full-resolution image.

Finally, you can click the triangle to the right of the Paste icon or click the Paste icon without releasing the left mouse button.

paste special menu

(image from's course on Writer)

Please note that my system is in Spanish, so the actual text of the menus and options might be different.

edit flag offensive delete link more


I frequently copy text from an email or a web page into a document, and "Paste Special" (or Ctrl+Shift+V) and picking "Unformatted text" has always worked for me. It also saves from me having to select a region and in the Style box select "Clear formatting".

Mark12547 gravatar imageMark12547 ( 2013-04-03 01:14:04 +0100 )edit

In days before I was using LibreOffice or even OpenOffice, I would have to paste into Notepad (or other purely ASCII editor), then copy from Notepad to the desired document. I'm glad I don't have to do that copy/paste/copy/paste dance anymore!

Mark12547 gravatar imageMark12547 ( 2013-04-03 01:17:02 +0100 )edit

answered 2013-04-02 23:32:11 +0100

mahfiaz gravatar image

updated 2013-09-20 01:13:42 +0100

carnendil gravatar image

@carnendil has explained well what to do. I add a little explanation why this happens. There are two types of text styles, paragraph styles (e.g <h3>) and character styles (e.g <em>). And there also are "local style changes" or "Direct formatting" (e.g <span styles=""> element). While pressing Ctrl+M to clear direct formatting all these <span> style changes are removed, but others are intact. If you had applied these character styles yourself you would find this to be a good thing.

To get better understanding of what is going on, you could do a small test.

  1. Open three documents
  2. In first document write something with strong emphasis (use character style with this name from Styles and Formatting dialog with F11)
  3. Change your style in first document and make text with strong emphasis also red, select your text and copy it.
  4. Paste it second and third document.

See that in second document, where we already had used this style it was already defined, so pasted text stayed black. In third blank document the style get's created while pasting, it inherits settings from pasted text and turns out red as the original.

edit flag offensive delete link more


manj_k gravatar imagemanj_k ( 2013-04-20 17:35:15 +0100 )edit

Question Tools


Asked: 2013-04-02 20:02:15 +0100

Seen: 1,862 times

Last updated: Sep 20 '13