# Can we change the text vrom left to right automatically to up to down ?

Hi, I would like to know if there is any way or function to change a text like this :

ABC CBD DSS DSQ JHI POH XHZ HOX HSG (Left to right...)

Automatically to this :

ABC

CBD

DSS

DSQ

JHI

POH

XHZ

HOX

HSG

(Up to down... Space converted to jump paragraph... You "ask.libreoffice.org" "editor" have a problem and we need to use a space {enter} between terms...)

Please I need it, if we can't can you please add this feature fast please (with possibilty to choose no space {enter} or one or two between vertical terms)...

Tʰang 帑 كتأنجى you very chum... Good day...

edit retag close merge delete

Sort by » oldest newest most voted

Hallo

→Edit→Search&replace
→search: \w+
→replace: \$0\n
→→more Options [x]regular Expression
→→replace all

@Nemzag (Comment):
Youre free to record the Steps above ( →Tools→Macros→record_Macro )* and bind the recorded Routine to some shortcut, Button or Menuentry

*Maybe you need first to enable recording macros via →Tools→Options→LO→[extendet|advanced]?

more

Tʰang 帑 كتأنجى you, but it would be cool that this function to be added directly in Write automatically... Good day...

( 2015-11-20 01:16:58 +0200 )edit

No, that would not be cool ( if the Devs would implement any cool idea of any user, nobody would be able to work with the huge mess ) But, see edited Answer...

( 2015-11-20 04:59:08 +0200 )edit
1

Hi @karolus - Are there any reason not to search \W+ replace by \n ?

( 2015-11-20 08:37:41 +0200 )edit

@pierre-yves samyn - of course your suggestion is also valid, as some other expressions, maybe yours is slightly better because \W+ matches on any whitespace including other split word-characters like ,.;:()..

( 2015-11-20 10:09:04 +0200 )edit

@karolus - Ok, thank you for your answer, I wondered if there was a scenario I do not see ...

( 2015-11-20 10:28:42 +0200 )edit

I Karolus Yinq, here is Clarifiqsu Vêšêlo Bashshallênë Shalovuniqa Yang...

I tested your "function" and is not working well, the command even divide term using an non-breaking hyphen / minus (U+2011)... And also the punctuation is separated & parentheses to and vor me it is not practical...

Example :

ÉGÔ

VIØXË DËDË‑MAND‑ÉRË MÊNΘA‑ALÉ‑ISË À ALÉHI.

"QWË VEUT TI DË MOI ???"...

ET ALORS ETRANGËMÊNΘË.

ET SHUPRË‑PRÊNA‑MÊNΘË (surprêë‑nament)!

KÊTTË CASË… (U+2026)

"WÊDDË‑JANGË" ۋادديأنجى

That become :

ÉGÔ

VIØXË

DËDË

‑MAND

‑ÉRË

MÊNΘA

‑ALÉ

‑ISË

À

ALÉHI

.

"QWË

VEUT

TI

MOI

???"...

ET

ALORS

ETRANGËMÊNΘË

.

ET

SHUPRË

‑PRÊNA

‑MÊNΘË

(surprêë

‑nament

)!

‑PARUË

CECI

!!!

KÊTTË

CASË

… (U

+2026

)

"WÊDDË

‑JANGË

" ۋادديأنجى

The result is not quite good how to improve the function to avoid division of Non-breaking hyphen, punctuation (! , ; . … ... ? ) & parenthesis ?

I still asking and I insist that this function to be added in Paragraph, like Microsoft Office Excel : alignment / orientation... It would be very useful than using a complicated equation, that I have difficult to remember since I have memory problems...

Tʰang 帑 كتأنجى you vor ħêlph حلف.

more

Ok -- try with:
search ( |\t)+
replace \n

( 2015-11-20 15:40:46 +0200 )edit

"... that this function to be added in Paragraph, like Microsoft Office Excel : alignment / orientation..."

I cannot understand how Excel comes in.

( 2015-11-20 22:02:38 +0200 )edit

Tʰang 帑 كتأنجى, Lupp, I cite Excel as an example... Nothing difficult to comprehend... Good day.

( 2015-11-20 22:17:43 +0200 )edit

@Nemzag : You tagged this thread 'Writer' which is the text processor module of LibreOffice. Your examples are text, and not just a cell's content, I hope. Excel is a spreadsheet application as comparable to 'Calc'. No feature as you are talking of can work the same way in a spreadsheet and in a text document. This should actually not be difficult to comprehend. You may "insist" on whatever you want. It will not work.if it is basically inconsistnt. Over.

( 2015-11-21 12:45:47 +0200 )edit

## Stats

Seen: 107 times

Last updated: Nov 21 '15