Want line text without the line through it

Discuss the drawing application

Want line text without the line through it

Postby rcook » Sun Apr 01, 2012 2:48 pm

When I put text on a line, the default is to have the text in the center of the line. That means the line goes through the text of the label. I want to set something so the line does not appear to "run through" the text; it makes it unattractive and harder to read.

It is a difficult thing to search for; I haven't been able to think of keywords that separate this from other features, etc.
OpenOffice 3.3.0 on Windows 7
rcook
 
Posts: 1
Joined: Thu Dec 22, 2011 1:03 pm

Re: Want line text without the line through it

Postby RoryOF » Sun Apr 01, 2012 4:35 pm

Do you mean that your text looks like this AbcabcXyZ (this is called strikeout) or like this AbcabcXyZ (underscore or underline)?

If not one of these, you will need to explain further.
Apache OpenOffice 4.1.7 on Xubuntu 18.04.3 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 30193
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Want line text without the line through it

Postby keme » Tue Apr 03, 2012 1:44 am

For horizontal lines:
  • Select your labeled line.
  • Select menu Format - Text...
  • Text tab, Anchor box, select bottom middle position.
Similar procedure works for vertical lines.

For diagonal lines and polylines (and also for connectors) there is no easy way. Best solution I've found is to have a text object grouped with the line, having opaque or semi-transparent background (for connectors, a chained text object works).
Apache OO 3.4.1/4.1.2/4.1.3, on Ms Windows 7/10 and Mac OS-X 10.8.5 and 10.11.
LibreOffice 4.3.3.2 on Mepis Antix MX 14
User avatar
keme
Volunteer
 
Posts: 3294
Joined: Wed Nov 28, 2007 10:27 am
Location: Egersund, Norway

Re: Want line text without the line through it

Postby alg » Tue Apr 03, 2012 5:28 pm

For all graphics containing polygons it is possible to use the 'old' FontWork feature which allows 'text on curve'. It is not to be confused with the new one (MS compatibility). It is somewhat hidden nowadays, so you first need to add the button to a toolbar to use it. To do this:

- Click on the rightmost element of a toolbar of your choice to make the toolbar menu visible, choose 'Customize toolbar...'
- In the Customize dialog, click on 'Add'
- Choose Category 'Format' and Commands 'Fontwork', click 'Add' and 'Close', click OK in the Customize dialog

You will now have a 'Fontwork' button in your toolbar. Draw a line (or any shape with polygon geometry) and add text. Select it and click on the 'Fontwork' button. A dialog comes up. Do NOT use the upper default patters (these are the reason the feature was widely not understood), but use everything below it. Klick 'Rotate' to make your text follow the geometry of the line. You can choose various kinds how the text follows the line, the distance, sizes, shadows, colors, etc. In principle a mighty and underestimated feature.

I'll write a task to evtl. reactivate this feature under the correct name 'Text on curve' in later AOO versions...
HTH!
OpenOffice 3.3/3.4 on various systems
alg
 
Posts: 53
Joined: Tue Apr 03, 2012 5:02 pm

Re: Want line text without the line through it

Postby arthurpgoldberg » Sat Nov 19, 2016 12:05 am

Hi Keme

What's a "chained text object" please?

Arthur

keme wrote:For horizontal lines:
  • Select your labeled line.
  • Select menu Format - Text...
  • Text tab, Anchor box, select bottom middle position.
Similar procedure works for vertical lines.

For diagonal lines and polylines (and also for connectors) there is no easy way. Best solution I've found is to have a text object grouped with the line, having opaque or semi-transparent background (for connectors, a chained text object works).
OpenOffice 4.1.3 on Mac OS X 10.13.4 (as of July 2018)
arthurpgoldberg
 
Posts: 22
Joined: Tue Nov 20, 2012 3:30 pm

Re: Want line text without the line through it

Postby keme » Sat Nov 19, 2016 9:26 pm

arthurpgoldberg wrote:Hi Keme

What's a "chained text object" please?

Make a chain:
Connector - Text object - connector.

Not ideal, because the text object does not move with the connected objects (have to move it manually). Better than having to reconnect lines every time. That's why "it works".

The "old fontwork" solution given by alg is a proper solution to this issue in most cases. Did you try it?
Apache OO 3.4.1/4.1.2/4.1.3, on Ms Windows 7/10 and Mac OS-X 10.8.5 and 10.11.
LibreOffice 4.3.3.2 on Mepis Antix MX 14
User avatar
keme
Volunteer
 
Posts: 3294
Joined: Wed Nov 28, 2007 10:27 am
Location: Egersund, Norway


Return to Draw

Who is online

Users browsing this forum: No registered users and 0 guests