Line on top of text box

asked 2020-12-16 17:59:58 +0200

Pii gravatar image

updated 2020-12-16 18:43:25 +0200

Is there a way to insert a line and arrange it on top of a text box? I see the option when I right click on the line but nothing happens. Maybe I'm doing something wrong or it might not even be possible. If it isn't, why is there an option? ......................... I have LibreOfice 7.0.3.1 on a Windows 10. I am doing this in writer. My text boxes are empty, they will be fillable when I export my document to PDF. I do not want to create a border around each of my text boxes either. My page has multiple of these textboxes. Since I have so many I need to create borders to group certain boxes and there is no pattern. Drawing/inserting individual lines seemed simple and easy but when I insert them they go behind the text boxes and therefore they can't be seen. I tried selecting the line, chose menu - format - arrange - send to front - but the line stays behind the text boxes, it doesn't go to the front.

edit retag flag offensive close merge delete

Comments

EDIT: Now it is clear for me the confussion:

There are two different Text Boxes (1) from menu Insert - Text Box and (2) from menu Form - Text Box. I was writting about the (1). So this is no answer to the question. And no, I could not arrange the line in front of a Form Text Box.

The next is about the Insert Text Box:

The easiest way is to create first the text box, and then the line.

But if you created the line before, select it,¹ choose menu Format - Arrange - Send to BackBring to Front.

¹ The Navigator (F5) could help.

More LibreOffice Help on Arrange.

Tested with LibreOffice 6.4.7.2 (x86); OS: Windows 6.1.


Add Answer is reserved for solutions. If you think the answer is not satisfactory, add a comment below, or click edit (below your question) to add more information. Thanks.

LeroyG gravatar imageLeroyG ( 2020-12-16 18:17:44 +0200 )edit

Average users have a misconception about text boxes. They are usually not the right object for the purpose.

What do you want to put inside the text box and how is it related to the main text flow?

How is the line? Horizontal, vertical, oblique? Over the border of the box? Stricken through? Should it be logically a part of the text box (grouped with it)?

Provide these additional by editing your question. Don't forget to mention your OS name and LO version.

On this site, answers are reserved for solutions, so please take care to edit, not to answer.

ajlittoz gravatar imageajlittoz ( 2020-12-16 18:21:27 +0200 )edit

If you want a "line" (i.n terms of LibreOffice "a border") on a single side of a rectangular Writer element, use a "Frame" (Insert -> Frame) instead of a "Text Box"

Opaque gravatar imageOpaque ( 2020-12-16 18:22:06 +0200 )edit

@Opaque: a frame is not necessary if the text is a word in a paragraph. This is why we need more information on the case before suggesting the "best" (and simplest) solution.

ajlittoz gravatar imageajlittoz ( 2020-12-16 18:24:56 +0200 )edit

@ajlittoz & @Opaque thank you both for your response. I have LibreOfice 7.0.3.1 on a Windows 10. I am doing this in writer. My text boxes are empty, they will be fillable when I export my document to PDF. I do not want to create a border around each of my text boxes either. My page has multiple of these textboxes. Since I have so many I need to create borders to group certain boxes and there is no pattern. Drawing/inserting individual lines seemed simple and easy but when I insert them they go behind the text boxes and therefore they can't be seen. I tried selecting the line, chose menu, format - arrange - send to front but the line stays behind the text boxes, it doesn't go to the front.

Pii gravatar imagePii ( 2020-12-16 18:39:16 +0200 )edit

@LeroyG I did create the text box first. From what you said it looks like you think I want to send the line to the back. I selected the line, chose menu - format - arrange - send to front - but nothing happened. The line stays under the text box. I don't understand why.

Pii gravatar imagePii ( 2020-12-16 18:46:10 +0200 )edit

If your goal is "only" to create a fillable form without using the other powerful formatting features for a text stream, your job looks like a graphic exercise. It will be more comfortable to do this in Calc if your form is grid-based or in Draw for free-position objects.

Note I have never tested fillable PDF form export from Draw, but it should work.

ajlittoz gravatar imageajlittoz ( 2020-12-16 18:51:24 +0200 )edit

Sorry for my confusion. Just amended it.

LeroyG gravatar imageLeroyG ( 2020-12-16 20:20:17 +0200 )edit

@LeroyG no problem friend. Thank you very much. Still, I tried that but it doesn't work. Do you have any idea why?

Pii gravatar imagePii ( 2020-12-16 20:31:12 +0200 )edit

A workaround: Insert a 1 mm high Form Text Box.

LeroyG gravatar imageLeroyG ( 2020-12-16 20:44:45 +0200 )edit