[Solved] Pasting new string text, keeping previous spacing?

Discuss the word processor
Post Reply
Texting
Posts: 6
Joined: Wed May 28, 2014 5:47 am

[Solved] Pasting new string text, keeping previous spacing?

Post by Texting »

Hello everyone,

I would be thankful for your help solving this:


Let's say that I have a flowing gibberish text(digits and letters only), with spaces, like in "Example1" (please see the "Example" image attached)-

Now, I am willing a new text(with a same Monospaced font )- A string of characters that has the same amount of characters, but without the spaces, to replace the previous one.

So, the result will look like in "Example2"(the new string of characters is now with the same spacing as the previous text)


Can I somehow do that automatically, so although I use a continuous string of characters (without spacing), when I paste it to replace the previous text that includes spacing, the result will keep the same spacing of the previous text?


Thank you.
Attachments
Example.jpg
Last edited by Texting on Thu Oct 05, 2017 10:19 pm, edited 2 times in total.
OpenOffice 3.1.1 on Windows 7
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: How to paste a new string text, keeping previous spacing

Post by acknak »

You can do this with a series of linked frames. Text will flow from each into the next frame in the chain; it remains one text and you can replace it with a different string. Getting the size, placement and the links all set up requires some effort, but it does work as you describe.
Attachments
linked_frames_sample.odt
(48.65 KiB) Downloaded 92 times
AOO4/LO5 • Linux • Fedora 23
Texting
Posts: 6
Joined: Wed May 28, 2014 5:47 am

Re: How to paste a new string text, keeping previous spacing

Post by Texting »

Thank you!

This is a very clever method!

Worked like magic!
:bravo: :super:
Thank you
OpenOffice 3.1.1 on Windows 7
Post Reply