[Solved] Split two lines together...

Discuss the word processor

[Solved] Split two lines together...

Postby Reynhard » Mon Jul 17, 2017 12:34 pm

Hi

I have a special question for a special job... ;-)

There are two lines of numbers and words, written in a monospace font.
This lines I have to split into several parts, and the numbers in the first line have to stay together with the words in the second line.

Please look at this screenshot:
2017-07-17_12h30_31.jpg


I hope everyone can see the problem: the numbers and the words have to stay together!
Is there a trick to do this easy and fast (there are many many lines...)?


Thnx, Reynhard
Last edited by Hagar Delest on Mon Jul 17, 2017 10:43 pm, edited 1 time in total.
Reason: tagged [Solved].
Open Office 4.1.3
Windows 7
Reynhard
 
Posts: 6
Joined: Mon Jul 17, 2017 12:08 pm

Re: Split two lines together...

Postby acknak » Mon Jul 17, 2017 2:54 pm

Greetings and welcome to the community forum!

Is it possible? Yes. Easy and fast? Not that I know of.

One way would be to use Writer's "block selection" mode (Edit > Selection Mode > Block Area). That allows you to select the ends of both lines and cut and paste to new lines below. But that all has to be done manually.
AOO4/LO5 • Linux • Fedora 23
User avatar
acknak
Moderator
 
Posts: 22424
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Split two lines together...

Postby RoryOF » Mon Jul 17, 2017 2:57 pm

Do the numbers have any definable relation with the words?
Apache OpenOffice 4.1.3 on Xubuntu 16.04 (mostly 64 bit version) and infrequently on Win2K/XP
14 October 2016 was Pooh's 90th birthday
User avatar
RoryOF
Moderator
 
Posts: 24503
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Split two lines together...

Postby Reynhard » Mon Jul 17, 2017 3:11 pm

Hi acknak

acknak wrote:One way would be to use Writer's "block selection" mode (Edit > Selection Mode > Block Area). That allows you to select the ends of both lines and cut and paste to new lines below. But that all has to be done manually.

That meens: copy both lines and delete the numbers and parts on the left of the "split break" and on the right....?
Open Office 4.1.3
Windows 7
Reynhard
 
Posts: 6
Joined: Mon Jul 17, 2017 12:08 pm

Re: Split two lines together...

Postby Reynhard » Mon Jul 17, 2017 3:15 pm

RoryOF wrote:Do the numbers have any definable relation with the words?

Yes, absolutely! The number have to be on the same place as befor the splitting...
Open Office 4.1.3
Windows 7
Reynhard
 
Posts: 6
Joined: Mon Jul 17, 2017 12:08 pm

Re: Split two lines together...

Postby Reynhard » Mon Jul 17, 2017 3:23 pm

acknak wrote:One way would be to use Writer's "block selection" mode (Edit > Selection Mode > Block Area). That allows you to select the ends of both lines and cut and paste to new lines below. But that all has to be done manually.

Ah, now I understand, tested it and it looks GOOD! This makes it much easier... ;-)
Open Office 4.1.3
Windows 7
Reynhard
 
Posts: 6
Joined: Mon Jul 17, 2017 12:08 pm

Re: Split two lines together...

Postby RoryOF » Mon Jul 17, 2017 3:23 pm

You misunderstand me: how are the numbers arrived at?

If I give a sample text
"The quick brown fox jumps over the lazy dog"
how do you derive numbers for this string?
Apache OpenOffice 4.1.3 on Xubuntu 16.04 (mostly 64 bit version) and infrequently on Win2K/XP
14 October 2016 was Pooh's 90th birthday
User avatar
RoryOF
Moderator
 
Posts: 24503
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Split two lines together...

Postby Reynhard » Mon Jul 17, 2017 3:33 pm

RoryOF wrote:how do you derive numbers for this string?

The numbers are the channel numbers of a harmonica, and the words are the lyrics of a song. So the number tells the tone that should sound, and the words tells the rhythm and the length of the tone... ;-)
Open Office 4.1.3
Windows 7
Reynhard
 
Posts: 6
Joined: Mon Jul 17, 2017 12:08 pm

Re: Split two lines together...

Postby erbsenzahl » Mon Jul 17, 2017 3:55 pm

You could (FIND & REPLACE) set some tabs and then transform the text into a table. For that reason an uploaded text would do much better than a screenshot... I am not sure whether this method will work...
OpenOffice 4.1.3 on LinuxMint 17-64, OpenOffice 4.1.4 (preversion) on LinuxMint 18-64 Mate
Download 4.1.4 preversion for linux available for some languages on https://ci.apache.org/projects/openoffice/install/41x/
(author is no native speaker)
erbsenzahl
 
Posts: 43
Joined: Tue Apr 18, 2017 8:23 am
Location: Germany

Re: Split two lines together...

Postby acknak » Mon Jul 17, 2017 5:08 pm

Reynhard wrote:The numbers are the channel numbers of a harmonica, and the words are the lyrics of a song. ...


This sounds very similar to guitar chords. You may want to take a look at this older thread on that topic:
https://forum.openoffice.org/en/forum/v ... =7&t=72501
AOO4/LO5 • Linux • Fedora 23
User avatar
acknak
Moderator
 
Posts: 22424
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Split two lines together...

Postby Reynhard » Mon Jul 17, 2017 9:03 pm

It seems the "block selection mode" is the best solution - select the right part of both lines and drag&drop it in the next line....
Thnx 2 acknak... :-)
Open Office 4.1.3
Windows 7
Reynhard
 
Posts: 6
Joined: Mon Jul 17, 2017 12:08 pm


Return to Writer

Who is online

Users browsing this forum: No registered users and 22 guests