Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | [From Symphony]Shape border and fill color lost if open the ppt doc via AOO | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Impress | Reporter: | Li Feng Wang <phoenix.wanglf> | ||||||
Component: | formatting | Assignee: | AOO issues mailing list <issues> | ||||||
Status: | CLOSED FIXED | QA Contact: | |||||||
Severity: | Normal | ||||||||
Priority: | P2 | CC: | awf.aoo, lijianyuan1983, liushenf, louqingle | ||||||
Version: | 3.4.0 | ||||||||
Target Milestone: | 4.0.0 | ||||||||
Hardware: | PC | ||||||||
OS: | All | ||||||||
Issue Type: | DEFECT | Latest Confirmation in: | --- | ||||||
Developer Difficulty: | --- | ||||||||
Attachments: |
|
Description
Li Feng Wang
2012-06-07 09:57:12 UTC
I am investigating this issue Root cause: Generally speaking, there are two kinds of shapes which are indicated by "Instance" section in binary file. "0" means custom shape. "1~202" mean auto shape. See more details in "MS-ODRAW.odf". The main difference for the two kinds of shape is custom shape must have "path" properties for illustrating. So two key properties "pSegmentInfo" and "pVertices" must exist for custom shape. For shapes in sample file, their instances do not belong to any kinds of above. It is mso_sptNil for which shape properties will not be set into core function. Solution: The sample shapes are a little weird. I cannot create such kind of shapes. Maybe they are obtained from some transformation(filter). So here just add a condition to handle this kind of shape. The condition is to check whether the key property "pVertices" exists or not. Created attachment 78592 [details]
Patch for this issue
Comment on attachment 78592 [details]
Patch for this issue
Reviewed and tested, OK.
SVN revision is 1359095. verified on XP SP3 and Ubuntu 12.04 against trunk build 1374181 Verified on xp, Ubuntu, win7,mac,win7-64,Vista,suse,redhat, SLED 11 SP1 64 bit, all pass, close this bug |