Apache OpenOffice (AOO) Bugzilla – Issue 75962
WW8: export picture crop with minus value
Last modified: 2013-08-07 14:38:26 UTC
if picture crop is minus value, exported ".doc" file is not opened normally by Microsoft Word. 1. Make new text document. 2. Add picture. 3. Show "Picture" dialog and show "Crop" tab. 4. Set "Left" to "-100". 5. Save "Microsoft Word 97/2000/XP (.doc)"
Created attachment 44099 [details] sample document
Created attachment 44100 [details] patch
SwBasicEscherEx::ToFract16 (source/filter/ww8/wrtw8esh.cxx) (nVal / 65536) cast to UINT32 by compiler (arithmetic conversion).
MRU->HBRINKM: graphics having a negative value for cropping will be exported wrongly to WW8 format. Maybe attached patch could solve this. This could also be related to issue 60335 and issue 75556.
Evaluating
Created document with cropped picture like described above and saving as .doc with patched office. Opening .doc in Word 2007 shows scrambled image.
Henning, so does that mean that the patch doesn't work?
ergosoft: please review the patch
ergosoft: any news on that? hbrinkm: can you please attach a test document?
ergosoft: any news on this?
ergosoft: ok, not that important for you, no duplicates, thus moving target.
As the patch obviously doesn't work and due to inactivity of the submitter I think we can treat the patch as invalid. As the bug of course is still present I set the type to "Defect".
Reset assignee on issues not touched by assignee in more than 2000 days.