[Libreoffice-bugs] [Bug 101325] Problem with connector type in LibreOffice Draw

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Aug 30 22:35:44 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=101325

--- Comment #2 from Milan Oparnica <milan.opa at gmail.com> ---
This affects Impress too - Version of LO is 5.4.0.3 (Linux)

It seems that Connector is hard-coded to use the Arrow Style "Arrow" 
automatically when first put on the drawing/slide.

Assuming this, I've managed to make a workaround:

1. Click on menu "Format > Object and Shape > Line"

2. Click on tab "Arrow Styles"

3. Just click on button "Save arrow styles", you will be asked for a location
to save "standard.soe" XML configuration file. Default location is
~/.config/libreoffice/4/user/config. Save the file and remember the location.

4. Open the file with default plain text editor, or XML editor. There are a lot
of <draw:marker ... /> nodes in it.

5. The trick is that Connector always uses the arrow defined by node with
draw:name="Arrow". You can switch this name with any other node you want as
default Connector Arrow Style.

For example, I wanted the "Symmetric Arrow" to be used as default, so I
switched entries:

<draw:marker draw:name="Arrow" svg:viewBox="0 0 20 30" svg:d="M10 0l-10
30h20z"/>

and 

<draw:marker draw:name="Symmetric_20_Arrow" draw:display-name="Symmetric Arrow"
svg:viewBox="0 0 1131 902" svg:d="M564 0l-564 902h1131z"/>

to:

<draw:marker draw:name="Symmetric_20_Arrow" draw:display-name="Symmetric Arrow"
svg:viewBox="0 0 20 30" svg:d="M10 0l-10 30h20z"/>

and 

<draw:marker draw:name="Arrow" draw:display-name="Arrow" svg:viewBox="0 0 1131
902" svg:d="M564 0l-564 902h1131z"/>

I'm including the complete modified "standard.soe" file in attachment.

Now I have my Connectors draw out as desired.

This is not a replacement for full implementation of Style Management with
Connectors, but it will make waiting for it to happen easier.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170830/fc16f7ea/attachment.html>


More information about the Libreoffice-bugs mailing list