[Libreoffice-bugs] [Bug 123903] FILESAVE DOCX dashed and dotted line styles not saved in DOCX (see comment 5)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Aug 30 18:04:17 UTC 2019


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

Regina Henschel <rb.henschel at t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rb.henschel at t-online.de

--- Comment #7 from Regina Henschel <rb.henschel at t-online.de> ---
This has two problems:

1. How our own styles are exported to .docx (and other OOXML).
2. How our UI treats dash styles, which are not included in the file
"standard.sod".

for 1.
MS Office can only handle dash styles, which have relative values for the
length of a dash or space, e.g. 300% of line width. But some of our dash styles
have fixed values, e.g. dash length 0.051cm. Those have no equivalent in MS
Office.

MS Office has a preset of dash styles or can use custom dash styles. Our dash
styles have no corresponding preset style. We currently map some of our dash
styles to a roughly fitting MS Office preset style. I am currently examine a
solution to write our styles as custom dash styles. That looks really better,
but has the problem, that MS Office has no UI for manipulating custom styles.
Even not all preset styles are available in the UI of MS Office.

Besides that, there is bug 127207. The error is that the dashes are too long in
Writer for dash definitions with relative values and because docx can only
handle relative values, the roundtrip will fail for dash definitions with fixed
values. And "2 Dots 3 Dashes" is such a kind.

And there is the bug, that for styles which are not mapped to a preset style,
currently a hairline (width=0) is always exported as solid line. I have not
found a bugreport for that. But that problem is already fixed in my work.

for 2.
The line style dialog can only handle one palette at a time and you need to
load a palette each time you work on the document. After restart always the
"standard.sod" is present.

If a shape has a style applied, the style definition is in the document. But
the line style dialog shows an empty field, if this style is not included in
the current palette. The sidebar shows even "None" is that case. That happens
currently, if you open a document, that was originally created in MS Office and
therefore uses a MS Office preset style.

You should decide, for which problem, you want this bug report, and write a new
bugreport for the other problem.

-- 
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/20190830/fedc5285/attachment-0001.html>


More information about the Libreoffice-bugs mailing list