ODF 1.2 defines for line the line cap styles butt, round and square. LibreOffice is missing this feature. It should be implemented. I will work on it.
Created attachment 54268 [details] This contains the changes up to now. It is far away from being finished. The file contains the changes I have made up to now. It is far away from being finished. The purpose of the file is to allow other developers to watch the work and to intervene if they think I should to it in a different way. [I know that the files LinCap.idl and xlncapit.hxx have a wrong license statement, that will be corrected in the end.]
Created attachment 54826 [details] Still nothing to commit but only to inform interested developers This is still not ready to commit, but only to inform interested developers. You can already see the line caps in editing mode, but they are not printed yet. Eventually added arrow heads are added in addition to the line caps. That is the same way browsers render such lines in svg. The caps are added to dashes, same as it is done in svg.
Created attachment 55030 [details] Next intermediate state
I believe the best approach here is to merge the work you did with Armin; is that right Regina ? :-) [ I'm still working on that ... here ]
Are you ready to take code with Apache License, Version 2.0? I have taken a diff from AOO, but have not tried to merge it into LO yet. Should I do it despite of license questions, so that all other merge conflicts are solved so far? Or what way is advisable?
Created attachment 61712 [details] technical correct patch, license review needed The attached patch has a wrong bug number in the comment, please correct it to fdo#43209 The patch brings the line cap feature from AOO3.4 to LO3.6. It is technical correct (hopefully). The whole patch is under Apache License 2.0. The patch is not completely done by me, but second author is Armin Le Grand, Armin.Le.Grand@me.com. Compared to AOO3.4 I had to make some minor technical changes to get it apply-able to LO3.6, e.g. sal_Bool -> bool. The patch does not contain lincens marks on the changes, because I do not know, if those are needed and if it is needed, in which form this has to be done. The two new files svx/inc/svx/xlncapit.hxx and offapi/com/sun/star/drawing/LineCap.idl have got Apache License 2.0 headers. I don't know whether this has to be changed to another header.
Accepting AL2.0 code at this time is not possible without new license headers, and clarity from existing committers on their licensing - unwinding that fully and carefully is a work in progress. Sorry for the delay.
Adding Michael to the loop.
So - I'll take this; I'm working towards it steadily with the re-basing work :-)
I guess this is done, can I close this issue?
Yes - thanks to Regina - this is indeed done for 4.0 :-)