Issue 5023

Summary: WW8: (Unexplained) cropping and scaling in .doc not imported by writer
Product: Writer Reporter: lunix98 <baulv>
Component: codeAssignee: sven.jacobi
Status: CLOSED DUPLICATE QA Contact: issues@sw <issues>
Severity: Trivial    
Priority: P3 CC: issues
Version: OOo 1.0.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux, all   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Description Flags
MS Word97_sp2 documents with embedded graphs, tables, and png's.
Example .ppt file that shows the same effect imported into impress
Example .ppt file that shows the same effect imported into impress
show transparent bits, maybe this is relevent (doubtful)
refusing Caolan's background theory :-) none

Description lunix98 2002-05-18 19:23:54 UTC
This problem is old, reaching back to OO641, StarOffice5.2, and across Win32 and
The Word Processor garbles embedded graphics objects, even crashes the program.(
wants 200megs of RAM to work a 256k document).
 Abiword can open ONE of the embedded objects as a .png. This .png can be
exported from Abiword and Inserted > from file into a new OO document.
The document originates from a MS-Word97-sp2, generated by a macro from a
Dactron program.
Comment 1 lunix98 2002-05-18 19:26:20 UTC
Created attachment 1695 [details]
MS Word97_sp2 documents with embedded graphs, tables, and png's.
Comment 2 Joost Andrae 2002-05-19 12:43:47 UTC
JA->MRU: reassigned to you...
Comment 3 michael.ruess 2002-05-23 10:24:03 UTC
I was not able to reproduce a "high-memory-consumption" on loading
this doc. But many graphics didn't have content after import. This is
partly fixed in src656. Partly means, that there the content is
available, but is displayed much to small in its frame.
MRU->CMC: Is this more yours or SJ's code?
Comment 4 caolanm 2002-06-28 12:08:17 UTC
Some along the lines of the outline of the shapes in word are not
squares and we are using the outside bounding box of the shape and
word is using the inside bounding box. Thats a very speculative theory
at the moment, but theres little else. There shapes honestly are that
size and that shape.
Comment 5 caolanm 2002-07-18 10:54:02 UTC
Just retitling this so I can easier remember the problem...
Comment 6 caolanm 2003-02-06 16:23:25 UTC
This is a hard one, I still don't know why this is happening :-(
Forced to retarget into the future a bit.
Comment 7 caolanm 2003-07-17 12:18:56 UTC
Created attachment 7795 [details]
Example .ppt file that shows the same effect imported into impress
Comment 8 caolanm 2003-07-17 12:22:53 UTC
Created attachment 7796 [details]
Example .ppt file that shows the same effect imported into impress
Comment 9 caolanm 2003-07-17 13:17:55 UTC
Created attachment 7799 [details]
show transparent bits, maybe this is relevent (doubtful)
Comment 10 caolanm 2003-07-17 13:23:31 UTC
cmc->sj: I'm stumped. I don't see what's so special about these wmfs
that word sort of autoclips out the blank areas while we leave them in.
The same thing happens when I cut and paste the wmf into powerpoint
and import into impress, so its not a word specific thing, so it must
be something to do with how the wmf or perhaps some escher attribute.
But I saw no escher property when investigating which could create
such clipping.
Comment 11 sven.jacobi 2003-07-17 16:06:34 UTC
I also don't have an idea why these graphics are clipped, but I know
that this Issue is double to Issue 2584.

*** This issue has been marked as a duplicate of 2584 ***
Comment 12 caolanm 2003-07-17 16:16:12 UTC
My only guess was that if a wmf does not have a size set in the wmf
that the drawing gets clipped to the smallest nonbackground bounding
box. But that's only because that's what I see as output :-)
Comment 13 sven.jacobi 2003-07-17 16:41:09 UTC
Created attachment 7810 [details]
refusing Caolan's background theory :-)
Comment 14 sven.jacobi 2003-07-17 16:46:22 UTC
Have a look at my attachment, the red line is also clipped by Word,
this contradics your smallest non background box theory. It is a mystery. 
Comment 15 tamblyne 2003-11-01 04:05:50 UTC