Copy Paste within LOwriter document (paragraph styles vs text styles)

Hey,
I need to transfer a formatted text with different styles (word doc) into a LOwriter document with other styles. I can do this in many ways, but it would be preferable to copy/paste sections into the final document.

I can copy/paste in the right place and then remove direct formatting (CTRL+M) to apply directly the host style. But in this case I will lose the internal text formatting (italic, subscript) as well. Is there a way to discriminate between paragraph styles (spacing, font,…) and text style?

Well, since I don’t use Word, I can only tell you from hearsay that there are very different concepts for formatting between Word and Writer.

You are welcome to read about the possibilities in Writer.

Professional text composition with Writer

IMHO, I would copy the entire text as unformatted and format it using Writer’s paragraph and character styles.

But we want to hear other opinions. :ear:

1 Like

thank you for your suggestions. I will see.
In any case, I didn’t want to put emphasis in the word–>writer transfer. I mean, I was just wondering if –when I delete direct formatting– there is a way to affect only style of a paragraph leaving the text style untouched. The CTRL+M command erases both styles.

The CTRL+M command erases both styles.

Well, it may look like that to you, but with Ctrl+M you can only delete direct formatting. So it’s off that they aren’t really styles (in the Writer styles sense).

I also recommend you to read the description of @ajlittoz , it’s a neat and better procedure. It is presented in more detail for your operations, but it is the same orientation.


Another tip: Be sure to work with a copy document and additionally create a backup copy beforehand.

If Ctrl+M erases bot paragraph and character styles, then you have direct formatting in both layers. This means you’ll be in an even more dramatic mess if you paste as “normal” text because all Word idiosyncrasies will be kept in the style dictionary plus markup in the underlying code you’ll not be able to get rid of. Even if you find the “unformatted text” procedure not user-friendly, you’ll be much more comfortable in the subsequent update sessions.

If you want to avoid compatibility problems later when you edit your document, I recommend a radical approach. Note that Word only knows of paragraph styles and all the rest is direct formatting. This Word direct formatting must be interpreted and translated while loading or pasting. This will irremediably pollute the dictionary style of the Writer document, preventing you from fine-tuning it easily.

Consequently, I suggest the following procedure.

Start by thinking about which styles you need. Paragraph styles may be obvious (remember, though, that Default Style in Word should become Text Body in Writer).
You have words in italic, bold, … Define character styles for them. You can use Emphasis for italic and Strong Emphasis for bold. They are built-in. Modify if needed. For superscript and other “decorations”, create a custom style.

CAUTION! In Writer, you don’t create styles for their visual effects, you create them for the semantic value the highlighted sequence has for you. This means that several styles may end up with the same visual effect. E.g., emphasis and foreihn words are often rendered italic but they have not the same significance. Creta two styles, even if they are both italic. Later if you decide foreign words should be Roman+red, you change the “foreign” style and this will not impact the Emphasis words.

“Sections” in Word should be implemented as page styles in Writer. Warning! They are not managed the same, so you should learn the difference.

Paragraph numbering (list numbering) is not the same either. But if you’re a beginner in Writer, you can go with toolbar button direct formatting because list numbering with styles is one of the most difficult features for a newbie.

When you think you have listed all the styles you need, open a blank document and customise/create them. back up this document.

Copy now the original document paragraph per paragraph (or homgeneously formatted groups of paragraphs). Paste as unformatted text. This is very important to get rid of all “pollution” by Word. You lose your initial formatting but this is not really important. Apply the appropriate paragraph style and the needed paragraph styles on words which should be highlighted (Emphasis, subscript, …).

Backup at regular intervals.

When the whole document is imported, add the page breaks to switch between the various page styles. Note that part of them can be incorporated in paragraph styles (e.g. if a chapter must always start on a page with Chapter page style, configure this break in Heading 1 paragraph style).

Don’t be in a hurry. You’ll need several iterations to achieve your formatting goal. The procedure above guarantees consistency over the document without fossils of Word artifacts. A bit long but this pays off in the end.

2 Likes