[Libreoffice-bugs] [Bug 126649] Line style presets arrangement and additional one.
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Thu Aug 8 10:27:34 UTC 2019
https://bugs.documentfoundation.org/show_bug.cgi?id=126649
--- Comment #10 from Regina Henschel <rb.henschel at t-online.de> ---
(In reply to andreas_k from comment #7)
> Is there an big difference between boarder style and linestyle from an UX
> perspective? Can we have the same boarder line styles also for draw line
> styles?
>
> Cause in general the boarder line styles will work also for drawing line
> styles. I would add only some more for drawing but use the same label if the
> boarder and drawing line styles are the same.
There are large differences between line style and border style.
Border styles are written to ODF file as fo:border attribute. The definition
refers to XSL and that refers to
https://www.w3.org/TR/CSS2/box.html#value-def-border-style. Styles are defined
by keywords: none, hidden, dotted, dashed, solid, double, groove, ridge, inset,
outset. OOXML uses keywords (27!) too, see section 18.18.3 ST_BorderStyle
(Border Line Styles) in ISO/IEC 29500-1:2016(E). These styles are applicable to
text portions, tables and pages.
The line styles are written to ODF as <draw:stroke-dash> element. Graphical
objects have the styling aspects "stroke" for their lines and "fill" for their
area. Line styles format the "stroke". They are only applicable to objects,
which have a "stroke". Similar in OOXML, there it is the custDash or prstDash
element. The OOXML preset styles are labeled: solid, dot, dash, lgDash,
dashDot, lgDashDot, lgDashDotDot, sysDash, sysDot, sysDashDot and sysDashDotDot
in file format (not in UI). Their metric is illustrated in L.4.8.5.2 Line Dash
Properties in the OOXML spec.
So "border line styles" never work for "drawing line styles". Of cause you will
have styles in both systems, that look similar.
--
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/20190808/ede28bc3/attachment.html>
More information about the Libreoffice-bugs
mailing list