[Solved] Drawing a line with arrow heads

Discuss the drawing application

[Solved] Drawing a line with arrow heads

Postby Piet1952 » Mon Mar 05, 2012 10:06 am

Sorry if I overlooked a solution for this.
I am trying create a line with arrows in it, it needs to have small arrows in it , because there are many lines beside each other.
Also it would be good to have it inserting more arrows as the line gets longer.
Any ideas?

Thanks, Piet.
Last edited by Piet1952 on Tue Mar 06, 2012 4:30 am, edited 1 time in total.
OpenOffice 3.3 Vista Home Premium
Piet1952
 
Posts: 5
Joined: Mon Mar 05, 2012 9:56 am

Re: Drawing a line with arrow heads

Postby Hagar Delest » Mon Mar 05, 2012 11:13 am

Hi and welcome to the forum!

I don't think there is a way to do it directly. Personally, I create small lines, as short as possible, to keep only the end arrow and duplicate them, move them above the main line and group the whole thing. NB: I understand that you want arrows not only at the end of the line but also in the middle.

Don't forget to use Shift + click when resizing the small lines, it keeps the initial direction of the line.

Please add '[Solved]' at the beginning of your first post title (edit button) if your issue has been fixed.
AOO 4.1.7 on Xubuntu 19.10 and 4.1.5 on Windows 10 (with winPenPack port).
User avatar
Hagar Delest
Moderator
 
Posts: 28593
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Drawing a line with arrow heads

Postby Piet1952 » Mon Mar 05, 2012 11:37 am

Thanks Hagar Delest,
that may work, I will try it.
Would it be possible to have a line, say a vertical line with the letter v in this, and copy this a number of times in a line,
and then save this as a line?
Or would that created line then, if you would put it horizontal would the letter v then turn automatically to cross the line?
Just a thought from a solution seeker.
OpenOffice 3.3 Vista Home Premium
Piet1952
 
Posts: 5
Joined: Mon Mar 05, 2012 9:56 am

Re: Drawing a line with arrow heads

Postby Hagar Delest » Mon Mar 05, 2012 2:04 pm

Don't mix characters with graphical objects, you'll have problems with spacing/font size/centering/...
AOO 4.1.7 on Xubuntu 19.10 and 4.1.5 on Windows 10 (with winPenPack port).
User avatar
Hagar Delest
Moderator
 
Posts: 28593
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Drawing a line with arrow heads

Postby Piet1952 » Mon Mar 05, 2012 4:20 pm

I only found this article late tonight, and see if I can do something with this tomorrow,
it is a older source, anything I have to be careful with due to the version OO change?
http://openoffice.blogs.com/openoffice/ ... nd_cr.html
OpenOffice 3.3 Vista Home Premium
Piet1952
 
Posts: 5
Joined: Mon Mar 05, 2012 9:56 am

Re: Drawing a line with arrow heads

Postby Hagar Delest » Mon Mar 05, 2012 4:26 pm

You can try, the version doesn't matter.
AOO 4.1.7 on Xubuntu 19.10 and 4.1.5 on Windows 10 (with winPenPack port).
User avatar
Hagar Delest
Moderator
 
Posts: 28593
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Drawing a line with arrow heads

Postby acknak » Mon Mar 05, 2012 4:53 pm

Piet1952 wrote:I only found this article late tonight, and see if I can do something with this tomorrow ...

You can make custom shapes but they can still be placed only at the ends of a line; it won't help with your basic problem. You can't do anything with the custom shapes that you couldn't also do with the standard shapes.
AOO4/LO5 • Linux • Fedora 23
User avatar
acknak
Moderator
 
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Drawing a line with arrow heads

Postby RoryOF » Mon Mar 05, 2012 4:57 pm

There is an extension containing arrows. Whether these will suit your purpose I cannot say.
Arrows extension
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: 29769
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Drawing a line with arrow heads

Postby Piet1952 » Tue Mar 06, 2012 1:11 am

Ok, thanks for your reply's
I think the way to work is the first reply:

I don't think there is a way to do it directly. Personally, I create small lines, as short as possible, to keep only the end arrow and duplicate them, move them above the main line and group the whole thing. NB: I understand that you want arrows not only at the end of the line but also in the middle.

Don't forget to use Shift + click when resizing the small lines, it keeps the initial direction of the line.


Just this: the lines I am using are all the same size, different colors, and different styles,
can i make the custom arrows smaller, so they are just seen like little hairs, as a figure of speech?
Thanks again, Piet
OpenOffice 3.3 Vista Home Premium
Piet1952
 
Posts: 5
Joined: Mon Mar 05, 2012 9:56 am

Re: Drawing a line with arrow heads

Postby Hagar Delest » Tue Mar 06, 2012 1:28 am

Of course you can, check the properties of the line, you can control the size of the arrows.
AOO 4.1.7 on Xubuntu 19.10 and 4.1.5 on Windows 10 (with winPenPack port).
User avatar
Hagar Delest
Moderator
 
Posts: 28593
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: [SOLVED]Drawing a line with arrow heads

Postby Piet1952 » Tue Mar 06, 2012 4:30 am

Thanks for the help!
OpenOffice 3.3 Vista Home Premium
Piet1952
 
Posts: 5
Joined: Mon Mar 05, 2012 9:56 am

Re: [Solved] Drawing a line with arrow heads

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

You can modify all defaults for object creation when setting values without having an object selected. E.g. with no object selected, choose the 'line' dialog. Select line width, arrow style and all you need as wanted. After leaving with OK this will be the defaults for drawing new objects. This also works e.g. with choosing fill style when no object is selected.
Then double-click on the line tool to start drawing lines. Each object generator button can be used with double-click if you do not only want to create a single object, but continued ones. In the line example, you can then draw as many lines as you want until you select another drawing tool.

HTH!
OpenOffice 3.3/3.4 on various systems
alg
 
Posts: 53
Joined: Tue Apr 03, 2012 5:02 pm

Re: [Solved] Drawing a line with arrow heads

Postby acknak » Tue Apr 03, 2012 7:35 pm

As I understood the question, the problem is not drawing lines with arrows at the end(s), but lines with arrows distributed throughout the length of the line--as used in logic or piping diagrams to indicate direction of flow.

With Draw, you can either snap together lines with arrows end-to-end, or add/place the interior arrows by hand.
AOO4/LO5 • Linux • Fedora 23
User avatar
acknak
Moderator
 
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: [Solved] Drawing a line with arrow heads

Postby alg » Wed Apr 04, 2012 5:47 pm

Upps, okay, sorry, I did not understand it. For drawing something like 'patterned' lines there is no direct support. But this is a nice idea for a feature. Is this in some form offered by other programs, and when yes, how? I'm thinking about how this could be offered intuitively. Maybe as some extension to the LineStyle...?
OpenOffice 3.3/3.4 on various systems
alg
 
Posts: 53
Joined: Tue Apr 03, 2012 5:02 pm

Re: [Solved] Drawing a line with arrow heads

Postby Lolo » Thu Jun 21, 2012 1:10 pm

Here is an easy way to change the size of the arrow end without changing the size of the line:
When the points are edited, do a right click on the line, and click on the top entry "line".
It opens a window where you can change separatly both the size of the line and the arrow.
Hope that helps you guys.
OpenOffice.org 3.2
Ubuntu 10.04
Lolo
 
Posts: 1
Joined: Thu Jun 21, 2012 1:04 pm

Re: [Solved] Drawing a line with arrow heads

Postby OldManRiver » Thu Jul 26, 2012 11:48 pm

All,

I see all this stuff about lines and arrows, but the capability doesn't even exist anywhere in the App.

There is no "Insert Line" option of any "Arrow" toolbar, nor any insert from the "Lines" toolbar.

Where are you all in la la land? Am I missing a plugin here?

OMR
OMR - UBUNTU 10.04 OPENOFFICE 3.2
OldManRiver
 
Posts: 1
Joined: Thu Jul 26, 2012 11:41 pm

Re: [Solved] Drawing a line with arrow heads

Postby Hagar Delest » Fri Jul 27, 2012 8:56 am

It's a very basic feature of Draw! Make sure the View>Toolbars>Drawing entry is checked. Then at bottom of the screen you should see the icons to create lines. Once the line is done, right click it to access the arrow options.

NB: latest version is Apache OpenOffice 3.4. If you want to install it, see: [Ubuntu] Installing OOo on Debian and Co.
AOO 4.1.7 on Xubuntu 19.10 and 4.1.5 on Windows 10 (with winPenPack port).
User avatar
Hagar Delest
Moderator
 
Posts: 28593
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: [Solved] Drawing a line with arrow heads

Postby acknak » Fri Jul 27, 2012 1:18 pm

Also in the Drawing toolbar, there are button-menus with several varieties of lines with arrowheads and block arrows.

Draw doesn't use an explicit "insert thing" interface. Instead, you just click on the drawing tool you want to use and click+drag in the drawing area.
AOO4/LO5 • Linux • Fedora 23
User avatar
acknak
Moderator
 
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: [Solved] Drawing a line with arrow heads

Postby alg » Wed Aug 01, 2012 12:24 pm

I found a way now. Create the polygon you want, set a line style as you want (e.g. 1 cm line parts, 0.5 cm gap). You need an arrow at one end, else the 'convert to Contour is not available. Use it. You get a group, ungroup it and delete the polygon which was created for the arrow. Select the polygon, use 'Split' from the context menu (not 'Break', this may create more lines than wanted for this purpose when using beziers). You now have a single object for each line segment, all selected. Set arrow at all of them as needed.
OpenOffice 3.3/3.4 on various systems
alg
 
Posts: 53
Joined: Tue Apr 03, 2012 5:02 pm


Return to Draw

Who is online

Users browsing this forum: No registered users and 3 guests