[Libreoffice] definition of line caps for dashed lines

Thorsten Behrens thb at documentfoundation.org
Fri Dec 9 00:48:27 PST 2011


Regina Henschel wrote:
> So the question is, how should the new property linecap work on
> dashed lines? It is possible, that a document sets linecap = 'round'
> and dash style = 'rect', which are contradictory. I have found no
> rule in the ODF1.2 spec to solve it.
> 
Hi Regina,

nice catch, sounds like a defect in the spec to me - my take is,
dash style is superseded by the svg linecaps.

> Microsoft Office has a line property "Endetyp" (German) with values
> 'Flach', 'Rund', and 'Rechteck' which corresponds to the linecap
> property. Microsoft Office applies the property to each dash, but
> the caps are not added to the dashes. Rounding is cut of the flat
> size of the inner dashes and only added to the outer dashes.
> 
Do I get that right, you say MSO only applies the caps to the very
ends of the line? At least for MSO2007, I see round caps also on all
dash elements.

Cheers,

-- Thorsten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20111209/b7682d92/attachment.pgp>


More information about the LibreOffice mailing list