# hidden line spacing settings in docx import

In a docx document imported from MS Office, different parts of the text have different line spacings.

Resetting the line spacing with Paragraph > Indents & Spacing > Line Spacing does not help.

Format > Clear direct formatting does not help.

Deleting linebreaks does not help - new linebreaks are still set with the old spacing of that particular part of the document.

Copying and pasting linebreaks from another part of the document does override the hidden settings - but is a cumbersome workaround.

What hidden settings are there, and how to get rid of them?

edit retag close merge delete

Is it possible to attach the document so I can take a look at it in LO6 and Word 2016?

( 2018-05-03 22:09:02 +0200 )edit

I just had the same problem: i would save the docx document after redoing all the formatting, but then when i opened it again, the line spacing would all revert back to some original somewhere. This seemed to work: 1. Save the document in open (odt) format. This seems to destroy the MS hidden, unchangeable formatting. 2. Edit and format your document in open (odt) format. 3. When you are done, save it, and then "save as" (save it again) in .docx format.
4. Close the docx, reopen it. Tell me.

( 2018-11-17 07:43:01 +0200 )edit

Sort by » oldest newest most voted

You didn't tell if the .docx document was based on a specific style sheet. If so, you should modify the line spacing in the paragraph styles.

Resetting with Paragraph>Indents & Spacing is effective only in the current selection (eventually reduced to cursor position) paragraph(s). Same goes for Format>Clear direct formatting. And the latter is effective also only if somme formatting was added "above" the one provided by the paragraph style.

Remember also that M\$ Office has no notion of character style. As a consequence, all "decoration" such as bold, italic, … will be replaced by a mess of ad-hoc character styles, rendering Clear direct formatting practically useless (but this has noting to do with line spacing).

You refer to "linebreaks". Are they really line breaks or paragraph marks? Copying and pasting paragraph marks is equivalent to creating a new paragraph and giving it the style it had when copied. What you get highly suggests you should review the paragraph styles imported into the document.

more