incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 119888] [From Symphony]Shape border and fill color lost if open the ppt doc via AOO
Date Tue, 03 Jul 2012 09:25:59 GMT
https://issues.apache.org/ooo/show_bug.cgi?id=119888

--- Comment #2 from Jianyuan Li <lijianyuan1983@gmail.com> ---
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Mime
View raw message