Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | [From Symphony]a pic in the .doc file cannot display in Aoo 3.4 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Writer | Reporter: | louqle <louqingle> | ||||||||
Component: | open-import | Assignee: | AOO issues mailing list <issues> | ||||||||
Status: | CLOSED FIXED | QA Contact: | |||||||||
Severity: | Normal | ||||||||||
Priority: | P3 | CC: | Armin.Le.Grand, bjdujing, debin.lei, liushenf | ||||||||
Version: | 3.4.0 | ||||||||||
Target Milestone: | 4.0.0 | ||||||||||
Hardware: | PC | ||||||||||
OS: | All | ||||||||||
Issue Type: | DEFECT | Latest Confirmation in: | --- | ||||||||
Developer Difficulty: | --- | ||||||||||
Attachments: |
|
I am working on it Root cause found: the sample file was a special one. Normally one kind of picture is marked with 0x8 0x1 in binary, while in this sample doc the picture field is 0x1 0x1. The code did not work for 0x1 0x1 case. The solution is to process the special case before the usually one. When we read the 0x1, will try to check the next if 0x1. If yes, run as normal pic load path, more detail please check the code. Created attachment 78336 [details]
patch for the issue
Created attachment 78363 [details]
update the patch
ALG: Added code, checked, built and tested. Looks good so far, it loads the missing picture. AFAIK this should be good. verified on the AOO3.5_r1374181 |
Created attachment 77720 [details] picture in .doc file open the sample file in Aoo 3.4, the picture cannot display