Issue 82518 - WMF import problems
Summary: WMF import problems
Status: CLOSED NOT_AN_OOO_ISSUE
Alias: None
Product: utilities
Classification: Unclassified
Component: code (show other issues)
Version: OOo 2.2.1
Hardware: All All
: P3 Trivial with 5 votes (vote)
Target Milestone: OOo 3.2
Assignee: sven.jacobi
QA Contact: Unknown
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-11 15:37 UTC by radekdoulik
Modified: 2009-09-28 20:11 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description radekdoulik 2007-10-11 15:37:16 UTC
Valek Filippov contacted me about the EMF+ import and he has nice summary of WMF
import problems in OOo. I am pasting his findings:

The report will be divided to sections so I'm listing bugs 'by sections'.
OOorg 2.2.1 was used. I'm going to check with 2.3 version soon.
--------------------------------------------------
Figures:
1. OOorg ignores Arc, Pie and Chord if coords were 'swapped'.
I made file in which left/right and top/bottom coords are exchanged.

2. RoundRect seems to be drawn with incorrect corner radius and line weight.

3. In PolyPolygones if there is no last closing contour line, OOorg
doesn't close it.

Pens & Brushes:
1. MS docs says that width has to be ignored for dashed lines (weird,
but MSOffice ignores dashes instead). OOorg uses both dashes and
width.
OOorg seems to scale dash/dot lengths in so way that it hard to see
line as dashed if its width is default or 1.

2.OOorg seems to ignore SetBKMode for pen (can be tested with dashed
line for example)

3. OOorg seems to ignore line Cap/Join info.
4. OOorg seems to ignore Palette colors.
5. Brush patterns and bitmap patterns is not implemented (can be
checked with fulltest.wmf from libwmf examples)
6. SetBKMode doesn't work for Brushes, SetBKColor was misinterpreted.

(so most likely SetBKMode is just ignored at all)

Fonts/Text:
1. In case of Escapement and Under/Overstriking OOorg make much longer
under/overstriking line than needed for text string.

2. 'Orientation' is interpreted as 'Escapement'
3. SetBKMode is not consistent in fulltest.wmf.
4. 'MS Symbol' encoding was not translated (can be tested with
p000001.wmf from libwmf examples).

5. I failed to test MS Cyrillic encoding translation, because OOorg
failed to open this testing file.
Comment 1 carsten.driesner 2007-10-12 07:33:20 UTC
cd->sj: Please take over.
Comment 2 radekdoulik 2007-12-18 14:59:13 UTC
More info from Valek, see his report there:

http://www.sk1project.org/modules.php?name=Report
Comment 3 davygrvy 2009-01-30 16:07:23 UTC
Any news on these issues being addressed?
Comment 4 davygrvy 2009-01-30 19:59:39 UTC
Full documentation of the WMF file format specification can be found at
http://download.microsoft.com/download/a/e/6/ae6e4142-aa58-45c6-8dcf-a657e5900cd3/%5BMS-WMF%5D.pdf
which was updated Jan 16, 2009
Comment 5 sven.jacobi 2009-03-12 15:19:00 UTC
accepted, nice test files on the web page.

Because of restrictions of our core not everything can be fixed, I think this
applies to the pen bk color for example, but I will fix as much as possible.

Comment 6 sven.jacobi 2009-03-12 17:12:11 UTC
justifying 
Comment 7 sven.jacobi 2009-03-12 17:14:55 UTC
I justified the rectangle for arc/pie and chord metaactions, so this is fixed
now. I also fixed the roundrectangle problem.

In our actual version we have problems to display polylines in metafiles, seems
to be an antialiasing problem, therefore I wrote issue 100158.

Comment 8 sven.jacobi 2009-09-28 14:40:37 UTC
I am sorry, I must close this issue because the webpage sk1project is no longer
providing testfiles for this issue. Please reopen, if you can refer to some
actual bugdocs.
Comment 9 sven.jacobi 2009-09-28 14:41:06 UTC
closed