Move every second line to the second column

I would like to split the vocabulary into a dictionary into two columns. For this I need to move every second row to the second column. How can I achieve this?

I don’t think there is a native solution in ‘Writer’. You will have to use an additional application/module.

If I understand correctly what you have and what you want to achieve:
There are many solutions I can think of, and some of them are demonstrated in this attached Calc document.
Whether a solution by formulae or one by interactive means is preferable will depend on circumstances I do not yet know. Anyway you will have to adapt everything concerning the details to suit your actual situation.

See also this attachment.

I’m newbie into subject of text formatting, but first solution work just perfect after a small search. Thank You.


If I’m right your are in writer and you want to replace the 1st, 3rd, 5th … paragraph-break by tab’s?
I was not able to handle this by standard-find&replace nor alternate-find&replace -extension.

So I wrote down a quick python-solution, which works here with writer:

import re 
rex = re.compile(r'(.*?)\n(.*?)\n')

def tab_uneven_paras():
    doc = XSCRIPTCONTEXT.getDocument()
    doc.Text.String = rex.sub( r'\1\t\2\r', doc.Text.String)