Created attachment 115531 [details]
Draw and Writer documents illustrating line-style copy problem.
I've found that copy/pasting an object between Draw and Writer introduces distortion of the line-styles. I noticed this after making a complex diagram in Draw, then copying into Writer. It may seem a small defect, however I'm using line-styles do denote specific electrical signal types and inconsistency with dash/dot appearance is misleading.
Last minute testing shows that object line-styles move correctly between Draw and Impress, so it seems Writer is the odd one?
Draw --> Impress. No issues, object line-styles retain correct proportions and name attribute. Could copy back and forth all day with no issues.
Draw --> Writer
Results in a visual "compression" of the object line-style. The overall object dimensions are not affected, but the dash/dot sizing is altered. The line-style name is retained with the object.
Writer --> Draw
Appears ok visually, however the line-style name is stripped off.
STEPS TO REPRODUCE:
a. Create an object in Draw e.g. 1mm thick line, apply a line-style e.g. "Dashed", note the default has "Fit to Line Width" enabled.
b. Copy the object to Writer using Paste.
c. Observe visible compression of the line-style.
I've included a Draw & Writer document to illustrate the problem.
My understanding is that Draw, Writer, Impress etc. share the same "standard.sod" line-style config file, so should produce the same line-style results.
However, Writer creates line-style dash/dot length and space values which are consistently 1.76 times larger than that of Draw & Impress. Also, Writer seems to alter Draw's dash and space values and makes them the same thus changing the original mark/space ratio.
Created attachment 115532 [details]
Corrected version, Writer & Draw Line-style problem examples
(In reply to bugzilla from comment #1)
> Created attachment 115532 [details]
> Corrected version, Writer & Draw Line-style problem examples
I confirm, but I managed to find a duplicate and a workaround: paste special - draw8.
Win 7 Pro 64-bit, Version: 22.214.171.124
Build ID: 88805f81e9fe61362df02b9941de8e38a9b5fd16
*** This bug has been marked as a duplicate of bug 41422 ***